diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/McpFeatureCollectionDetailPrompt.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/McpFeatureCollectionDetailPrompt.cs new file mode 100644 index 00000000000..22993175c5b --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/McpFeatureCollectionDetailPrompt.cs @@ -0,0 +1,31 @@ +using ChilliCream.Nitro.CommandLine.Client; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp.Components; + +internal sealed class McpFeatureCollectionDetailPrompt +{ + private readonly IMcpFeatureCollectionDetailPrompt_McpFeatureCollection _data; + + private McpFeatureCollectionDetailPrompt(IMcpFeatureCollectionDetailPrompt_McpFeatureCollection data) + { + _data = data; + } + + public McpFeatureCollectionDetailPromptResult ToObject(string[] formats) + { + return new McpFeatureCollectionDetailPromptResult + { + Id = _data.Id, + Name = _data.Name + }; + } + + public static McpFeatureCollectionDetailPrompt From(IMcpFeatureCollectionDetailPrompt_McpFeatureCollection data) => new(data); + + public class McpFeatureCollectionDetailPromptResult + { + public required string Id { get; init; } + + public required string Name { get; init; } + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/McpFeatureCollectionDetailPrompt.graphql b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/McpFeatureCollectionDetailPrompt.graphql new file mode 100644 index 00000000000..7cbd7fe5a0c --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/McpFeatureCollectionDetailPrompt.graphql @@ -0,0 +1,4 @@ +fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + id + name +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/SelectMcpFeatureCollectionPrompt.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/SelectMcpFeatureCollectionPrompt.cs new file mode 100644 index 00000000000..2507bf35566 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/SelectMcpFeatureCollectionPrompt.cs @@ -0,0 +1,37 @@ +using ChilliCream.Nitro.CommandLine.Client; +using ChilliCream.Nitro.CommandLine.Helpers; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp.Components; + +public sealed class SelectMcpFeatureCollectionPrompt(IApiClient client, string apiId) +{ + private string _title = "Select an MCP Feature Collection from the list below."; + + public SelectMcpFeatureCollectionPrompt Title(string title) + { + _title = title; + return this; + } + + public async Task RenderAsync( + IAnsiConsole console, + CancellationToken cancellationToken) + { + var paginationContainer = PaginationContainer.Create( + (after, first, ct) + => client.SelectMcpFeatureCollectionPromptQuery.ExecuteAsync(apiId, after, first, ct), + p => p.ApiById?.McpFeatureCollections?.PageInfo, + p => p.ApiById?.McpFeatureCollections?.Edges); + + var selectedEdge = await PagedSelectionPrompt + .New(paginationContainer) + .Title(_title) + .UseConverter(x => x.Node.Name) + .RenderAsync(console, cancellationToken); + + return selectedEdge?.Node; + } + + public static SelectMcpFeatureCollectionPrompt New(IApiClient client, string apiId) + => new(client, apiId); +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/SelectMcpFeatureCollectionPrompt.graphql b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/SelectMcpFeatureCollectionPrompt.graphql new file mode 100644 index 00000000000..3d4b507707c --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Component/SelectMcpFeatureCollectionPrompt.graphql @@ -0,0 +1,25 @@ +query SelectMcpFeatureCollectionPromptQuery($apiId: ID!, $after: String, $first: Int) { + apiById(id: $apiId) { + mcpFeatureCollections(after: $after, first: $first) { + edges { + ...SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge + } + pageInfo { + ...PageInfo + } + } + } +} + +fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { + cursor + node { + ...SelectMcpFeatureCollectionPrompt_McpFeatureCollection + } +} + +fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollection on McpFeatureCollection { + id + name + ...McpFeatureCollectionDetailPrompt_McpFeatureCollection +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/CreateMcpFeatureCollectionCommand.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/CreateMcpFeatureCollectionCommand.cs new file mode 100644 index 00000000000..74504794734 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/CreateMcpFeatureCollectionCommand.cs @@ -0,0 +1,70 @@ +using System.CommandLine.Invocation; +using ChilliCream.Nitro.CommandLine.Client; +using ChilliCream.Nitro.CommandLine.Commands.Apis.Inputs; +using ChilliCream.Nitro.CommandLine.Commands.Mcp.Components; +using ChilliCream.Nitro.CommandLine.Commands.Mcp.Options; +using ChilliCream.Nitro.CommandLine.Configuration; +using ChilliCream.Nitro.CommandLine.Helpers; +using ChilliCream.Nitro.CommandLine.Options; +using ChilliCream.Nitro.CommandLine.Results; +using static ChilliCream.Nitro.CommandLine.ThrowHelper; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp; + +internal sealed class CreateMcpFeatureCollectionCommand : Command +{ + public CreateMcpFeatureCollectionCommand() : base("create") + { + Description = "Creates a new MCP Feature Collection"; + + AddOption(Opt.Instance); + AddOption(Opt.Instance); + + this.SetHandler( + ExecuteAsync, + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Bind.FromServiceProvider()); + } + + private static async Task ExecuteAsync( + InvocationContext context, + IAnsiConsole console, + IApiClient client, + CancellationToken cancellationToken) + { + console.WriteLine(); + console.WriteLine("Creating an MCP Feature Collection"); + console.WriteLine(); + + const string apiMessage = "For which api do you want to create an MCP Feature Collection?"; + var apiId = await context.GetOrSelectApiId(apiMessage); + + var name = await context + .OptionOrAskAsync("Name", Opt.Instance, cancellationToken); + + var input = new CreateMcpFeatureCollectionInput { Name = name, ApiId = apiId }; + var result = + await client.CreateMcpFeatureCollectionCommandMutation.ExecuteAsync(input, cancellationToken); + + console.EnsureNoErrors(result); + var data = console.EnsureData(result); + console.PrintErrorsAndExit(data.CreateMcpFeatureCollection.Errors); + + var createdMcpFeatureCollection = data.CreateMcpFeatureCollection.McpFeatureCollection; + if (createdMcpFeatureCollection is null) + { + throw Exit("Could not create MCP Feature Collection."); + } + + console.OkLine($"MCP Feature Collection {createdMcpFeatureCollection.Name.AsHighlight()} created."); + + if (createdMcpFeatureCollection is IMcpFeatureCollectionDetailPrompt_McpFeatureCollection detail) + { + context.SetResult(McpFeatureCollectionDetailPrompt.From(detail).ToObject([])); + } + + return ExitCodes.Success; + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/CreateMcpFeatureCollectionCommand.graphql b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/CreateMcpFeatureCollectionCommand.graphql new file mode 100644 index 00000000000..742c285f32b --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/CreateMcpFeatureCollectionCommand.graphql @@ -0,0 +1,18 @@ +mutation CreateMcpFeatureCollectionCommandMutation($input: CreateMcpFeatureCollectionInput!) { + createMcpFeatureCollection(input: $input) { + mcpFeatureCollection { + ...CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection + } + errors { + ...Error + ...ApiNotFoundError + ...UnauthorizedOperation + } + } +} + +fragment CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection on McpFeatureCollection { + name + id + ...McpFeatureCollectionDetailPrompt_McpFeatureCollection +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/DeleteMcpFeatureCollectionCommand.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/DeleteMcpFeatureCollectionCommand.cs new file mode 100644 index 00000000000..1d13a61a3bd --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/DeleteMcpFeatureCollectionCommand.cs @@ -0,0 +1,112 @@ +using System.CommandLine.Invocation; +using ChilliCream.Nitro.CommandLine.Arguments; +using ChilliCream.Nitro.CommandLine.Client; +using ChilliCream.Nitro.CommandLine.Commands.Apis.Components; +using ChilliCream.Nitro.CommandLine.Commands.Mcp.Components; +using ChilliCream.Nitro.CommandLine.Configuration; +using ChilliCream.Nitro.CommandLine.Helpers; +using ChilliCream.Nitro.CommandLine.Options; +using ChilliCream.Nitro.CommandLine.Results; +using ChilliCream.Nitro.CommandLine.Services.Sessions; +using static ChilliCream.Nitro.CommandLine.ThrowHelper; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp; + +internal sealed class DeleteMcpFeatureCollectionCommand : Command +{ + public DeleteMcpFeatureCollectionCommand() : base("delete") + { + Description = "Deletes an MCP Feature Collection"; + + AddOption(Opt.Instance); + AddArgument(Opt.Instance); + + this.SetHandler( + ExecuteAsync, + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Opt.Instance, + Bind.FromServiceProvider()); + } + + private static async Task ExecuteAsync( + InvocationContext context, + IAnsiConsole console, + IApiClient client, + string? mcpFeatureCollectionId, + CancellationToken cancellationToken) + { + console.WriteLine(); + console.WriteLine("Deleting an MCP Feature Collection"); + console.WriteLine(); + + const string apiMessage = "For which api do you want to delete an MCP Feature Collection?"; + const string mcpFeatureCollectionMessage = "Which MCP Feature Collection do you want to delete?"; + + if (mcpFeatureCollectionId is null) + { + if (!console.IsHumanReadable()) + { + throw Exit("The MCP Feature Collection id is required in non-interactive mode."); + } + + var workspaceId = context.RequireWorkspaceId(); + + var selectedApi = await SelectApiPrompt + .New(client, workspaceId) + .Title(apiMessage) + .RenderAsync(console, cancellationToken) ?? throw NoApiSelected(); + + var apiId = selectedApi.Id; + + var selectedMcpFeatureCollection = await SelectMcpFeatureCollectionPrompt + .New(client, apiId) + .Title(mcpFeatureCollectionMessage) + .RenderAsync(console, cancellationToken) ?? throw NoMcpFeatureCollectionSelected(); + + console.WriteLine("Selected MCP Feature Collection: " + selectedMcpFeatureCollection.Name); + + mcpFeatureCollectionId = selectedMcpFeatureCollection.Id; + console.OkQuestion(mcpFeatureCollectionMessage, mcpFeatureCollectionId); + } + else + { + console.OkQuestion(mcpFeatureCollectionMessage, mcpFeatureCollectionId); + } + + var shouldDelete = await context.ConfirmWhenNotForced( + $"Do you want to delete the MCP Feature Collection with the id {mcpFeatureCollectionId}?" + .EscapeMarkup(), + cancellationToken); + + if (!shouldDelete) + { + console.OkLine("Aborted."); + return ExitCodes.Success; + } + + var input = new DeleteMcpFeatureCollectionByIdInput { McpFeatureCollectionId = mcpFeatureCollectionId }; + var result = + await client.DeleteMcpFeatureCollectionByIdCommandMutation.ExecuteAsync(input, cancellationToken); + + console.EnsureNoErrors(result); + var data = console.EnsureData(result); + console.PrintErrorsAndExit(data.DeleteMcpFeatureCollectionById.Errors); + + var deletedMcpFeatureCollection = data.DeleteMcpFeatureCollectionById.McpFeatureCollection; + if (deletedMcpFeatureCollection is null) + { + throw Exit("Could not delete the MCP Feature Collection."); + } + + console.OkLine($"MCP Feature Collection {deletedMcpFeatureCollection.Name.AsHighlight()} was deleted."); + + if (deletedMcpFeatureCollection is IMcpFeatureCollectionDetailPrompt_McpFeatureCollection detail) + { + context.SetResult(McpFeatureCollectionDetailPrompt.From(detail).ToObject([])); + } + + return ExitCodes.Success; + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/DeleteMcpFeatureCollectionCommand.graphql b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/DeleteMcpFeatureCollectionCommand.graphql new file mode 100644 index 00000000000..5d80ee5b36f --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/DeleteMcpFeatureCollectionCommand.graphql @@ -0,0 +1,20 @@ +mutation DeleteMcpFeatureCollectionByIdCommandMutation( + $input: DeleteMcpFeatureCollectionByIdInput! +) { + deleteMcpFeatureCollectionById(input: $input) { + mcpFeatureCollection { + ...DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection + } + errors { + ...Error + ...McpFeatureCollectionNotFoundError + ...UnauthorizedOperation + } + } +} + +fragment DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection on McpFeatureCollection { + name + id + ...McpFeatureCollectionDetailPrompt_McpFeatureCollection +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ListMcpFeatureCollectionCommand.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ListMcpFeatureCollectionCommand.cs new file mode 100644 index 00000000000..71a09813bc5 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ListMcpFeatureCollectionCommand.cs @@ -0,0 +1,105 @@ +using System.CommandLine.Invocation; +using ChilliCream.Nitro.CommandLine.Client; +using ChilliCream.Nitro.CommandLine.Commands.Apis.Inputs; +using ChilliCream.Nitro.CommandLine.Commands.Mcp.Components; +using ChilliCream.Nitro.CommandLine.Configuration; +using ChilliCream.Nitro.CommandLine.Helpers; +using ChilliCream.Nitro.CommandLine.Options; +using ChilliCream.Nitro.CommandLine.Results; +using static ChilliCream.Nitro.CommandLine.ThrowHelper; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp; + +internal sealed class ListMcpFeatureCollectionCommand : Command +{ + public ListMcpFeatureCollectionCommand() : base("list") + { + Description = "Lists all MCP Feature Collections of an API"; + + AddOption(Opt.Instance); + AddOption(Opt.Instance); + + this.SetHandler( + ExecuteAsync, + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Bind.FromServiceProvider()); + } + + private static async Task ExecuteAsync( + InvocationContext context, + IAnsiConsole console, + IApiClient client, + CancellationToken ct) + { + if (console.IsHumanReadable()) + { + return await RenderInteractiveAsync(context, console, client, ct); + } + + return await RenderNonInteractiveAsync(context, console, client, ct); + } + + private static async Task RenderInteractiveAsync( + InvocationContext context, + IAnsiConsole console, + IApiClient client, + CancellationToken ct) + { + const string apiMessage = "For which API do you want to list the MCP Feature Collections?"; + var apiId = await context.GetOrSelectApiId(apiMessage); + + var container = PaginationContainer + .Create((after, first, ct) => + client.ListMcpFeatureCollectionCommandQuery.ExecuteAsync(apiId, after, first, ct), + static p => (p.Node as IListMcpFeatureCollectionCommandQuery_Node_Api)?.McpFeatureCollections?.PageInfo, + static p => (p.Node as IListMcpFeatureCollectionCommandQuery_Node_Api)?.McpFeatureCollections?.Edges) + .PageSize(10); + + var api = await PagedTable + .From(container) + .Title("MCP Feature Collections of api") + .AddColumn("Id", x => x.Node.Id) + .AddColumn("Name", x => x.Node.Name) + .RenderAsync(console, ct); + + if (api?.Node is IMcpFeatureCollectionDetailPrompt_McpFeatureCollection node) + { + context.SetResult(McpFeatureCollectionDetailPrompt.From(node).ToObject([])); + } + + return ExitCodes.Success; + } + + private static async Task RenderNonInteractiveAsync( + InvocationContext context, + IAnsiConsole console, + IApiClient client, + CancellationToken ct) + { + var apiId = context.ParseResult.GetValueForOption(Opt.Instance); + if (apiId is null) + { + throw Exit("The api id is required in non-interactive mode."); + } + + var cursor = context.ParseResult.GetValueForOption(Opt.Instance); + var result = await client + .ListMcpFeatureCollectionCommandQuery + .ExecuteAsync(apiId, cursor, 10, ct); + + console.EnsureNoErrors(result); + + var endCursor = (result.Data?.Node as IListMcpFeatureCollectionCommandQuery_Node_Api)?.McpFeatureCollections?.PageInfo + .EndCursor; + + var items = (result.Data?.Node as IListMcpFeatureCollectionCommandQuery_Node_Api)?.McpFeatureCollections?.Edges?.Select(x => + McpFeatureCollectionDetailPrompt.From(x.Node).ToObject([])) + .ToArray() ?? []; + + context.SetResult(new PaginatedListResult(items, endCursor)); + + return ExitCodes.Success; + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ListMcpFeatureCollectionCommand.graphql b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ListMcpFeatureCollectionCommand.graphql new file mode 100644 index 00000000000..5c97430418f --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ListMcpFeatureCollectionCommand.graphql @@ -0,0 +1,27 @@ +query ListMcpFeatureCollectionCommandQuery($apiId: ID!, $after: String, $first: Int) { + node(id: $apiId) { + ... on Api { + mcpFeatureCollections(first: $first, after: $after) { + edges { + ...ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge + } + pageInfo { + ...PageInfo + } + } + } + } +} + +fragment ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { + cursor + node { + ...ListMcpFeatureCollectionCommandQuery_McpFeatureCollection + } +} + +fragment ListMcpFeatureCollectionCommandQuery_McpFeatureCollection on McpFeatureCollection { + id + name + ...McpFeatureCollectionDetailPrompt_McpFeatureCollection +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/McpCommand.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/McpCommand.cs new file mode 100644 index 00000000000..04744b17141 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/McpCommand.cs @@ -0,0 +1,18 @@ +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp; + +internal sealed class McpCommand : Command +{ + public McpCommand() : base("mcp") + { + Description = "Manage MCP Feature Collections"; + + this.AddNitroCloudDefaultOptions(); + + AddCommand(new CreateMcpFeatureCollectionCommand()); + AddCommand(new DeleteMcpFeatureCollectionCommand()); + AddCommand(new ListMcpFeatureCollectionCommand()); + AddCommand(new UploadMcpFeatureCollectionCommand()); + AddCommand(new PublishMcpFeatureCollectionCommand()); + AddCommand(new ValidateMcpFeatureCollectionCommand()); + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/McpFeatureCollectionHelpers.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/McpFeatureCollectionHelpers.cs new file mode 100644 index 00000000000..c1f5967bc09 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/McpFeatureCollectionHelpers.cs @@ -0,0 +1,75 @@ +using System.Text; +using System.Text.Json; +using HotChocolate.Adapters.Mcp.Packaging; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp; + +internal static class McpFeatureCollectionHelpers +{ + public static async Task BuildMcpFeatureCollectionArchive( + IEnumerable promptFiles, + IEnumerable toolFiles, + CancellationToken cancellationToken) + { + var archiveStream = new MemoryStream(); + var collectionArchive = McpFeatureCollectionArchive.Create(archiveStream, leaveOpen: true); + + await collectionArchive.SetArchiveMetadataAsync( + new ArchiveMetadata(), + cancellationToken); + + foreach (var promptFile in promptFiles) + { + if (!Path.GetExtension(promptFile).Equals(".json", StringComparison.OrdinalIgnoreCase)) + { + continue; + } + + var promptName = Path.GetFileNameWithoutExtension(promptFile); + await using var settingsStream = File.OpenRead(promptFile); + var settings = await JsonDocument.ParseAsync(settingsStream, cancellationToken: cancellationToken); + + await collectionArchive.AddPromptAsync(promptName, settings, cancellationToken); + } + + foreach (var toolFile in toolFiles) + { + if (!Path.GetExtension(toolFile).Equals(".graphql", StringComparison.OrdinalIgnoreCase)) + { + continue; + } + + var toolName = Path.GetFileNameWithoutExtension(toolFile); + var documentBytes = Encoding.UTF8.GetBytes(await File.ReadAllTextAsync(toolFile, cancellationToken)); + var settingsFile = Path.ChangeExtension(toolFile, ".json"); + var viewFile = Path.ChangeExtension(toolFile, ".html"); + + JsonDocument? settings = null; + if (File.Exists(settingsFile)) + { + await using var settingsStream = File.OpenRead(settingsFile); + settings = await JsonDocument.ParseAsync(settingsStream, cancellationToken: cancellationToken); + } + + byte[]? view = null; + if (File.Exists(viewFile)) + { + view = await File.ReadAllBytesAsync(viewFile, cancellationToken); + } + + await collectionArchive.AddToolAsync( + toolName, + documentBytes, + settings, + view, + cancellationToken); + } + + await collectionArchive.CommitAsync(cancellationToken); + collectionArchive.Dispose(); + + archiveStream.Position = 0; + + return archiveStream; + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpFeatureCollectionIdOption.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpFeatureCollectionIdOption.cs new file mode 100644 index 00000000000..3227020e79d --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpFeatureCollectionIdOption.cs @@ -0,0 +1,13 @@ +using ChilliCream.Nitro.CommandLine.Options; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp.Options; + +internal sealed class McpFeatureCollectionIdOption : Option +{ + public McpFeatureCollectionIdOption() : base("--mcp-feature-collection-id") + { + Description = "The id of the MCP Feature Collection"; + IsRequired = true; + this.DefaultFromEnvironmentValue("MCP_FEATURE_COLLECTION_ID"); + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpFeatureCollectionNameOption.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpFeatureCollectionNameOption.cs new file mode 100644 index 00000000000..89066f398a2 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpFeatureCollectionNameOption.cs @@ -0,0 +1,13 @@ +using ChilliCream.Nitro.CommandLine.Options; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp.Options; + +internal sealed class McpFeatureCollectionNameOption : Option +{ + public McpFeatureCollectionNameOption() : base("--name") + { + Description = "The name of the MCP Feature Collection"; + IsRequired = false; + this.DefaultFromEnvironmentValue("MCP_FEATURE_COLLECTION_NAME"); + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpPromptFilePatternOption.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpPromptFilePatternOption.cs new file mode 100644 index 00000000000..af17418966a --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpPromptFilePatternOption.cs @@ -0,0 +1,12 @@ +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp.Options; + +public class McpPromptFilePatternOption: Option> +{ + public McpPromptFilePatternOption() : base("--prompt-pattern") + { + Description = "One or more file patterns to locate MCP prompt definition files (*.json)."; + IsRequired = false; + + AddAlias("-p"); + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpToolFilePatternOption.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpToolFilePatternOption.cs new file mode 100644 index 00000000000..aa4e606a0d0 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/Options/McpToolFilePatternOption.cs @@ -0,0 +1,12 @@ +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp.Options; + +public class McpToolFilePatternOption: Option> +{ + public McpToolFilePatternOption() : base("--tool-pattern") + { + Description = "One or more file patterns to locate MCP tool definition files (*.graphql)."; + IsRequired = false; + + AddAlias("-t"); + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/PublishMcpFeatureCollectionCommand.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/PublishMcpFeatureCollectionCommand.cs new file mode 100644 index 00000000000..9ca43132551 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/PublishMcpFeatureCollectionCommand.cs @@ -0,0 +1,178 @@ +using System.Reactive; +using System.Reactive.Linq; +using System.Reactive.Subjects; +using ChilliCream.Nitro.CommandLine.Client; +using ChilliCream.Nitro.CommandLine.Commands.Mcp.Options; +using ChilliCream.Nitro.CommandLine.Configuration; +using ChilliCream.Nitro.CommandLine.Helpers; +using ChilliCream.Nitro.CommandLine.Options; +using StrawberryShake; +using static ChilliCream.Nitro.CommandLine.ThrowHelper; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp; + +internal sealed class PublishMcpFeatureCollectionCommand : Command +{ + public PublishMcpFeatureCollectionCommand() : base("publish") + { + Description = "Publish an MCP Feature Collection version to a stage"; + + AddOption(Opt.Instance); + AddOption(Opt.Instance); + AddOption(Opt.Instance); + AddOption(Opt.Instance); + AddOption(Opt.Instance); + + this.SetHandler( + ExecuteAsync, + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Opt.Instance, + Opt.Instance, + Opt.Instance, + Opt.Instance, + Opt.Instance, + Bind.FromServiceProvider()); + } + + private static async Task ExecuteAsync( + IAnsiConsole console, + IApiClient client, + string tag, + string stage, + string mcpFeatureCollectionId, + bool force, + bool waitForApproval, + CancellationToken ct) + { + console.Title( + $"Publish MCP Feature Collection with tag {tag.EscapeMarkup()} to {stage.EscapeMarkup()}"); + + var committed = false; + + if (console.IsHumanReadable()) + { + await console + .Status() + .Spinner(Spinner.Known.BouncingBar) + .SpinnerStyle(Style.Parse("green bold")) + .StartAsync("Publishing...", PublishMcpFeatureCollection); + } + else + { + await PublishMcpFeatureCollection(null); + } + + return committed ? ExitCodes.Success : ExitCodes.Error; + + async Task PublishMcpFeatureCollection(StatusContext? ctx) + { + var input = new PublishMcpFeatureCollectionInput + { + McpFeatureCollectionId = mcpFeatureCollectionId, + Stage = stage, + Tag = tag, + WaitForApproval = waitForApproval + }; + + if (force) + { + input = input with { Force = true }; + console.Log("[yellow]Force push is enabled[/]"); + } + + console.Log("Create publish request"); + + var requestId = await PublishMcpFeatureCollectionAsync(console, client, input, ct); + + console.Log($"Publish request created [grey](ID: {requestId.EscapeMarkup()})[/]"); + + using var stopSignal = new Subject(); + + var subscription = client.PublishMcpFeatureCollectionCommandSubscription + .Watch(requestId, ExecutionStrategy.NetworkOnly) + .TakeUntil(stopSignal); + + await foreach (var x in subscription.ToAsyncEnumerable().WithCancellation(ct)) + { + if (x.Errors is { Count: > 0 } errors) + { + console.PrintErrorsAndExit(errors); + throw Exit("No request id returned"); + } + + switch (x.Data?.OnMcpFeatureCollectionVersionPublishingUpdate) + { + case IProcessingTaskIsQueued v: + ctx?.Status( + $"Your request is queued. The current position in the queue is {v.QueuePosition}."); + break; + + case IMcpFeatureCollectionVersionPublishFailed { Errors: var mcpFeatureCollectionErrors }: + console.ErrorLine("MCP Feature Collection publish failed"); + console.PrintErrorsAndExit(mcpFeatureCollectionErrors); + stopSignal.OnNext(Unit.Default); + break; + + case IMcpFeatureCollectionVersionPublishSuccess: + committed = true; + stopSignal.OnNext(Unit.Default); + + console.Success("Successfully published MCP Feature Collection!"); + break; + + case IProcessingTaskIsReady: + console.Success("Your request is ready for processing."); + break; + + case IOperationInProgress: + ctx?.Status("Your request is in progress."); + break; + + case IWaitForApproval e: + if (e.Deployment is + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment + deployment) + { + console.PrintErrors(deployment.Errors); + } + + ctx?.Status( + "The processing of your request is waiting for approval. Check Nitro to approve the request."); + break; + + case IProcessingTaskApproved: + ctx?.Status("The processing of your request is approved."); + + break; + + default: + ctx?.Status( + "This is an unknown response, upgrade Nitro CLI to the latest version."); + break; + } + } + } + } + + private static async Task PublishMcpFeatureCollectionAsync( + IAnsiConsole console, + IApiClient client, + PublishMcpFeatureCollectionInput input, + CancellationToken ct) + { + var result = + await client.PublishMcpFeatureCollectionCommandMutation.ExecuteAsync(input, ct); + + console.EnsureNoErrors(result); + var data = console.EnsureData(result); + console.PrintErrorsAndExit(data.PublishMcpFeatureCollection.Errors); + + if (data.PublishMcpFeatureCollection.Id is null) + { + throw new ExitException("Could not create publish request!"); + } + + return data.PublishMcpFeatureCollection.Id; + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/PublishMcpFeatureCollectionCommand.graphql b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/PublishMcpFeatureCollectionCommand.graphql new file mode 100644 index 00000000000..2cfc47f2f4d --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/PublishMcpFeatureCollectionCommand.graphql @@ -0,0 +1,25 @@ +mutation PublishMcpFeatureCollectionCommandMutation($input: PublishMcpFeatureCollectionInput!) { + publishMcpFeatureCollection(input: $input) { + id + errors { + ...UnauthorizedOperation + ...StageNotFoundError + ...McpFeatureCollectionNotFoundError + ...McpFeatureCollectionVersionNotFoundError + ...Error + } + } +} + +subscription PublishMcpFeatureCollectionCommandSubscription($requestId: ID!) { + onMcpFeatureCollectionVersionPublishingUpdate(requestId: $requestId) { + __typename + ...McpFeatureCollectionVersionPublishFailed + ...McpFeatureCollectionVersionPublishSuccess + ...OperationInProgress + ...WaitForApproval + ...ProcessingTaskApproved + ...ProcessingTaskIsReady + ...ProcessingTaskIsQueued + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/UploadMcpFeatureCollectionCommand.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/UploadMcpFeatureCollectionCommand.cs new file mode 100644 index 00000000000..4877e4e5f73 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/UploadMcpFeatureCollectionCommand.cs @@ -0,0 +1,111 @@ +using ChilliCream.Nitro.CommandLine.Client; +using ChilliCream.Nitro.CommandLine.Commands.Mcp.Options; +using ChilliCream.Nitro.CommandLine.Configuration; +using ChilliCream.Nitro.CommandLine.Helpers; +using ChilliCream.Nitro.CommandLine.Options; +using StrawberryShake; +using Command = System.CommandLine.Command; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp; + +internal sealed class UploadMcpFeatureCollectionCommand : Command +{ + public UploadMcpFeatureCollectionCommand() : base("upload") + { + Description = "Upload a new MCP Feature Collection version"; + + AddOption(Opt.Instance); + AddOption(Opt.Instance); + AddOption(Opt.Instance); + AddOption(Opt.Instance); + + this.SetHandler( + ExecuteAsync, + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Opt.Instance, + Opt.Instance, + Opt.Instance, + Opt.Instance, + Bind.FromServiceProvider()); + } + + private static async Task ExecuteAsync( + IAnsiConsole console, + IApiClient client, + string tag, + List promptPatterns, + List toolPatterns, + string mcpFeatureCollectionId, + CancellationToken cancellationToken) + { + if (console.IsHumanReadable()) + { + await console + .Status() + .Spinner(Spinner.Known.BouncingBar) + .SpinnerStyle(Style.Parse("green bold")) + .StartAsync("Uploading new MCP Feature Collection version...", UploadMcpFeatureCollection); + } + else + { + await UploadMcpFeatureCollection(null); + } + + return ExitCodes.Success; + + async Task UploadMcpFeatureCollection(StatusContext? ctx) + { + console.Log("Searching for MCP prompt definition files with the following patterns:"); + foreach (var promptPattern in promptPatterns) + { + console.Log($"- {promptPattern}"); + } + + console.Log("Searching for MCP tool definition files with the following patterns:"); + foreach (var toolPattern in toolPatterns) + { + console.Log($"- {toolPattern}"); + } + + var promptFiles = GlobMatcher.Match(promptPatterns).ToArray(); + var toolFiles = GlobMatcher.Match(toolPatterns).ToArray(); + + if (promptFiles.Length < 1 && toolFiles.Length < 1) + { + console.WriteLine("Could not find any MCP prompt or tool definition files with the provided patterns."); + return; + } + + console.Log($"Found {promptFiles.Length} MCP prompt definition file(s)."); + console.Log($"Found {toolFiles.Length} MCP tool definition file(s)."); + + var archiveStream = + await McpFeatureCollectionHelpers.BuildMcpFeatureCollectionArchive( + promptFiles, + toolFiles, + cancellationToken); + + var input = new UploadMcpFeatureCollectionInput + { + Collection = new Upload(archiveStream, "collection.zip"), + McpFeatureCollectionId = mcpFeatureCollectionId, + Tag = tag + }; + + console.Log("Uploading MCP Feature Collection.."); + var result = await client.UploadMcpFeatureCollectionCommandMutation.ExecuteAsync(input, cancellationToken); + + console.EnsureNoErrors(result); + var data = console.EnsureData(result); + console.PrintErrorsAndExit(data.UploadMcpFeatureCollection.Errors); + + if (data.UploadMcpFeatureCollection.McpFeatureCollectionVersion?.Id is null) + { + throw new ExitException("Upload of MCP Feature Collection failed."); + } + + console.Success("Successfully uploaded new MCP Feature Collection version!"); + } + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/UploadMcpFeatureCollectionCommand.graphql b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/UploadMcpFeatureCollectionCommand.graphql new file mode 100644 index 00000000000..1108c5a8605 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/UploadMcpFeatureCollectionCommand.graphql @@ -0,0 +1,17 @@ +mutation UploadMcpFeatureCollectionCommandMutation( + $input: UploadMcpFeatureCollectionInput! +) { + uploadMcpFeatureCollection(input: $input) { + mcpFeatureCollectionVersion { + id + } + errors { + ...UnauthorizedOperation + ...McpFeatureCollectionNotFoundError + ...InvalidMcpFeatureCollectionArchiveError + ...DuplicatedTagError + ...ConcurrentOperationError + ...Error + } + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ValidateMcpFeatureCollectionCommand.cs b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ValidateMcpFeatureCollectionCommand.cs new file mode 100644 index 00000000000..7e5a7a6ccd6 --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ValidateMcpFeatureCollectionCommand.cs @@ -0,0 +1,166 @@ +using System.Reactive; +using System.Reactive.Linq; +using System.Reactive.Subjects; +using ChilliCream.Nitro.CommandLine.Client; +using ChilliCream.Nitro.CommandLine.Commands.Mcp.Options; +using ChilliCream.Nitro.CommandLine.Configuration; +using ChilliCream.Nitro.CommandLine.Helpers; +using ChilliCream.Nitro.CommandLine.Options; +using StrawberryShake; +using static ChilliCream.Nitro.CommandLine.ThrowHelper; + +namespace ChilliCream.Nitro.CommandLine.Commands.Mcp; + +internal sealed class ValidateMcpFeatureCollectionCommand : Command +{ + public ValidateMcpFeatureCollectionCommand() : base("validate") + { + Description = "Validate an MCP Feature Collection version"; + + AddOption(Opt.Instance); + AddOption(Opt.Instance); + AddOption(Opt.Instance); + AddOption(Opt.Instance); + + this.SetHandler( + ExecuteAsync, + Bind.FromServiceProvider(), + Bind.FromServiceProvider(), + Opt.Instance, + Opt.Instance, + Opt.Instance, + Opt.Instance, + Bind.FromServiceProvider()); + } + + private static async Task ExecuteAsync( + IAnsiConsole console, + IApiClient client, + string stage, + string mcpFeatureCollectionId, + List promptPatterns, + List toolPatterns, + CancellationToken ct) + { + console.Title($"Validate against {stage.EscapeMarkup()}"); + + var isValid = false; + + if (console.IsHumanReadable()) + { + await console + .Status() + .Spinner(Spinner.Known.BouncingBar) + .SpinnerStyle(Style.Parse("green bold")) + .StartAsync("Validating...", ValidateMcpFeatureCollection); + } + else + { + await ValidateMcpFeatureCollection(null); + } + + return isValid ? ExitCodes.Success : ExitCodes.Error; + + async Task ValidateMcpFeatureCollection(StatusContext? ctx) + { + console.Log("Searching for MCP prompt definition files with the following patterns:"); + foreach (var promptPattern in promptPatterns) + { + console.Log($"- {promptPattern}"); + } + + console.Log("Searching for MCP tool definition files with the following patterns:"); + foreach (var toolPattern in toolPatterns) + { + console.Log($"- {toolPattern}"); + } + + var promptFiles = GlobMatcher.Match(promptPatterns).ToArray(); + var toolFiles = GlobMatcher.Match(toolPatterns).ToArray(); + + if (promptFiles.Length < 1 && toolFiles.Length < 1) + { + console.WriteLine("Could not find any MCP prompt or tool definition files with the provided patterns."); + return; + } + + console.Log($"Found {promptFiles.Length} MCP prompt definition file(s)."); + console.Log($"Found {toolFiles.Length} MCP tool definition file(s)."); + + var archiveStream = + await McpFeatureCollectionHelpers.BuildMcpFeatureCollectionArchive(promptFiles, toolFiles, ct); + + var input = new ValidateMcpFeatureCollectionInput + { + McpFeatureCollectionId = mcpFeatureCollectionId, + Stage = stage, + Collection = new Upload(archiveStream, "collection.zip") + }; + + var requestId = await ValidateAsync(console, client, input, ct); + + console.Log($"Validation request created [grey](ID: {requestId.EscapeMarkup()})[/]"); + + using var stopSignal = new Subject(); + + var subscription = client.ValidateMcpFeatureCollectionCommandSubscription + .Watch(requestId, ExecutionStrategy.NetworkOnly) + .TakeUntil(stopSignal); + + await foreach (var x in subscription.ToAsyncEnumerable().WithCancellation(ct)) + { + if (x.Errors is { Count: > 0 } errors) + { + console.PrintErrorsAndExit(errors); + throw Exit("No request id returned"); + } + + switch (x.Data?.OnMcpFeatureCollectionVersionValidationUpdate) + { + case IMcpFeatureCollectionVersionValidationFailed { Errors: var validationErrors }: + console.ErrorLine("The MCP Feature Collection is invalid:"); + console.PrintErrorsAndExit(validationErrors); + stopSignal.OnNext(Unit.Default); + break; + + case IMcpFeatureCollectionVersionValidationSuccess: + isValid = true; + stopSignal.OnNext(Unit.Default); + console.Success("MCP Feature Collection validation succeeded"); + break; + + case IOperationInProgress: + case IValidationInProgress: + ctx?.Status("The validation is in progress."); + break; + + default: + ctx?.Status( + "This is an unknown response, upgrade Nitro CLI to the latest version."); + break; + } + } + } + } + + private static async Task ValidateAsync( + IAnsiConsole console, + IApiClient client, + ValidateMcpFeatureCollectionInput input, + CancellationToken ct) + { + var result = + await client.ValidateMcpFeatureCollectionCommandMutation.ExecuteAsync(input, ct); + + console.EnsureNoErrors(result); + var data = console.EnsureData(result); + console.PrintErrorsAndExit(data.ValidateMcpFeatureCollection.Errors); + + if (data.ValidateMcpFeatureCollection.Id is null) + { + throw new ExitException("Could not create validation request!"); + } + + return data.ValidateMcpFeatureCollection.Id; + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ValidateMcpFeatureCollectionCommand.graphql b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ValidateMcpFeatureCollectionCommand.graphql new file mode 100644 index 00000000000..9a60ddf40bb --- /dev/null +++ b/src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/ValidateMcpFeatureCollectionCommand.graphql @@ -0,0 +1,23 @@ +mutation ValidateMcpFeatureCollectionCommandMutation( + $input: ValidateMcpFeatureCollectionInput! +) { + validateMcpFeatureCollection(input: $input) { + id + errors { + ...UnauthorizedOperation + ...StageNotFoundError + ...McpFeatureCollectionNotFoundError + ...Error + } + } +} + +subscription ValidateMcpFeatureCollectionCommandSubscription($requestId: ID!) { + onMcpFeatureCollectionVersionValidationUpdate(requestId: $requestId) { + __typename + ...McpFeatureCollectionVersionValidationFailed + ...McpFeatureCollectionVersionValidationSuccess + ...OperationInProgress + ...ValidationInProgress + } +} diff --git a/src/Nitro/CommandLine/src/CommandLine/Extensions/NitroCloudCommandExtensions.cs b/src/Nitro/CommandLine/src/CommandLine/Extensions/NitroCloudCommandExtensions.cs index 0052aba70a4..a009097ab5d 100644 --- a/src/Nitro/CommandLine/src/CommandLine/Extensions/NitroCloudCommandExtensions.cs +++ b/src/Nitro/CommandLine/src/CommandLine/Extensions/NitroCloudCommandExtensions.cs @@ -7,6 +7,7 @@ using ChilliCream.Nitro.CommandLine.Commands.Launch; using ChilliCream.Nitro.CommandLine.Commands.Login; using ChilliCream.Nitro.CommandLine.Commands.Logout; +using ChilliCream.Nitro.CommandLine.Commands.Mcp; using ChilliCream.Nitro.CommandLine.Commands.Mocks; using ChilliCream.Nitro.CommandLine.Commands.OpenApi; using ChilliCream.Nitro.CommandLine.Commands.PersonalAccessTokens; @@ -44,6 +45,7 @@ public static void AddNitroCloudCommands(this Command command) command.AddCommand(new LaunchCommand()); command.AddCommand(new LoginCommand()); command.AddCommand(new LogoutCommand()); + command.AddCommand(new McpCommand()); command.AddCommand(new MockCommand()); command.AddCommand(new OpenApiCommand()); command.AddCommand(new PersonalAccessTokenCommand()); diff --git a/src/Nitro/CommandLine/src/CommandLine/Generated/ApiClient.Client.cs b/src/Nitro/CommandLine/src/CommandLine/Generated/ApiClient.Client.cs index 7c3c70f99e5..ebce3d1bc8b 100644 --- a/src/Nitro/CommandLine/src/CommandLine/Generated/ApiClient.Client.cs +++ b/src/Nitro/CommandLine/src/CommandLine/Generated/ApiClient.Client.cs @@ -2,115402 +2,142784 @@ #nullable enable annotations #nullable disable warnings -namespace ChilliCream.Nitro.CommandLine.Client -{ - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraphResult : global::System.IEquatable, IUploadFusionSubgraphResult - { - public UploadFusionSubgraphResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph uploadFusionSubgraph) - { - UploadFusionSubgraph = uploadFusionSubgraph; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph UploadFusionSubgraph { get; } - - public virtual global::System.Boolean Equals(UploadFusionSubgraphResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (UploadFusionSubgraph.Equals(other.UploadFusionSubgraph)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadFusionSubgraphResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * UploadFusionSubgraph.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload - { - public UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion? fusionSubgraphVersion, global::System.Collections.Generic.IReadOnlyList? errors) - { - FusionSubgraphVersion = fusionSubgraphVersion; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion? FusionSubgraphVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((FusionSubgraphVersion is null && other.FusionSubgraphVersion is null) || FusionSubgraphVersion != null && FusionSubgraphVersion.Equals(other.FusionSubgraphVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (FusionSubgraphVersion != null) - { - hash ^= 397 * FusionSubgraphVersion.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion - { - public UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion(global::System.String id) - { - Id = id; - } - - public global::System.String Id { get; } - - public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError - { - public UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError - { - public UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError - { - public UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation - { - public UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError - { - public UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraphResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph UploadFusionSubgraph { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph - { - public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion? FusionSubgraphVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload : IUploadFusionSubgraph_UploadFusionSubgraph - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion - { - public global::System.String Id { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion : IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInvalidFusionSourceSchemaArchiveError - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IError - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IInvalidFusionSourceSchemaArchiveError, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IConcurrentOperationError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IConcurrentOperationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnauthorizedOperation : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDuplicatedTagError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IDuplicatedTagError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class FetchConfigurationResult : global::System.IEquatable, IFetchConfigurationResult - { - public FetchConfigurationResult(global::ChilliCream.Nitro.CommandLine.Client.IFetchConfiguration_FusionConfigurationByApiId? fusionConfigurationByApiId) - { - FusionConfigurationByApiId = fusionConfigurationByApiId; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfiguration_FusionConfigurationByApiId? FusionConfigurationByApiId { get; } - - public virtual global::System.Boolean Equals(FetchConfigurationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((FusionConfigurationByApiId is null && other.FusionConfigurationByApiId is null) || FusionConfigurationByApiId != null && FusionConfigurationByApiId.Equals(other.FusionConfigurationByApiId))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((FetchConfigurationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (FusionConfigurationByApiId != null) - { - hash ^= 397 * FusionConfigurationByApiId.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration : global::System.IEquatable, IFetchConfiguration_FusionConfigurationByApiId_FusionConfiguration - { - public FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration(global::System.String downloadUrl, global::System.String tag) - { - DownloadUrl = downloadUrl; - Tag = tag; - } - - public global::System.String DownloadUrl { get; } - public global::System.String Tag { get; } - - public virtual global::System.Boolean Equals(FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (DownloadUrl.Equals(other.DownloadUrl)) && Tag.Equals(other.Tag); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * DownloadUrl.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFetchConfigurationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfiguration_FusionConfigurationByApiId? FusionConfigurationByApiId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFetchConfiguration_FusionConfigurationByApiId - { - public global::System.String DownloadUrl { get; } - public global::System.String Tag { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFetchConfiguration_FusionConfigurationByApiId_FusionConfiguration : IFetchConfiguration_FusionConfigurationByApiId - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchemaResult : global::System.IEquatable, ICreateMockSchemaResult - { - public CreateMockSchemaResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema createMockSchema) - { - CreateMockSchema = createMockSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema CreateMockSchema { get; } - - public virtual global::System.Boolean Equals(CreateMockSchemaResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (CreateMockSchema.Equals(other.CreateMockSchema)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchemaResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * CreateMockSchema.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_CreateMockSchemaPayload - { - public CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema? mockSchema, global::System.Collections.Generic.IReadOnlyList? errors) - { - MockSchema = mockSchema; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema? MockSchema { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((MockSchema is null && other.MockSchema is null) || MockSchema != null && MockSchema.Equals(other.MockSchema))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (MockSchema != null) - { - hash ^= 397 * MockSchema.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchema_CreateMockSchema_MockSchema_MockSchema : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_MockSchema_MockSchema - { - public CreateMockSchema_CreateMockSchema_MockSchema_MockSchema(global::System.String id, global::System.String name, global::System.DateTimeOffset createdAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy createdBy, global::System.DateTimeOffset modifiedAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy modifiedBy, global::System.Uri downstreamUrl, global::System.String url) - { - Id = id; - Name = name; - CreatedAt = createdAt; - CreatedBy = createdBy; - ModifiedAt = modifiedAt; - ModifiedBy = modifiedBy; - DownstreamUrl = downstreamUrl; - Url = url; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } - public global::System.DateTimeOffset ModifiedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } - public global::System.Uri DownstreamUrl { get; } - public global::System.String Url { get; } - - public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_MockSchema_MockSchema? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && CreatedAt.Equals(other.CreatedAt) && CreatedBy.Equals(other.CreatedBy) && ModifiedAt.Equals(other.ModifiedAt) && ModifiedBy.Equals(other.ModifiedBy) && DownstreamUrl.Equals(other.DownstreamUrl) && Url.Equals(other.Url); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchema_CreateMockSchema_MockSchema_MockSchema)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * CreatedBy.GetHashCode(); - hash ^= 397 * ModifiedAt.GetHashCode(); - hash ^= 397 * ModifiedBy.GetHashCode(); - hash ^= 397 * DownstreamUrl.GetHashCode(); - hash ^= 397 * Url.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError - { - public CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) - { - this.__typename = __typename; - Message = message; - ApiId = apiId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError - { - public CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation - { - public CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation() - { - } - - public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchema_CreateMockSchema_Errors_ValidationError : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_Errors_ValidationError - { - public CreateMockSchema_CreateMockSchema_Errors_ValidationError() - { - } - - public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_Errors_ValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchema_CreateMockSchema_Errors_ValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo - { - public CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(global::System.String username) - { - Username = username; - } - - public global::System.String Username { get; } - - public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Username.Equals(other.Username)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Username.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo - { - public CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(global::System.String username) - { - Username = username; - } - - public global::System.String Username { get; } - - public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Username.Equals(other.Username)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Username.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchemaResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema CreateMockSchema { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema? MockSchema { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_CreateMockSchemaPayload : ICreateMockSchema_CreateMockSchema - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IMockSchemaDetailPrompt - { - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } - public global::System.DateTimeOffset ModifiedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } - public global::System.Uri DownstreamUrl { get; } - public global::System.String Url { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_MockSchema : IMockSchemaDetailPrompt - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_MockSchema : ICreateMockSchema_CreateMockSchema_MockSchema - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IApiNotFoundError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String ApiId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError : ICreateMockSchema_CreateMockSchema_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IMockSchemaNonUniqueNameError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError : ICreateMockSchema_CreateMockSchema_Errors, IMockSchemaNonUniqueNameError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation : ICreateMockSchema_CreateMockSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_Errors_ValidationError : ICreateMockSchema_CreateMockSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy - { - public global::System.String Username { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo : ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy - { - public global::System.String Username { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo : ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchemaResult : global::System.IEquatable, IUpdateMockSchemaResult - { - public UpdateMockSchemaResult(global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema updateMockSchema) - { - UpdateMockSchema = updateMockSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema UpdateMockSchema { get; } - - public virtual global::System.Boolean Equals(UpdateMockSchemaResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (UpdateMockSchema.Equals(other.UpdateMockSchema)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchemaResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * UpdateMockSchema.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload - { - public UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload(global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_MockSchema? mockSchema, global::System.Collections.Generic.IReadOnlyList? errors) - { - MockSchema = mockSchema; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_MockSchema? MockSchema { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((MockSchema is null && other.MockSchema is null) || MockSchema != null && MockSchema.Equals(other.MockSchema))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (MockSchema != null) - { - hash ^= 397 * MockSchema.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema - { - public UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema(global::System.String id, global::System.String name, global::System.DateTimeOffset createdAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy createdBy, global::System.DateTimeOffset modifiedAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy modifiedBy, global::System.Uri downstreamUrl, global::System.String url) - { - Id = id; - Name = name; - CreatedAt = createdAt; - CreatedBy = createdBy; - ModifiedAt = modifiedAt; - ModifiedBy = modifiedBy; - DownstreamUrl = downstreamUrl; - Url = url; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } - public global::System.DateTimeOffset ModifiedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } - public global::System.Uri DownstreamUrl { get; } - public global::System.String Url { get; } - - public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && CreatedAt.Equals(other.CreatedAt) && CreatedBy.Equals(other.CreatedBy) && ModifiedAt.Equals(other.ModifiedAt) && ModifiedBy.Equals(other.ModifiedBy) && DownstreamUrl.Equals(other.DownstreamUrl) && Url.Equals(other.Url); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * CreatedBy.GetHashCode(); - hash ^= 397 * ModifiedAt.GetHashCode(); - hash ^= 397 * ModifiedBy.GetHashCode(); - hash ^= 397 * DownstreamUrl.GetHashCode(); - hash ^= 397 * Url.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError - { - public UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError - { - public UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation - { - public UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation() - { - } - - public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchema_UpdateMockSchema_Errors_ValidationError : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_Errors_ValidationError - { - public UpdateMockSchema_UpdateMockSchema_Errors_ValidationError() - { - } - - public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_Errors_ValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchema_UpdateMockSchema_Errors_ValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo - { - public UpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo(global::System.String username) - { - Username = username; - } - - public global::System.String Username { get; } - - public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Username.Equals(other.Username)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Username.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo - { - public UpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo(global::System.String username) - { - Username = username; - } - - public global::System.String Username { get; } - - public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Username.Equals(other.Username)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Username.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchemaResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema UpdateMockSchema { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema - { - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_MockSchema? MockSchema { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload : IUpdateMockSchema_UpdateMockSchema - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema : IMockSchemaDetailPrompt - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema : IUpdateMockSchema_UpdateMockSchema_MockSchema - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError : IUpdateMockSchema_UpdateMockSchema_Errors, IMockSchemaNonUniqueNameError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IMockSchemaNotFoundError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError : IUpdateMockSchema_UpdateMockSchema_Errors, IMockSchemaNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation : IUpdateMockSchema_UpdateMockSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_Errors_ValidationError : IUpdateMockSchema_UpdateMockSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy - { - public global::System.String Username { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo : IUpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy - { - public global::System.String Username { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo : IUpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQueryResult : global::System.IEquatable, IListMockCommandQueryResult - { - public ListMockCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById? apiById) - { - ApiById = apiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById? ApiById { get; } - - public virtual global::System.Boolean Equals(ListMockCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListMockCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ApiById != null) - { - hash ^= 397 * ApiById.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQuery_ApiById_Api : global::System.IEquatable, IListMockCommandQuery_ApiById_Api - { - public ListMockCommandQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas? mockSchemas) - { - MockSchemas = mockSchemas; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas? MockSchemas { get; } - - public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((MockSchemas is null && other.MockSchemas is null) || MockSchemas != null && MockSchemas.Equals(other.MockSchemas))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListMockCommandQuery_ApiById_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (MockSchemas != null) - { - hash ^= 397 * MockSchemas.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection - { - public ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge - { - public ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo - { - public ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } +namespace ChilliCream.Nitro.CommandLine.Client +{ + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutationResult : global::System.IEquatable, ICreateApiKeyCommandMutationResult + { + public CreateApiKeyCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey createApiKey) + { + CreateApiKey = createApiKey; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey CreateApiKey { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CreateApiKey.Equals(other.CreateApiKey)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CreateApiKey.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload + { + public CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result? result, global::System.Collections.Generic.IReadOnlyList? errors) + { + Result = result; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result? Result { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Result is null && other.Result is null) || Result != null && Result.Equals(other.Result))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Result != null) + { + hash ^= 397 * Result.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret + { + public CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key key, global::System.String secret) + { + Key = key; + Secret = secret; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key Key { get; } + public global::System.String Secret { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Key.Equals(other.Key)) && Secret.Equals(other.Secret); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Key.GetHashCode(); + hash ^= 397 * Secret.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError + { + public CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) + { + this.__typename = __typename; + Message = message; + ApiId = apiId; + } + /// - /// Indicates whether more edges exist following the set defined by the clients arguments. + /// The name of the current Object type at runtime. /// - public global::System.Boolean HasNextPage { get; } + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound + { + public CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound(global::System.String __typename, global::System.String message, global::System.String workspaceId) + { + this.__typename = __typename; + Message = message; + WorkspaceId = workspaceId; + } + /// - /// When paginating forwards, the cursor to continue. + /// The name of the current Object type at runtime. /// - public global::System.String? EndCursor { get; } + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String WorkspaceId { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && WorkspaceId.Equals(other.WorkspaceId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * WorkspaceId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError + { + public CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + /// - /// When paginating backwards, the cursor to continue. + /// The name of the current Object type at runtime. /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema - { - public ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema(global::System.String id, global::System.String name, global::System.DateTimeOffset createdAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy createdBy, global::System.DateTimeOffset modifiedAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy modifiedBy, global::System.Uri downstreamUrl, global::System.String url) - { - Id = id; - Name = name; - CreatedAt = createdAt; - CreatedBy = createdBy; - ModifiedAt = modifiedAt; - ModifiedBy = modifiedBy; - DownstreamUrl = downstreamUrl; - Url = url; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } - public global::System.DateTimeOffset ModifiedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } - public global::System.Uri DownstreamUrl { get; } - public global::System.String Url { get; } - - public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && CreatedAt.Equals(other.CreatedAt) && CreatedBy.Equals(other.CreatedBy) && ModifiedAt.Equals(other.ModifiedAt) && ModifiedBy.Equals(other.ModifiedBy) && DownstreamUrl.Equals(other.DownstreamUrl) && Url.Equals(other.Url); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * CreatedBy.GetHashCode(); - hash ^= 397 * ModifiedAt.GetHashCode(); - hash ^= 397 * ModifiedBy.GetHashCode(); - hash ^= 397 * DownstreamUrl.GetHashCode(); - hash ^= 397 * Url.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo - { - public ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo(global::System.String username) - { - Username = username; - } - - public global::System.String Username { get; } - - public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Username.Equals(other.Username)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Username.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo - { - public ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo(global::System.String username) - { - Username = username; - } - - public global::System.String Username { get; } - - public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Username.Equals(other.Username)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Username.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById? ApiById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById - { - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas? MockSchemas { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_Api : IListMockCommandQuery_ApiById - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas - { + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError + { + public CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + /// - /// A list of edges. + /// The name of the current Object type at runtime. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation + { + public CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError + { + public CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError(global::System.String __typename, global::System.String message, global::System.String roleId) + { + this.__typename = __typename; + Message = message; + RoleId = roleId; + } + /// - /// Information to aid in pagination. + /// The name of the current Object type at runtime. /// - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection : IListMockCommandQuery_ApiById_MockSchemas - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommand_MockEdge - { + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String RoleId { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && RoleId.Equals(other.RoleId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * RoleId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey + { + public CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? workspace) + { + Id = id; + Name = name; + Workspace = workspace; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? Workspace { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty + { + public CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace + { + public CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey CreateApiKey { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result? Result { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload : ICreateApiKeyCommandMutation_CreateApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key Key { get; } + public global::System.String Secret { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret : ICreateApiKeyCommandMutation_CreateApiKey_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IError + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IApiNotFoundError : IError + { /// - /// A cursor for use in pagination. + /// The name of the current Object type at runtime. /// - public global::System.String Cursor { get; } + public global::System.String __typename { get; } + public global::System.String ApiId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IWorkspaceNotFound : IError + { /// - /// The item at the end of the edge. + /// The name of the current Object type at runtime. /// - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges : IListMockCommand_MockEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge : IListMockCommandQuery_ApiById_MockSchemas_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageInfo - { + public global::System.String __typename { get; } + public global::System.String WorkspaceId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IWorkspaceNotFound + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPersonalWorkspaceNotSupportedError : IError + { /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// The name of the current Object type at runtime. /// - public global::System.Boolean HasPreviousPage { get; } + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IPersonalWorkspaceNotSupportedError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidationError : IError + { /// - /// Indicates whether more edges exist following the set defined by the clients arguments. + /// The name of the current Object type at runtime. /// - public global::System.Boolean HasNextPage { get; } + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRoleNotFoundError : IError + { /// - /// When paginating forwards, the cursor to continue. + /// The name of the current Object type at runtime. /// - public global::System.String? EndCursor { get; } + public global::System.String __typename { get; } + public global::System.String RoleId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IRoleNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IApiKeyDetailPrompt_ApiKey + { + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? Workspace { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_ApiKey : IApiKeyDetailPrompt_ApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_Key : ICreateApiKeyCommandMutation_ApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey : ICreateApiKeyCommandMutation_CreateApiKey_Result_Key + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty : ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace : ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutationResult : global::System.IEquatable, IDeleteApiKeyCommandMutationResult + { + public DeleteApiKeyCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey deleteApiKey) + { + DeleteApiKey = deleteApiKey; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey DeleteApiKey { get; } + + public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (DeleteApiKey.Equals(other.DeleteApiKey)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiKeyCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * DeleteApiKey.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload + { + public DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey? apiKey, global::System.Collections.Generic.IReadOnlyList? errors) + { + ApiKey = apiKey; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey? ApiKey { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ApiKey is null && other.ApiKey is null) || ApiKey != null && ApiKey.Equals(other.ApiKey))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ApiKey != null) + { + hash ^= 397 * ApiKey.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey + { + public DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? workspace) + { + Id = id; + Name = name; + Workspace = workspace; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? Workspace { get; } + + public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError + { + public DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiKeyId) + { + this.__typename = __typename; + Message = message; + ApiKeyId = apiKeyId; + } + /// - /// When paginating backwards, the cursor to continue. + /// The name of the current Object type at runtime. /// - public global::System.String? StartCursor { get; } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo : IListMockCommandQuery_ApiById_MockSchemas_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommand_Mock : IMockSchemaDetailPrompt - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node : IListMockCommand_Mock - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema : IListMockCommandQuery_ApiById_MockSchemas_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy - { - public global::System.String Username { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo : IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy - { - public global::System.String Username { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo : IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQueryResult : global::System.IEquatable, IShowClientCommandQueryResult - { - public ShowClientCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node? node) - { - Node = node; - } - + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiKeyId { get; } + + public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiKeyId.Equals(other.ApiKeyId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiKeyId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation + { + public DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace + { + public DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey DeleteApiKey { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey? ApiKey { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload : IDeleteApiKeyCommandMutation_DeleteApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommand_ApiKey : IApiKeyDetailPrompt_ApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey : IDeleteApiKeyCommand_ApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey : IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IApiKeyNotFoundError + { /// - /// Fetches an object given its ID. + /// The name of the current Object type at runtime. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Api : global::System.IEquatable, IShowClientCommandQuery_Node_Api - { - public ShowClientCommandQuery_Node_Api() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_ApiDocument : global::System.IEquatable, IShowClientCommandQuery_Node_ApiDocument - { - public ShowClientCommandQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_ApiKey : global::System.IEquatable, IShowClientCommandQuery_Node_ApiKey - { - public ShowClientCommandQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Client : global::System.IEquatable, IShowClientCommandQuery_Node_Client - { - public ShowClientCommandQuery_Node_Client(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? api, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? versions) - { - Id = id; - Name = name; - Api = api; - Versions = versions; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? Api { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? Versions { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - if (Api != null) - { - hash ^= 397 * Api.GetHashCode(); - } - - if (Versions != null) - { - hash ^= 397 * Versions.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_ClientChangeLog - { - public ShowClientCommandQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_ClientDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_ClientDeployment - { - public ShowClientCommandQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_ClientVersion : global::System.IEquatable, IShowClientCommandQuery_Node_ClientVersion - { - public ShowClientCommandQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IShowClientCommandQuery_Node_CoordinateClientUsageMetrics - { - public ShowClientCommandQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Environment : global::System.IEquatable, IShowClientCommandQuery_Node_Environment - { - public ShowClientCommandQuery_Node_Environment() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_FusionConfigurationChangeLog - { - public ShowClientCommandQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_FusionConfigurationDeployment - { - public ShowClientCommandQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition - { - public ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLDirectiveDefinition - { - public ShowClientCommandQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLEnumTypeDefinition - { - public ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLEnumValueDefinition - { - public ShowClientCommandQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition - { - public ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition - { - public ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition - { - public ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition - { - public ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLObjectFieldDefinition - { - public ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLScalarTypeDefinition - { - public ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLUnionTypeDefinition - { - public ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Group : global::System.IEquatable, IShowClientCommandQuery_Node_Group - { - public ShowClientCommandQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IShowClientCommandQuery_Node_OpenApiCollection - { - public ShowClientCommandQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_OpenApiCollectionChangeLog - { - public ShowClientCommandQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_OpenApiCollectionDeployment - { - public ShowClientCommandQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IShowClientCommandQuery_Node_OpenApiCollectionVersion - { - public ShowClientCommandQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Organization : global::System.IEquatable, IShowClientCommandQuery_Node_Organization - { - public ShowClientCommandQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_OrganizationMember : global::System.IEquatable, IShowClientCommandQuery_Node_OrganizationMember - { - public ShowClientCommandQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_SchemaChangeLog - { - public ShowClientCommandQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_SchemaDeployment - { - public ShowClientCommandQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Stage : global::System.IEquatable, IShowClientCommandQuery_Node_Stage - { - public ShowClientCommandQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_User : global::System.IEquatable, IShowClientCommandQuery_Node_User - { - public ShowClientCommandQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Workspace : global::System.IEquatable, IShowClientCommandQuery_Node_Workspace - { - public ShowClientCommandQuery_Node_Workspace() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IShowClientCommandQuery_Node_WorkspaceDocument - { - public ShowClientCommandQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Api_Api : global::System.IEquatable, IShowClientCommandQuery_Node_Api_Api - { - public ShowClientCommandQuery_Node_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) - { - Name = name; - Path = path; - } - - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Api_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Api_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - return hash; - } - } - } - + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiKeyId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError : IDeleteApiKeyCommandMutation_DeleteApiKey_Errors, IApiKeyNotFoundError, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation : IDeleteApiKeyCommandMutation_DeleteApiKey_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace : IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQueryResult : global::System.IEquatable, IListApiKeyCommandQueryResult + { + public ListApiKeyCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById? workspaceById) + { + WorkspaceById = workspaceById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById? WorkspaceById { get; } + + public virtual global::System.Boolean Equals(ListApiKeyCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((WorkspaceById is null && other.WorkspaceById is null) || WorkspaceById != null && WorkspaceById.Equals(other.WorkspaceById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiKeyCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (WorkspaceById != null) + { + hash ^= 397 * WorkspaceById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQuery_WorkspaceById_Workspace : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_Workspace + { + public ListApiKeyCommandQuery_WorkspaceById_Workspace(global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys? apiKeys) + { + ApiKeys = apiKeys; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys? ApiKeys { get; } + + public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ApiKeys is null && other.ApiKeys is null) || ApiKeys != null && ApiKeys.Equals(other.ApiKeys))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiKeyCommandQuery_WorkspaceById_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ApiKeys != null) + { + hash ^= 397 * ApiKeys.GetHashCode(); + } + + return hash; + } + } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Versions_ClientVersionConnection : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_ClientVersionConnection - { - public ShowClientCommandQuery_Node_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection + { + public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_ClientVersionConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Versions_ClientVersionConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge - { - public ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge + { + public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_PageInfo_PageInfo - { - public ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) - { - HasNextPage = hasNextPage; - EndCursor = endCursor; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo + { + public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion - { - public ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) - { - Id = id; - CreatedAt = createdAt; - Tag = tag; - PublishedTo = publishedTo; - } - - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - foreach (var PublishedTo_elm in PublishedTo) - { - hash ^= 397 * PublishedTo_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion - { - public ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? stage) - { - Stage = stage; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Stage != null) - { - hash ^= 397 * Stage.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage - { - public ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQueryResult - { + public global::System.String? EndCursor { get; } /// - /// Fetches an object given its ID. + /// When paginating backwards, the cursor to continue. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node? Node { get; } - } - - /// - /// The node interface is implemented by entities that have a global unique identifier. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Api : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_ApiDocument : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_ApiKey : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientDetailPrompt_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? Api { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? Versions { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Client : IShowClientCommandQuery_Node, IClientDetailPrompt_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_ClientChangeLog : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_ClientDeployment : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_ClientVersion : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_CoordinateClientUsageMetrics : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Environment : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_FusionConfigurationChangeLog : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_FusionConfigurationDeployment : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLDirectiveDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLEnumTypeDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLEnumValueDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLObjectFieldDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLScalarTypeDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_GraphQLUnionTypeDefinition : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Group : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_OpenApiCollection : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_OpenApiCollectionChangeLog : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_OpenApiCollectionDeployment : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_OpenApiCollectionVersion : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Organization : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_OrganizationMember : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_SchemaChangeLog : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_SchemaDeployment : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Stage : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_User : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Workspace : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_WorkspaceDocument : IShowClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Api_1 - { - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Api_Api : IShowClientCommandQuery_Node_Api_1 - { - } - + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey + { + public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? workspace) + { + Id = id; + Name = name; + Workspace = workspace; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? Workspace { get; } + + public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace + { + public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById? WorkspaceById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById + { + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys? ApiKeys { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_Workspace : IListApiKeyCommandQuery_WorkspaceById + { + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys + { /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo PageInfo { get; } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_ClientVersionConnection : IShowClientCommandQuery_Node_Versions - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection : IListApiKeyCommandQuery_WorkspaceById_ApiKeys + { + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientDetailPrompt_ClientVersionEdge - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommand_ApiKeyEdge + { /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node Node { get; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node Node { get; } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_Edges : IClientDetailPrompt_ClientVersionEdge - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges : IListApiKeyCommand_ApiKeyEdge + { + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge : IShowClientCommandQuery_Node_Versions_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_PageInfo - { - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge : IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges + { + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_PageInfo_PageInfo : IShowClientCommandQuery_Node_Versions_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node - { - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion : IShowClientCommandQuery_Node_Versions_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClientResult : global::System.IEquatable, IUnpublishClientResult - { - public UnpublishClientResult(global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient unpublishClient) - { - UnpublishClient = unpublishClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient UnpublishClient { get; } - - public virtual global::System.Boolean Equals(UnpublishClientResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (UnpublishClient.Equals(other.UnpublishClient)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClientResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * UnpublishClient.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClient_UnpublishClient_UnpublishClientPayload : global::System.IEquatable, IUnpublishClient_UnpublishClient_UnpublishClientPayload - { - public UnpublishClient_UnpublishClient_UnpublishClientPayload(global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion? clientVersion, global::System.Collections.Generic.IReadOnlyList? errors) - { - ClientVersion = clientVersion; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion? ClientVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_UnpublishClientPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ClientVersion is null && other.ClientVersion is null) || ClientVersion != null && ClientVersion.Equals(other.ClientVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClient_UnpublishClient_UnpublishClientPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ClientVersion != null) - { - hash ^= 397 * ClientVersion.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClient_UnpublishClient_ClientVersion_ClientVersion : global::System.IEquatable, IUnpublishClient_UnpublishClient_ClientVersion_ClientVersion - { - public UnpublishClient_UnpublishClient_ClientVersion_ClientVersion(global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion_Client? client) - { - Id = id; - Client = client; - } - - public global::System.String Id { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion_Client? Client { get; } - - public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_ClientVersion_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClient_UnpublishClient_ClientVersion_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClient_UnpublishClient_Errors_StageNotFoundError : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_StageNotFoundError - { - public UnpublishClient_UnpublishClient_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClient_UnpublishClient_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClient_UnpublishClient_Errors_ClientNotFoundError : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_ClientNotFoundError - { - public UnpublishClient_UnpublishClient_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) - { - Message = message; - ClientId = clientId; - } - - public global::System.String Message { get; } - public global::System.String ClientId { get; } - - public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_ClientNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClient_UnpublishClient_Errors_ClientNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ClientId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_UnauthorizedOperation - { - public UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError - { - public UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError(global::System.String tag, global::System.String message, global::System.String clientId) - { - Tag = tag; - Message = message; - ClientId = clientId; - } - - public global::System.String Tag { get; } - public global::System.String Message { get; } - public global::System.String ClientId { get; } - - public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Tag.Equals(other.Tag)) && Message.Equals(other.Message) && ClientId.Equals(other.ClientId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Tag.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ClientId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_ConcurrentOperationError - { - public UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClient_UnpublishClient_ClientVersion_Client_Client : global::System.IEquatable, IUnpublishClient_UnpublishClient_ClientVersion_Client_Client - { - public UnpublishClient_UnpublishClient_ClientVersion_Client_Client(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_ClientVersion_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UnpublishClient_UnpublishClient_ClientVersion_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClientResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient UnpublishClient { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient - { - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion? ClientVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_UnpublishClientPayload : IUnpublishClient_UnpublishClient - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_ClientVersion - { - public global::System.String Id { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion_Client? Client { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_ClientVersion_ClientVersion : IUnpublishClient_UnpublishClient_ClientVersion - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStageNotFoundError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_Errors_StageNotFoundError : IUnpublishClient_UnpublishClient_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientNotFoundError : IError - { - public global::System.String ClientId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_Errors_ClientNotFoundError : IUnpublishClient_UnpublishClient_Errors, IClientNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_Errors_UnauthorizedOperation : IUnpublishClient_UnpublishClient_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionNotFoundError : IError - { - public global::System.String Tag { get; } - public global::System.String ClientId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError : IUnpublishClient_UnpublishClient_Errors, IClientVersionNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_Errors_ConcurrentOperationError : IUnpublishClient_UnpublishClient_Errors, IConcurrentOperationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_ClientVersion_Client - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClient_UnpublishClient_ClientVersion_Client_Client : IUnpublishClient_UnpublishClient_ClientVersion_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClientResult : global::System.IEquatable, IUploadClientResult - { - public UploadClientResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient uploadClient) - { - UploadClient = uploadClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient UploadClient { get; } - - public virtual global::System.Boolean Equals(UploadClientResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (UploadClient.Equals(other.UploadClient)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadClientResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * UploadClient.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClient_UploadClient_UploadClientPayload : global::System.IEquatable, IUploadClient_UploadClient_UploadClientPayload - { - public UploadClient_UploadClient_UploadClientPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_ClientVersion? clientVersion, global::System.Collections.Generic.IReadOnlyList? errors) - { - ClientVersion = clientVersion; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_ClientVersion? ClientVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(UploadClient_UploadClient_UploadClientPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ClientVersion is null && other.ClientVersion is null) || ClientVersion != null && ClientVersion.Equals(other.ClientVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadClient_UploadClient_UploadClientPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ClientVersion != null) - { - hash ^= 397 * ClientVersion.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClient_UploadClient_ClientVersion_ClientVersion : global::System.IEquatable, IUploadClient_UploadClient_ClientVersion_ClientVersion - { - public UploadClient_UploadClient_ClientVersion_ClientVersion(global::System.String id) - { - Id = id; - } - - public global::System.String Id { get; } - - public virtual global::System.Boolean Equals(UploadClient_UploadClient_ClientVersion_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadClient_UploadClient_ClientVersion_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClient_UploadClient_Errors_ClientNotFoundError : global::System.IEquatable, IUploadClient_UploadClient_Errors_ClientNotFoundError - { - public UploadClient_UploadClient_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) - { - Message = message; - ClientId = clientId; - } - - public global::System.String Message { get; } - public global::System.String ClientId { get; } - - public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_ClientNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadClient_UploadClient_Errors_ClientNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ClientId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClient_UploadClient_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadClient_UploadClient_Errors_ConcurrentOperationError - { - public UploadClient_UploadClient_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadClient_UploadClient_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClient_UploadClient_Errors_InvalidPersistedQueryError : global::System.IEquatable, IUploadClient_UploadClient_Errors_InvalidPersistedQueryError - { - public UploadClient_UploadClient_Errors_InvalidPersistedQueryError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_InvalidPersistedQueryError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadClient_UploadClient_Errors_InvalidPersistedQueryError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClient_UploadClient_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadClient_UploadClient_Errors_UnauthorizedOperation - { - public UploadClient_UploadClient_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadClient_UploadClient_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClient_UploadClient_Errors_DuplicatedTagError : global::System.IEquatable, IUploadClient_UploadClient_Errors_DuplicatedTagError - { - public UploadClient_UploadClient_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_DuplicatedTagError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadClient_UploadClient_Errors_DuplicatedTagError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClientResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient UploadClient { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient - { - public global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_ClientVersion? ClientVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_UploadClientPayload : IUploadClient_UploadClient - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_ClientVersion - { - public global::System.String Id { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_ClientVersion_ClientVersion : IUploadClient_UploadClient_ClientVersion - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_Errors_ClientNotFoundError : IUploadClient_UploadClient_Errors, IClientNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_Errors_ConcurrentOperationError : IUploadClient_UploadClient_Errors, IConcurrentOperationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_Errors_InvalidPersistedQueryError : IUploadClient_UploadClient_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_Errors_UnauthorizedOperation : IUploadClient_UploadClient_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClient_UploadClient_Errors_DuplicatedTagError : IUploadClient_UploadClient_Errors, IDuplicatedTagError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersionResult : global::System.IEquatable, IValidateClientVersionResult - { - public ValidateClientVersionResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient validateClient) - { - ValidateClient = validateClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient ValidateClient { get; } - - public virtual global::System.Boolean Equals(ValidateClientVersionResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ValidateClient.Equals(other.ValidateClient)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateClientVersionResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ValidateClient.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersion_ValidateClient_ValidateClientPayload : global::System.IEquatable, IValidateClientVersion_ValidateClient_ValidateClientPayload - { - public ValidateClientVersion_ValidateClient_ValidateClientPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) - { - Id = id; - Errors = errors; - } - - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(ValidateClientVersion_ValidateClient_ValidateClientPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateClientVersion_ValidateClient_ValidateClientPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Id != null) - { - hash ^= 397 * Id.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersion_ValidateClient_Errors_StageNotFoundError : global::System.IEquatable, IValidateClientVersion_ValidateClient_Errors_StageNotFoundError - { - public ValidateClientVersion_ValidateClient_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ValidateClientVersion_ValidateClient_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateClientVersion_ValidateClient_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError : global::System.IEquatable, IValidateClientVersion_ValidateClient_Errors_ClientNotFoundError - { - public ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) - { - Message = message; - ClientId = clientId; - } - - public global::System.String Message { get; } - public global::System.String ClientId { get; } - - public virtual global::System.Boolean Equals(ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ClientId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation - { - public ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientVersionResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient ValidateClient { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientVersion_ValidateClient - { - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientVersion_ValidateClient_ValidateClientPayload : IValidateClientVersion_ValidateClient - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientVersion_ValidateClient_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientVersion_ValidateClient_Errors_StageNotFoundError : IValidateClientVersion_ValidateClient_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientVersion_ValidateClient_Errors_ClientNotFoundError : IValidateClientVersion_ValidateClient_Errors, IClientNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation : IValidateClientVersion_ValidateClient_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdatedResult : global::System.IEquatable, IOnClientVersionValidationUpdatedResult - { - public OnClientVersionValidationUpdatedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate onClientVersionValidationUpdate) - { - OnClientVersionValidationUpdate = onClientVersionValidationUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate OnClientVersionValidationUpdate { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdatedResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OnClientVersionValidationUpdate.Equals(other.OnClientVersionValidationUpdate)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdatedResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OnClientVersionValidationUpdate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - State = state; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError() - { - } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Message = message; - Code = code; - Path = path; - Locations = locations; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation - { - public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdatedResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate OnClientVersionValidationUpdate { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionValidationFailed - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate, IClientVersionValidationFailed - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionValidationSuccess - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate, IClientVersionValidationSuccess - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOperationInProgress - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate, IOperationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidationInProgress - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate, IValidationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPersistedQueryValidationError - { - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IProcessingTimeoutError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors, IProcessingTimeoutError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnexpectedProcessingError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors, IUnexpectedProcessingError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutationResult : global::System.IEquatable, IDeleteClientByIdCommandMutationResult - { - public DeleteClientByIdCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById deleteClientById) - { - DeleteClientById = deleteClientById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById DeleteClientById { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (DeleteClientById.Equals(other.DeleteClientById)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * DeleteClientById.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload - { - public DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Client? client, global::System.Collections.Generic.IReadOnlyList? errors) - { - Client = client; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Client : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Client - { - public DeleteClientByIdCommandMutation_DeleteClientById_Client_Client(global::System.String name, global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? api, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? versions) - { - Name = name; - Id = id; - Api = api; - Versions = versions; - } - - public global::System.String Name { get; } - public global::System.String Id { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? Api { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? Versions { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && Id.Equals(other.Id) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Id.GetHashCode(); - if (Api != null) - { - hash ^= 397 * Api.GetHashCode(); - } - - if (Versions != null) - { - hash ^= 397 * Versions.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError - { - public DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) - { - Message = message; - ClientId = clientId; - } - - public global::System.String Message { get; } - public global::System.String ClientId { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ClientId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation - { - public DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) - { - Message = message; - this.__typename = __typename; - } - - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api - { - public DeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) - { - Name = name; - Path = path; - } - - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection - { - public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge - { - public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageInfo + { /// - /// The item at the end of the edge. + /// Indicates whether more edges exist prior the set defined by the clients arguments. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo - { - public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) - { - HasNextPage = hasNextPage; - EndCursor = endCursor; - } - + public global::System.Boolean HasPreviousPage { get; } /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion - { - public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) - { - Id = id; - CreatedAt = createdAt; - Tag = tag; - PublishedTo = publishedTo; - } - - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - foreach (var PublishedTo_elm in PublishedTo) - { - hash ^= 397 * PublishedTo_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion - { - public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? stage) - { - Stage = stage; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Stage != null) - { - hash ^= 397 * Stage.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage - { - public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById DeleteClientById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById - { - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload : IDeleteClientByIdCommandMutation_DeleteClientById - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_Client : IClientDetailPrompt_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client : IDeleteClientByIdCommandMutation_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Client : IDeleteClientByIdCommandMutation_DeleteClientById_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError : IDeleteClientByIdCommandMutation_DeleteClientById_Errors, IClientNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation : IDeleteClientByIdCommandMutation_DeleteClientById_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Api - { - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Api - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges : IClientDetailPrompt_ClientVersionEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo - { - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } + public global::System.String? EndCursor { get; } /// - /// When paginating forwards, the cursor to continue. + /// When paginating backwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } - } - + public global::System.String? StartCursor { get; } + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node - { - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersionResult : global::System.IEquatable, IPublishClientVersionResult - { - public PublishClientVersionResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient publishClient) - { - PublishClient = publishClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient PublishClient { get; } - - public virtual global::System.Boolean Equals(PublishClientVersionResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (PublishClient.Equals(other.PublishClient)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishClientVersionResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * PublishClient.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersion_PublishClient_PublishClientPayload : global::System.IEquatable, IPublishClientVersion_PublishClient_PublishClientPayload - { - public PublishClientVersion_PublishClient_PublishClientPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) - { - Id = id; - Errors = errors; - } - - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_PublishClientPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishClientVersion_PublishClient_PublishClientPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Id != null) - { - hash ^= 397 * Id.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersion_PublishClient_Errors_StageNotFoundError : global::System.IEquatable, IPublishClientVersion_PublishClient_Errors_StageNotFoundError - { - public PublishClientVersion_PublishClient_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishClientVersion_PublishClient_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersion_PublishClient_Errors_ClientNotFoundError : global::System.IEquatable, IPublishClientVersion_PublishClient_Errors_ClientNotFoundError - { - public PublishClientVersion_PublishClient_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) - { - Message = message; - ClientId = clientId; - } - - public global::System.String Message { get; } - public global::System.String ClientId { get; } - - public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_Errors_ClientNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishClientVersion_PublishClient_Errors_ClientNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ClientId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersion_PublishClient_Errors_UnauthorizedOperation : global::System.IEquatable, IPublishClientVersion_PublishClient_Errors_UnauthorizedOperation - { - public PublishClientVersion_PublishClient_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishClientVersion_PublishClient_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError : global::System.IEquatable, IPublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError - { - public PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError(global::System.String tag, global::System.String message, global::System.String clientId) - { - Tag = tag; - Message = message; - ClientId = clientId; - } - - public global::System.String Tag { get; } - public global::System.String Message { get; } - public global::System.String ClientId { get; } - - public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Tag.Equals(other.Tag)) && Message.Equals(other.Message) && ClientId.Equals(other.ClientId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Tag.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ClientId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersionResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient PublishClient { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersion_PublishClient - { - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersion_PublishClient_PublishClientPayload : IPublishClientVersion_PublishClient - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersion_PublishClient_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersion_PublishClient_Errors_StageNotFoundError : IPublishClientVersion_PublishClient_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersion_PublishClient_Errors_ClientNotFoundError : IPublishClientVersion_PublishClient_Errors, IClientNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersion_PublishClient_Errors_UnauthorizedOperation : IPublishClientVersion_PublishClient_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError : IPublishClientVersion_PublishClient_Errors, IClientVersionNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdatedResult : global::System.IEquatable, IOnClientVersionPublishUpdatedResult - { - public OnClientVersionPublishUpdatedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate onClientVersionPublishingUpdate) - { - OnClientVersionPublishingUpdate = onClientVersionPublishingUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate OnClientVersionPublishingUpdate { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdatedResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OnClientVersionPublishingUpdate.Equals(other.OnClientVersionPublishingUpdate)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdatedResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OnClientVersionPublishingUpdate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - State = state; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued(global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) - { - this.__typename = __typename; - Queued = queued; - QueuePosition = queuePosition; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Queued { get; } - public global::System.Int32 QueuePosition { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Queued.GetHashCode(); - hash ^= 397 * QueuePosition.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady(global::System.String __typename, global::System.String ready) - { - this.__typename = __typename; - Ready = ready; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Ready { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Ready.Equals(other.Ready); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Ready.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) - { - this.__typename = __typename; - State = state; - Deployment = deployment; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - if (Deployment != null) - { - hash ^= 397 * Deployment.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError() - { - } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) - { - Message = message; - Changes = changes; - } - - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) - { - Message = message; - Changes = changes; - } - - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) - { - this.__typename = __typename; - Message = message; - Column = column; - Position = position; - Line = line; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Int32 Column { get; } - public global::System.Int32 Position { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Position.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Message = message; - Code = code; - Path = path; - Locations = locations; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) - { - Message = message; - Code = code; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) - { - Errors = errors; - HttpMethod = httpMethod; - Route = route; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * HttpMethod.GetHashCode(); - hash ^= 397 * Route.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) - { - Errors = errors; - Name = name; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - this.__typename = __typename; - Changes = changes; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Code = code; - Message = message; - Path = path; - Locations = locations; - } - - public global::System.String? Code { get; } - public global::System.String Message { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation - { - public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdatedResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate OnClientVersionPublishingUpdate { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionPublishFailed - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IClientVersionPublishFailed - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionPublishSuccess - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IClientVersionPublishSuccess - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IOperationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IProcessingTaskApproved - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IProcessingTaskApproved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IProcessingTaskIsQueued - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Queued { get; } - public global::System.Int32 QueuePosition { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IProcessingTaskIsQueued - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IProcessingTaskIsReady - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Ready { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IProcessingTaskIsReady - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IWaitForApproval - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IWaitForApproval - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors, IConcurrentOperationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors, IProcessingTimeoutError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors, IUnexpectedProcessingError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaChangeViolationError - { - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, ISchemaChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInvalidGraphQLSchemaError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionValidationError - { - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3, ISchemaChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOperationsAreNotAllowedError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3, IOperationsAreNotAllowedError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionSyntaxError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Int32 Column { get; } - public global::System.Int32 Position { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3, ISchemaVersionSyntaxError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaChangeLogEntry - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaChange - { - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDirectiveModifiedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IEnumModifiedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInputObjectModifiedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInterfaceModifiedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IObjectModifiedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IScalarModifiedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ITypeSystemMemberAddedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ITypeSystemMemberRemovedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnionModifiedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IArgumentAdded : ISchemaChange - { - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IArgumentChanged : ISchemaChange - { - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IArgumentRemoved : ISchemaChange - { - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDescriptionChanged : ISchemaChange - { - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDirectiveLocationAdded : ISchemaChange - { - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDirectiveLocationRemoved : ISchemaChange - { - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IEnumValueAdded : ISchemaChange - { - public global::System.String Coordinate { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IEnumValueChanged : ISchemaChange - { - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IEnumValueRemoved : ISchemaChange - { - public global::System.String Coordinate { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFieldAddedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFieldRemovedChange : ISchemaChange - { - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInputFieldChanged : ISchemaChange - { - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInterfaceImplementationAdded : ISchemaChange - { - public global::System.String InterfaceName { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInterfaceImplementationRemoved : ISchemaChange - { - public global::System.String InterfaceName { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOutputFieldChanged : ISchemaChange - { - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPossibleTypeAdded : ISchemaChange - { - public global::System.String TypeName { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPossibleTypeRemoved : ISchemaChange - { - public global::System.String TypeName { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnionMemberAdded : ISchemaChange - { - public global::System.String TypeName { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnionMemberRemoved : ISchemaChange - { - public global::System.String TypeName { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities - { - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeprecatedChange : ISchemaChange - { - public global::System.String? DeprecationReason { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ITypeChanged : ISchemaChange - { - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionValidationDocumentError - { - public global::System.String? Code { get; } - public global::System.String Message { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionValidationEntityValidationError - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQueryResult : global::System.IEquatable, IListClientCommandQueryResult - { - public ListClientCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node? node) - { - Node = node; - } - - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Api : global::System.IEquatable, IListClientCommandQuery_Node_Api - { - public ListClientCommandQuery_Node_Api(global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients? clients) - { - Clients = clients; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients? Clients { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Clients is null && other.Clients is null) || Clients != null && Clients.Equals(other.Clients))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Clients != null) - { - hash ^= 397 * Clients.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_ApiDocument : global::System.IEquatable, IListClientCommandQuery_Node_ApiDocument - { - public ListClientCommandQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_ApiKey : global::System.IEquatable, IListClientCommandQuery_Node_ApiKey - { - public ListClientCommandQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Client : global::System.IEquatable, IListClientCommandQuery_Node_Client - { - public ListClientCommandQuery_Node_Client() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_ClientChangeLog - { - public ListClientCommandQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_ClientDeployment : global::System.IEquatable, IListClientCommandQuery_Node_ClientDeployment - { - public ListClientCommandQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_ClientVersion : global::System.IEquatable, IListClientCommandQuery_Node_ClientVersion - { - public ListClientCommandQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IListClientCommandQuery_Node_CoordinateClientUsageMetrics - { - public ListClientCommandQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Environment : global::System.IEquatable, IListClientCommandQuery_Node_Environment - { - public ListClientCommandQuery_Node_Environment() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_FusionConfigurationChangeLog - { - public ListClientCommandQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IListClientCommandQuery_Node_FusionConfigurationDeployment - { - public ListClientCommandQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition - { - public ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLDirectiveDefinition - { - public ListClientCommandQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLEnumTypeDefinition - { - public ListClientCommandQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLEnumValueDefinition - { - public ListClientCommandQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition - { - public ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition - { - public ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition - { - public ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition - { - public ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLObjectFieldDefinition - { - public ListClientCommandQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLScalarTypeDefinition - { - public ListClientCommandQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLUnionTypeDefinition - { - public ListClientCommandQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Group : global::System.IEquatable, IListClientCommandQuery_Node_Group - { - public ListClientCommandQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IListClientCommandQuery_Node_OpenApiCollection - { - public ListClientCommandQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_OpenApiCollectionChangeLog - { - public ListClientCommandQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IListClientCommandQuery_Node_OpenApiCollectionDeployment - { - public ListClientCommandQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IListClientCommandQuery_Node_OpenApiCollectionVersion - { - public ListClientCommandQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Organization : global::System.IEquatable, IListClientCommandQuery_Node_Organization - { - public ListClientCommandQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_OrganizationMember : global::System.IEquatable, IListClientCommandQuery_Node_OrganizationMember - { - public ListClientCommandQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_SchemaChangeLog - { - public ListClientCommandQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IListClientCommandQuery_Node_SchemaDeployment - { - public ListClientCommandQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Stage : global::System.IEquatable, IListClientCommandQuery_Node_Stage - { - public ListClientCommandQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_User : global::System.IEquatable, IListClientCommandQuery_Node_User - { - public ListClientCommandQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Workspace : global::System.IEquatable, IListClientCommandQuery_Node_Workspace - { - public ListClientCommandQuery_Node_Workspace() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IListClientCommandQuery_Node_WorkspaceDocument - { - public ListClientCommandQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_ClientsConnection : global::System.IEquatable, IListClientCommandQuery_Node_Clients_ClientsConnection - { - public ListClientCommandQuery_Node_Clients_ClientsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_ClientsConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_ClientsConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_ClientsEdge : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_ClientsEdge - { - public ListClientCommandQuery_Node_Clients_Edges_ClientsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_ClientsEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_ClientsEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo : IPageInfo + { + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_PageInfo_PageInfo : global::System.IEquatable, IListClientCommandQuery_Node_Clients_PageInfo_PageInfo - { - public ListClientCommandQuery_Node_Clients_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Client : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Client - { - public ListClientCommandQuery_Node_Clients_Edges_Node_Client(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? api, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? versions) - { - Id = id; - Name = name; - Api = api; - Versions = versions; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? Api { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? Versions { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - if (Api != null) - { - hash ^= 397 * Api.GetHashCode(); - } - - if (Versions != null) - { - hash ^= 397 * Versions.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Api_Api : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Api_Api - { - public ListClientCommandQuery_Node_Clients_Edges_Node_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) - { - Name = name; - Path = path; - } - - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Api_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Api_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection - { - public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge - { - public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo - { - public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) - { - HasNextPage = hasNextPage; - EndCursor = endCursor; - } - - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion - { - public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) - { - Id = id; - CreatedAt = createdAt; - Tag = tag; - PublishedTo = publishedTo; - } - - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - foreach (var PublishedTo_elm in PublishedTo) - { - hash ^= 397 * PublishedTo_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion - { - public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? stage) - { - Stage = stage; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Stage != null) - { - hash ^= 397 * Stage.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage - { - public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQueryResult - { - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node? Node { get; } - } - - /// - /// The node interface is implemented by entities that have a global unique identifier. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Api : IListClientCommandQuery_Node - { - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients? Clients { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_ApiDocument : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_ApiKey : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Client : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_ClientChangeLog : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_ClientDeployment : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_ClientVersion : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_CoordinateClientUsageMetrics : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Environment : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_FusionConfigurationChangeLog : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_FusionConfigurationDeployment : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLDirectiveDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLEnumTypeDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLEnumValueDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLObjectFieldDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLScalarTypeDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_GraphQLUnionTypeDefinition : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Group : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_OpenApiCollection : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_OpenApiCollectionChangeLog : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_OpenApiCollectionDeployment : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_OpenApiCollectionVersion : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Organization : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_OrganizationMember : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_SchemaChangeLog : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_SchemaDeployment : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Stage : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_User : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Workspace : IListClientCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_WorkspaceDocument : IListClientCommandQuery_Node - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_ClientsConnection : IListClientCommandQuery_Node_Clients - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges - { - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_ClientsEdge : IListClientCommandQuery_Node_Clients_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_PageInfo_PageInfo : IListClientCommandQuery_Node_Clients_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node : IClientDetailPrompt_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Client : IListClientCommandQuery_Node_Clients_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Api - { - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Api_Api : IListClientCommandQuery_Node_Clients_Edges_Node_Api - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection : IListClientCommandQuery_Node_Clients_Edges_Node_Versions - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges : IClientDetailPrompt_ClientVersionEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo - { - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node - { - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutationResult : global::System.IEquatable, ICreateClientCommandMutationResult - { - public CreateClientCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient createClient) - { - CreateClient = createClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient CreateClient { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (CreateClient.Equals(other.CreateClient)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * CreateClient.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_CreateClientPayload : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_CreateClientPayload - { - public CreateClientCommandMutation_CreateClient_CreateClientPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client? client, global::System.Collections.Generic.IReadOnlyList? errors) - { - Client = client; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_CreateClientPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_CreateClientPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Client_Client : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Client - { - public CreateClientCommandMutation_CreateClient_Client_Client(global::System.String name, global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? api, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? versions) - { - Name = name; - Id = id; - Api = api; - Versions = versions; - } - - public global::System.String Name { get; } - public global::System.String Id { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? Api { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? Versions { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && Id.Equals(other.Id) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Id.GetHashCode(); - if (Api != null) - { - hash ^= 397 * Api.GetHashCode(); - } - - if (Versions != null) - { - hash ^= 397 * Versions.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError - { - public CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError(global::System.String message, global::System.String __typename, global::System.String apiId) - { - Message = message; - this.__typename = __typename; - ApiId = apiId; - } - - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && __typename.Equals(other.__typename) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation - { - public CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) - { - Message = message; - this.__typename = __typename; - } - - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Client_Api_Api : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Api_Api - { - public CreateClientCommandMutation_CreateClient_Client_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) - { - Name = name; - Path = path; - } - - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Api_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Client_Api_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection - { - public CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge - { - public CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo - { - public CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) - { - HasNextPage = hasNextPage; - EndCursor = endCursor; - } - - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion - { - public CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) - { - Id = id; - CreatedAt = createdAt; - Tag = tag; - PublishedTo = publishedTo; - } - - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - foreach (var PublishedTo_elm in PublishedTo) - { - hash ^= 397 * PublishedTo_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion - { - public CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? stage) - { - Stage = stage; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Stage != null) - { - hash ^= 397 * Stage.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage - { - public CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient CreateClient { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_CreateClientPayload : ICreateClientCommandMutation_CreateClient - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_Client : IClientDetailPrompt_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client : ICreateClientCommandMutation_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Client : ICreateClientCommandMutation_CreateClient_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError : ICreateClientCommandMutation_CreateClient_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation : ICreateClientCommandMutation_CreateClient_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Api - { - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Api_Api : ICreateClientCommandMutation_CreateClient_Client_Api - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection : ICreateClientCommandMutation_CreateClient_Client_Versions - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges : IClientDetailPrompt_ClientVersionEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge : ICreateClientCommandMutation_CreateClient_Client_Versions_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo - { - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo : ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node - { - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion : ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion : ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage : ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQueryResult : global::System.IEquatable, IShowApiCommandQueryResult - { - public ShowApiCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node? node) - { - Node = node; - } - - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(ShowApiCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Api : global::System.IEquatable, IShowApiCommandQuery_Node_Api - { - public ShowApiCommandQuery_Node_Api(global::System.String id, global::System.String name, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? workspace, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings settings) - { - Id = id; - Name = name; - Path = path; - Workspace = workspace; - Settings = settings; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? Workspace { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings Settings { get; } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - hash ^= 397 * Settings.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_ApiDocument : global::System.IEquatable, IShowApiCommandQuery_Node_ApiDocument - { - public ShowApiCommandQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_ApiKey : global::System.IEquatable, IShowApiCommandQuery_Node_ApiKey - { - public ShowApiCommandQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Client : global::System.IEquatable, IShowApiCommandQuery_Node_Client - { - public ShowApiCommandQuery_Node_Client() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_ClientChangeLog - { - public ShowApiCommandQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_ClientDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_ClientDeployment - { - public ShowApiCommandQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_ClientVersion : global::System.IEquatable, IShowApiCommandQuery_Node_ClientVersion - { - public ShowApiCommandQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IShowApiCommandQuery_Node_CoordinateClientUsageMetrics - { - public ShowApiCommandQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Environment : global::System.IEquatable, IShowApiCommandQuery_Node_Environment - { - public ShowApiCommandQuery_Node_Environment() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_FusionConfigurationChangeLog - { - public ShowApiCommandQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_FusionConfigurationDeployment - { - public ShowApiCommandQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition - { - public ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLDirectiveDefinition - { - public ShowApiCommandQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLEnumTypeDefinition - { - public ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLEnumValueDefinition - { - public ShowApiCommandQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition - { - public ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition - { - public ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition - { - public ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition - { - public ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLObjectFieldDefinition - { - public ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLScalarTypeDefinition - { - public ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLUnionTypeDefinition - { - public ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Group : global::System.IEquatable, IShowApiCommandQuery_Node_Group - { - public ShowApiCommandQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IShowApiCommandQuery_Node_OpenApiCollection - { - public ShowApiCommandQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_OpenApiCollectionChangeLog - { - public ShowApiCommandQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_OpenApiCollectionDeployment - { - public ShowApiCommandQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IShowApiCommandQuery_Node_OpenApiCollectionVersion - { - public ShowApiCommandQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Organization : global::System.IEquatable, IShowApiCommandQuery_Node_Organization - { - public ShowApiCommandQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_OrganizationMember : global::System.IEquatable, IShowApiCommandQuery_Node_OrganizationMember - { - public ShowApiCommandQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_SchemaChangeLog - { - public ShowApiCommandQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_SchemaDeployment - { - public ShowApiCommandQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Stage : global::System.IEquatable, IShowApiCommandQuery_Node_Stage - { - public ShowApiCommandQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_User : global::System.IEquatable, IShowApiCommandQuery_Node_User - { - public ShowApiCommandQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Workspace : global::System.IEquatable, IShowApiCommandQuery_Node_Workspace - { - public ShowApiCommandQuery_Node_Workspace() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IShowApiCommandQuery_Node_WorkspaceDocument - { - public ShowApiCommandQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Workspace_Workspace : global::System.IEquatable, IShowApiCommandQuery_Node_Workspace_Workspace - { - public ShowApiCommandQuery_Node_Workspace_Workspace(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Settings_ApiSettings : global::System.IEquatable, IShowApiCommandQuery_Node_Settings_ApiSettings - { - public ShowApiCommandQuery_Node_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry schemaRegistry) - { - SchemaRegistry = schemaRegistry; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Settings_ApiSettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (SchemaRegistry.Equals(other.SchemaRegistry)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Settings_ApiSettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * SchemaRegistry.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, IShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings - { - public ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) - { - TreatDangerousAsBreaking = treatDangerousAsBreaking; - AllowBreakingSchemaChanges = allowBreakingSchemaChanges; - } - - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - - public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); - hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQueryResult - { - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node? Node { get; } - } - - /// - /// The node interface is implemented by entities that have a global unique identifier. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IApiDetailPrompt_Api - { - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? Workspace { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings Settings { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Api : IShowApiCommandQuery_Node, IApiDetailPrompt_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_ApiDocument : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_ApiKey : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Client : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_ClientChangeLog : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_ClientDeployment : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_ClientVersion : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_CoordinateClientUsageMetrics : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Environment : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_FusionConfigurationChangeLog : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_FusionConfigurationDeployment : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLDirectiveDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLEnumTypeDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLEnumValueDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLObjectFieldDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLScalarTypeDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_GraphQLUnionTypeDefinition : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Group : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_OpenApiCollection : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_OpenApiCollectionChangeLog : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_OpenApiCollectionDeployment : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_OpenApiCollectionVersion : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Organization : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_OrganizationMember : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_SchemaChangeLog : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_SchemaDeployment : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Stage : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_User : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Workspace : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_WorkspaceDocument : IShowApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Workspace_1 - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Workspace_Workspace : IShowApiCommandQuery_Node_Workspace_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Settings - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Settings_ApiSettings : IShowApiCommandQuery_Node_Settings - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Settings_SchemaRegistry - { - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings : IShowApiCommandQuery_Node_Settings_SchemaRegistry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQueryResult : global::System.IEquatable, IDeleteApiCommandQueryResult - { - public DeleteApiCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node? node) - { - Node = node; - } - - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_Api : global::System.IEquatable, IDeleteApiCommandQuery_Node_Api - { - public DeleteApiCommandQuery_Node_Api(global::System.String name, global::System.String version, global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node_Workspace_1? workspace) - { - Name = name; - Version = version; - Workspace = workspace; - } - - public global::System.String Name { get; } - public global::System.String Version { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node_Workspace_1? Workspace { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && Version.Equals(other.Version) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Version.GetHashCode(); - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_ApiDocument : global::System.IEquatable, IDeleteApiCommandQuery_Node_ApiDocument - { - public DeleteApiCommandQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_ApiKey : global::System.IEquatable, IDeleteApiCommandQuery_Node_ApiKey - { - public DeleteApiCommandQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_Client : global::System.IEquatable, IDeleteApiCommandQuery_Node_Client - { - public DeleteApiCommandQuery_Node_Client() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_ClientChangeLog - { - public DeleteApiCommandQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_ClientDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_ClientDeployment - { - public DeleteApiCommandQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_ClientVersion : global::System.IEquatable, IDeleteApiCommandQuery_Node_ClientVersion - { - public DeleteApiCommandQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IDeleteApiCommandQuery_Node_CoordinateClientUsageMetrics - { - public DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_Environment : global::System.IEquatable, IDeleteApiCommandQuery_Node_Environment - { - public DeleteApiCommandQuery_Node_Environment() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_FusionConfigurationChangeLog - { - public DeleteApiCommandQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_FusionConfigurationDeployment - { - public DeleteApiCommandQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition - { - public DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLDirectiveDefinition - { - public DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition - { - public DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLEnumValueDefinition - { - public DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition - { - public DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition - { - public DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition - { - public DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition - { - public DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition - { - public DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition - { - public DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition - { - public DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_Group : global::System.IEquatable, IDeleteApiCommandQuery_Node_Group - { - public DeleteApiCommandQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IDeleteApiCommandQuery_Node_OpenApiCollection - { - public DeleteApiCommandQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_OpenApiCollectionChangeLog - { - public DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_OpenApiCollectionDeployment - { - public DeleteApiCommandQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IDeleteApiCommandQuery_Node_OpenApiCollectionVersion - { - public DeleteApiCommandQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_Organization : global::System.IEquatable, IDeleteApiCommandQuery_Node_Organization - { - public DeleteApiCommandQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_OrganizationMember : global::System.IEquatable, IDeleteApiCommandQuery_Node_OrganizationMember - { - public DeleteApiCommandQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_SchemaChangeLog - { - public DeleteApiCommandQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_SchemaDeployment - { - public DeleteApiCommandQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_Stage : global::System.IEquatable, IDeleteApiCommandQuery_Node_Stage - { - public DeleteApiCommandQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_User : global::System.IEquatable, IDeleteApiCommandQuery_Node_User - { - public DeleteApiCommandQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_Workspace : global::System.IEquatable, IDeleteApiCommandQuery_Node_Workspace - { - public DeleteApiCommandQuery_Node_Workspace() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IDeleteApiCommandQuery_Node_WorkspaceDocument - { - public DeleteApiCommandQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQuery_Node_Workspace_Workspace : global::System.IEquatable, IDeleteApiCommandQuery_Node_Workspace_Workspace - { - public DeleteApiCommandQuery_Node_Workspace_Workspace(global::System.String id) - { - Id = id; - } - - public global::System.String Id { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandQuery_Node_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQueryResult - { - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node? Node { get; } - } - - /// - /// The node interface is implemented by entities that have a global unique identifier. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Api - { - public global::System.String Name { get; } - public global::System.String Version { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node_Workspace_1? Workspace { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Api : IDeleteApiCommandQuery_Node, IDeleteApiCommandQuery_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_ApiDocument : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_ApiKey : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Client : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_ClientChangeLog : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_ClientDeployment : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_ClientVersion : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_CoordinateClientUsageMetrics : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Environment : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_FusionConfigurationChangeLog : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_FusionConfigurationDeployment : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLDirectiveDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLEnumValueDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Group : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_OpenApiCollection : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_OpenApiCollectionChangeLog : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_OpenApiCollectionDeployment : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_OpenApiCollectionVersion : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Organization : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_OrganizationMember : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_SchemaChangeLog : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_SchemaDeployment : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Stage : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_User : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Workspace : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_WorkspaceDocument : IDeleteApiCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Workspace_1 - { - public global::System.String Id { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQuery_Node_Workspace_Workspace : IDeleteApiCommandQuery_Node_Workspace_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutationResult : global::System.IEquatable, IDeleteApiCommandMutationResult - { - public DeleteApiCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById deleteApiById) - { - DeleteApiById = deleteApiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById DeleteApiById { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (DeleteApiById.Equals(other.DeleteApiById)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * DeleteApiById.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload - { - public DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Api? api, global::System.Collections.Generic.IReadOnlyList? errors) - { - Api = api; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Api? Api { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Api != null) - { - hash ^= 397 * Api.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutation_DeleteApiById_Api_Api : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Api_Api - { - public DeleteApiCommandMutation_DeleteApiById_Api_Api(global::System.String name, global::System.String id, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? workspace, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings settings) - { - Name = name; - Id = id; - Path = path; - Workspace = workspace; - Settings = settings; - } - - public global::System.String Name { get; } - public global::System.String Id { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? Workspace { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings Settings { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Api_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && Id.Equals(other.Id) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutation_DeleteApiById_Api_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Id.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - hash ^= 397 * Settings.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError - { - public DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation - { - public DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError - { - public DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace - { - public DeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings - { - public DeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry schemaRegistry) - { - SchemaRegistry = schemaRegistry; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (SchemaRegistry.Equals(other.SchemaRegistry)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * SchemaRegistry.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings - { - public DeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) - { - TreatDangerousAsBreaking = treatDangerousAsBreaking; - AllowBreakingSchemaChanges = allowBreakingSchemaChanges; - } - - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - - public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); - hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById DeleteApiById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById - { - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Api? Api { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload : IDeleteApiCommandMutation_DeleteApiById - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Api : IApiDetailPrompt_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Api : IDeleteApiCommandMutation_DeleteApiById_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError : IDeleteApiCommandMutation_DeleteApiById_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation : IDeleteApiCommandMutation_DeleteApiById_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError : IDeleteApiCommandMutation_DeleteApiById_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Workspace - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace : IDeleteApiCommandMutation_DeleteApiById_Api_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Settings - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings : IDeleteApiCommandMutation_DeleteApiById_Api_Settings - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry - { - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings : IDeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQueryResult : global::System.IEquatable, IListApiCommandQueryResult - { - public ListApiCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById? workspaceById) - { - WorkspaceById = workspaceById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById? WorkspaceById { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((WorkspaceById is null && other.WorkspaceById is null) || WorkspaceById != null && WorkspaceById.Equals(other.WorkspaceById))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (WorkspaceById != null) - { - hash ^= 397 * WorkspaceById.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQuery_WorkspaceById_Workspace : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Workspace - { - public ListApiCommandQuery_WorkspaceById_Workspace(global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis? apis) - { - Apis = apis; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis? Apis { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Apis is null && other.Apis is null) || Apis != null && Apis.Equals(other.Apis))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQuery_WorkspaceById_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Apis != null) - { - hash ^= 397 * Apis.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQuery_WorkspaceById_Apis_ApisConnection : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_ApisConnection - { - public ListApiCommandQuery_WorkspaceById_Apis_ApisConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_ApisConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQuery_WorkspaceById_Apis_ApisConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge - { - public ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo - { - public ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api - { - public ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api(global::System.String id, global::System.String name, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? workspace, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings settings) - { - Id = id; - Name = name; - Path = path; - Workspace = workspace; - Settings = settings; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? Workspace { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings Settings { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - hash ^= 397 * Settings.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace - { - public ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings - { - public ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry schemaRegistry) - { - SchemaRegistry = schemaRegistry; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (SchemaRegistry.Equals(other.SchemaRegistry)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * SchemaRegistry.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings - { - public ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) - { - TreatDangerousAsBreaking = treatDangerousAsBreaking; - AllowBreakingSchemaChanges = allowBreakingSchemaChanges; - } - - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - - public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); - hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById? WorkspaceById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById - { - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis? Apis { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Workspace : IListApiCommandQuery_WorkspaceById - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_ApisConnection : IListApiCommandQuery_WorkspaceById_Apis - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommand_ApiEdge - { - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges : IListApiCommand_ApiEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge : IListApiCommandQuery_WorkspaceById_Apis_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo : IListApiCommandQuery_WorkspaceById_Apis_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommand_Api : IApiDetailPrompt_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node : IListApiCommand_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api : IListApiCommandQuery_WorkspaceById_Apis_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace : IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings : IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry - { - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings : IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutationResult : global::System.IEquatable, ISetApiSettingsCommandMutationResult - { - public SetApiSettingsCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings updateApiSettings) - { - UpdateApiSettings = updateApiSettings; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings UpdateApiSettings { get; } - - public virtual global::System.Boolean Equals(SetApiSettingsCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (UpdateApiSettings.Equals(other.UpdateApiSettings)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetApiSettingsCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * UpdateApiSettings.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload - { - public SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload(global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Api? api, global::System.Collections.Generic.IReadOnlyList? errors) - { - Api = api; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Api? Api { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Api != null) - { - hash ^= 397 * Api.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Api - { - public SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path, global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? workspace, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings settings) - { - Name = name; - Path = path; - Id = id; - Workspace = workspace; - Settings = settings; - } - - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - public global::System.String Id { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? Workspace { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings Settings { get; } - - public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && Id.Equals(other.Id) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - hash ^= 397 * Id.GetHashCode(); - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - hash ^= 397 * Settings.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError - { - public SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) - { - this.__typename = __typename; - Message = message; - ApiId = apiId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation - { - public SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace - { - public SetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings - { - public SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry schemaRegistry) - { - SchemaRegistry = schemaRegistry; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - - public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (SchemaRegistry.Equals(other.SchemaRegistry)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * SchemaRegistry.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings - { - public SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) - { - TreatDangerousAsBreaking = treatDangerousAsBreaking; - AllowBreakingSchemaChanges = allowBreakingSchemaChanges; - } - - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - - public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); - hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings UpdateApiSettings { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings - { - public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Api? Api { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload : ISetApiSettingsCommandMutation_UpdateApiSettings - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPrompt_Api : IApiDetailPrompt_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_Api : ISelectApiPrompt_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api : ISetApiSettingsCommandMutation_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Api : ISetApiSettingsCommandMutation_UpdateApiSettings_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError : ISetApiSettingsCommandMutation_UpdateApiSettings_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation : ISetApiSettingsCommandMutation_UpdateApiSettings_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace : ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings : ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry - { - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings : ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutationResult : global::System.IEquatable, ICreateApiCommandMutationResult - { - public CreateApiCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges pushWorkspaceChanges) - { - PushWorkspaceChanges = pushWorkspaceChanges; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges PushWorkspaceChanges { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (PushWorkspaceChanges.Equals(other.PushWorkspaceChanges)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * PushWorkspaceChanges.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload - { - public CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload(global::System.Collections.Generic.IReadOnlyList? changes, global::System.Collections.Generic.IReadOnlyList? errors) - { - Changes = changes; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList? Changes { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Changes != null) - { - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload(global::System.String referenceId, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? error, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? result) - { - ReferenceId = referenceId; - Error = error; - Result = result; - } - - public global::System.String ReferenceId { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? Error { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? Result { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ReferenceId.Equals(other.ReferenceId)) && ((Error is null && other.Error is null) || Error != null && Error.Equals(other.Error)) && ((Result is null && other.Result is null) || Result != null && Result.Equals(other.Result)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ReferenceId.GetHashCode(); - if (Error != null) - { - hash ^= 397 * Error.GetHashCode(); - } - - if (Result != null) - { - hash ^= 397 * Result.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation - { - public CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid - { - public CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api(global::System.String name, global::System.String id, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? workspace, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings settings) - { - Name = name; - Id = id; - Path = path; - Workspace = workspace; - Settings = settings; - } - - public global::System.String Name { get; } - public global::System.String Id { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? Workspace { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings Settings { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && Id.Equals(other.Id) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Id.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - hash ^= 397 * Settings.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment() - { - } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry schemaRegistry) - { - SchemaRegistry = schemaRegistry; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (SchemaRegistry.Equals(other.SchemaRegistry)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * SchemaRegistry.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings - { - public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) - { - TreatDangerousAsBreaking = treatDangerousAsBreaking; - AllowBreakingSchemaChanges = allowBreakingSchemaChanges; - } - - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - - public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); - hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges PushWorkspaceChanges { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges - { - public global::System.Collections.Generic.IReadOnlyList? Changes { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload : ICreateApiCommandMutation_PushWorkspaceChanges - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes - { - public global::System.String ReferenceId { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? Error { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? Result { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload : ICreateApiCommandMutation_PushWorkspaceChanges_Changes - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation : ICreateApiCommandMutation_PushWorkspaceChanges_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid : ICreateApiCommandMutation_PushWorkspaceChanges_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_Api : IApiDetailPrompt_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result, ICreateApiCommandMutation_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry - { - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStagesResult : global::System.IEquatable, IUpdateStagesResult - { - public UpdateStagesResult(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages updateStages) - { - UpdateStages = updateStages; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages UpdateStages { get; } - - public virtual global::System.Boolean Equals(UpdateStagesResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (UpdateStages.Equals(other.UpdateStages)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStagesResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * UpdateStages.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_UpdateStagesPayload : global::System.IEquatable, IUpdateStages_UpdateStages_UpdateStagesPayload - { - public UpdateStages_UpdateStages_UpdateStagesPayload(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api? api, global::System.Collections.Generic.IReadOnlyList? errors) - { - Api = api; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api? Api { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_UpdateStagesPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_UpdateStagesPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Api != null) - { - hash ^= 397 * Api.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Api_Api : global::System.IEquatable, IUpdateStages_UpdateStages_Api_Api - { - public UpdateStages_UpdateStages_Api_Api(global::System.Collections.Generic.IReadOnlyList stages) - { - Stages = stages; - } - - public global::System.Collections.Generic.IReadOnlyList Stages { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Api_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Stages, other.Stages)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Api_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Stages_elm in Stages) - { - hash ^= 397 * Stages_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_ApiNotFoundError : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_ApiNotFoundError - { - public UpdateStages_UpdateStages_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) - { - this.__typename = __typename; - Message = message; - ApiId = apiId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_StageNotFoundError : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_StageNotFoundError - { - public UpdateStages_UpdateStages_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError - { - public UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList stages) - { - this.__typename = __typename; - Message = message; - Stages = stages; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Stages { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Stages, other.Stages); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Stages_elm in Stages) - { - hash ^= 397 * Stages_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_StageValidationError : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_StageValidationError - { - public UpdateStages_UpdateStages_Errors_StageValidationError(global::System.String message, global::System.String __typename) - { - Message = message; - this.__typename = __typename; - } - - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_StageValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_StageValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Api_Stages_Stage : global::System.IEquatable, IUpdateStages_UpdateStages_Api_Stages_Stage - { - public UpdateStages_UpdateStages_Api_Stages_Stage(global::System.String id, global::System.String name, global::System.String displayName, global::System.Collections.Generic.IReadOnlyList conditions) - { - Id = id; - Name = name; - DisplayName = displayName; - Conditions = conditions; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.String DisplayName { get; } - public global::System.Collections.Generic.IReadOnlyList Conditions { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Api_Stages_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && DisplayName.Equals(other.DisplayName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Conditions, other.Conditions); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Api_Stages_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * DisplayName.GetHashCode(); - foreach (var Conditions_elm in Conditions) - { - hash ^= 397 * Conditions_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_Stages_Stage : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_Stage - { - public UpdateStages_UpdateStages_Errors_Stages_Stage(global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema? publishedSchema, global::System.Collections.Generic.IReadOnlyList publishedClients) - { - Name = name; - PublishedSchema = publishedSchema; - PublishedClients = publishedClients; - } - - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema? PublishedSchema { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedClients { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && ((PublishedSchema is null && other.PublishedSchema is null) || PublishedSchema != null && PublishedSchema.Equals(other.PublishedSchema)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedClients, other.PublishedClients); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_Stages_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - if (PublishedSchema != null) - { - hash ^= 397 * PublishedSchema.GetHashCode(); - } - - foreach (var PublishedClients_elm in PublishedClients) - { - hash ^= 397 * PublishedClients_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition : global::System.IEquatable, IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition - { - public UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? afterStage) - { - AfterStage = afterStage; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? AfterStage { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((AfterStage is null && other.AfterStage is null) || AfterStage != null && AfterStage.Equals(other.AfterStage))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (AfterStage != null) - { - hash ^= 397 * AfterStage.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion - { - public UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version? version) - { - Version = version; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version? Version { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Version is null && other.Version is null) || Version != null && Version.Equals(other.Version))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Version != null) - { - hash ^= 397 * Version.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient - { - public UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client client, global::System.Collections.Generic.IReadOnlyList publishedVersions) - { - Client = client; - PublishedVersions = publishedVersions; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client Client { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedVersions { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedVersions, other.PublishedVersions); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Client.GetHashCode(); - foreach (var PublishedVersions_elm in PublishedVersions) - { - hash ^= 397 * PublishedVersions_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage : global::System.IEquatable, IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage - { - public UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion - { - public UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion(global::System.String tag) - { - Tag = tag; - } - - public global::System.String Tag { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Tag.Equals(other.Tag)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client - { - public UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion - { - public UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version? version) - { - Version = version; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version? Version { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Version is null && other.Version is null) || Version != null && Version.Equals(other.Version))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Version != null) - { - hash ^= 397 * Version.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion - { - public UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion(global::System.String tag) - { - Tag = tag; - } - - public global::System.String Tag { get; } - - public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Tag.Equals(other.Tag)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStagesResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages UpdateStages { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages - { - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api? Api { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_UpdateStagesPayload : IUpdateStages_UpdateStages - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Api - { - public global::System.Collections.Generic.IReadOnlyList Stages { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Api_Api : IUpdateStages_UpdateStages_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_ApiNotFoundError : IUpdateStages_UpdateStages_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_StageNotFoundError : IUpdateStages_UpdateStages_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStagesHavePublishedDependenciesError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Stages { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError : IUpdateStages_UpdateStages_Errors, IStagesHavePublishedDependenciesError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_StageValidationError : IUpdateStages_UpdateStages_Errors - { - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStageDetailPrompt_Stage - { - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.String DisplayName { get; } - public global::System.Collections.Generic.IReadOnlyList Conditions { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Api_Stages : IStageDetailPrompt_Stage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Api_Stages_Stage : IUpdateStages_UpdateStages_Api_Stages - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages - { - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema? PublishedSchema { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedClients { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_Stage : IUpdateStages_UpdateStages_Errors_Stages - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStageCondition - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Api_Stages_Conditions : IStageCondition - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IAfterStageCondition - { - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? AfterStage { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition : IUpdateStages_UpdateStages_Api_Stages_Conditions, IAfterStageCondition - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema - { - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version? Version { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion : IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients - { - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client Client { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedVersions { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient : IUpdateStages_UpdateStages_Errors_Stages_PublishedClients - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage : IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version - { - public global::System.String Tag { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion : IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client : IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions - { - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version? Version { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion : IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version - { - public global::System.String Tag { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion : IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQueryResult : global::System.IEquatable, IListStagesQueryResult - { - public ListStagesQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node? node) - { - Node = node; - } - - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(ListStagesQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Api : global::System.IEquatable, IListStagesQuery_Node_Api - { - public ListStagesQuery_Node_Api(global::System.Collections.Generic.IReadOnlyList stages) - { - Stages = stages; - } - - public global::System.Collections.Generic.IReadOnlyList Stages { get; } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Stages, other.Stages)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Stages_elm in Stages) - { - hash ^= 397 * Stages_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_ApiDocument : global::System.IEquatable, IListStagesQuery_Node_ApiDocument - { - public ListStagesQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_ApiKey : global::System.IEquatable, IListStagesQuery_Node_ApiKey - { - public ListStagesQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Client : global::System.IEquatable, IListStagesQuery_Node_Client - { - public ListStagesQuery_Node_Client() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_ClientChangeLog : global::System.IEquatable, IListStagesQuery_Node_ClientChangeLog - { - public ListStagesQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_ClientDeployment : global::System.IEquatable, IListStagesQuery_Node_ClientDeployment - { - public ListStagesQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_ClientVersion : global::System.IEquatable, IListStagesQuery_Node_ClientVersion - { - public ListStagesQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IListStagesQuery_Node_CoordinateClientUsageMetrics - { - public ListStagesQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Environment : global::System.IEquatable, IListStagesQuery_Node_Environment - { - public ListStagesQuery_Node_Environment() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IListStagesQuery_Node_FusionConfigurationChangeLog - { - public ListStagesQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IListStagesQuery_Node_FusionConfigurationDeployment - { - public ListStagesQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLDirectiveArgumentDefinition - { - public ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLDirectiveDefinition - { - public ListStagesQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLEnumTypeDefinition - { - public ListStagesQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLEnumValueDefinition - { - public ListStagesQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInputObjectFieldDefinition - { - public ListStagesQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInputObjectTypeDefinition - { - public ListStagesQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInterfaceFieldDefinition - { - public ListStagesQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInterfaceTypeDefinition - { - public ListStagesQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLObjectFieldDefinition - { - public ListStagesQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLScalarTypeDefinition - { - public ListStagesQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLUnionTypeDefinition - { - public ListStagesQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Group : global::System.IEquatable, IListStagesQuery_Node_Group - { - public ListStagesQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_OpenApiCollection : global::System.IEquatable, IListStagesQuery_Node_OpenApiCollection - { - public ListStagesQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IListStagesQuery_Node_OpenApiCollectionChangeLog - { - public ListStagesQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IListStagesQuery_Node_OpenApiCollectionDeployment - { - public ListStagesQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IListStagesQuery_Node_OpenApiCollectionVersion - { - public ListStagesQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Organization : global::System.IEquatable, IListStagesQuery_Node_Organization - { - public ListStagesQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_OrganizationMember : global::System.IEquatable, IListStagesQuery_Node_OrganizationMember - { - public ListStagesQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_SchemaChangeLog : global::System.IEquatable, IListStagesQuery_Node_SchemaChangeLog - { - public ListStagesQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_SchemaDeployment : global::System.IEquatable, IListStagesQuery_Node_SchemaDeployment - { - public ListStagesQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Stage : global::System.IEquatable, IListStagesQuery_Node_Stage - { - public ListStagesQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_User : global::System.IEquatable, IListStagesQuery_Node_User - { - public ListStagesQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Workspace : global::System.IEquatable, IListStagesQuery_Node_Workspace - { - public ListStagesQuery_Node_Workspace() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_WorkspaceDocument : global::System.IEquatable, IListStagesQuery_Node_WorkspaceDocument - { - public ListStagesQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Stages_Stage : global::System.IEquatable, IListStagesQuery_Node_Stages_Stage - { - public ListStagesQuery_Node_Stages_Stage(global::System.String id, global::System.String name, global::System.String displayName, global::System.Collections.Generic.IReadOnlyList conditions) - { - Id = id; - Name = name; - DisplayName = displayName; - Conditions = conditions; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.String DisplayName { get; } - public global::System.Collections.Generic.IReadOnlyList Conditions { get; } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Stages_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && DisplayName.Equals(other.DisplayName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Conditions, other.Conditions); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Stages_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * DisplayName.GetHashCode(); - foreach (var Conditions_elm in Conditions) - { - hash ^= 397 * Conditions_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Stages_Conditions_AfterStageCondition : global::System.IEquatable, IListStagesQuery_Node_Stages_Conditions_AfterStageCondition - { - public ListStagesQuery_Node_Stages_Conditions_AfterStageCondition(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? afterStage) - { - AfterStage = afterStage; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? AfterStage { get; } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Stages_Conditions_AfterStageCondition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((AfterStage is null && other.AfterStage is null) || AfterStage != null && AfterStage.Equals(other.AfterStage))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Stages_Conditions_AfterStageCondition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (AfterStage != null) - { - hash ^= 397 * AfterStage.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQuery_Node_Stages_Conditions_AfterStage_Stage : global::System.IEquatable, IListStagesQuery_Node_Stages_Conditions_AfterStage_Stage - { - public ListStagesQuery_Node_Stages_Conditions_AfterStage_Stage(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ListStagesQuery_Node_Stages_Conditions_AfterStage_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListStagesQuery_Node_Stages_Conditions_AfterStage_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQueryResult - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo : IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommand_ApiKey : IApiKeyDetailPrompt_ApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node : IListApiKeyCommand_ApiKey + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey : IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace : IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutationResult : global::System.IEquatable, ICreateApiCommandMutationResult + { + public CreateApiCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges pushWorkspaceChanges) + { + PushWorkspaceChanges = pushWorkspaceChanges; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges PushWorkspaceChanges { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (PushWorkspaceChanges.Equals(other.PushWorkspaceChanges)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * PushWorkspaceChanges.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload + { + public CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload(global::System.Collections.Generic.IReadOnlyList? changes, global::System.Collections.Generic.IReadOnlyList? errors) + { + Changes = changes; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList? Changes { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Changes != null) + { + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload(global::System.String referenceId, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? error, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? result) + { + ReferenceId = referenceId; + Error = error; + Result = result; + } + + public global::System.String ReferenceId { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? Error { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? Result { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ReferenceId.Equals(other.ReferenceId)) && ((Error is null && other.Error is null) || Error != null && Error.Equals(other.Error)) && ((Result is null && other.Result is null) || Result != null && Result.Equals(other.Result)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ReferenceId.GetHashCode(); + if (Error != null) + { + hash ^= 397 * Error.GetHashCode(); + } + + if (Result != null) + { + hash ^= 397 * Result.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation + { + public CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid + { + public CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api(global::System.String name, global::System.String id, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings settings) + { + Name = name; + Id = id; + Path = path; + Workspace = workspace; + Settings = settings; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings Settings { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + hash ^= 397 * Settings.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment() + { + } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry schemaRegistry) + { + SchemaRegistry = schemaRegistry; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (SchemaRegistry.Equals(other.SchemaRegistry)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * SchemaRegistry.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings + { + public CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) + { + TreatDangerousAsBreaking = treatDangerousAsBreaking; + AllowBreakingSchemaChanges = allowBreakingSchemaChanges; + } + + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + + public virtual global::System.Boolean Equals(CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); + hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges PushWorkspaceChanges { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges + { + public global::System.Collections.Generic.IReadOnlyList? Changes { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload : ICreateApiCommandMutation_PushWorkspaceChanges + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes + { + public global::System.String ReferenceId { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? Error { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? Result { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload : ICreateApiCommandMutation_PushWorkspaceChanges_Changes + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation : ICreateApiCommandMutation_PushWorkspaceChanges_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid : ICreateApiCommandMutation_PushWorkspaceChanges_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IApiDetailPrompt_Api + { + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings Settings { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_Api : IApiDetailPrompt_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result, ICreateApiCommandMutation_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry + { + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings : ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQueryResult : global::System.IEquatable, IDeleteApiCommandQueryResult + { + public DeleteApiCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node? Node { get; } - } - - /// - /// The node interface is implemented by entities that have a global unique identifier. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Api : IListStagesQuery_Node - { - public global::System.Collections.Generic.IReadOnlyList Stages { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_ApiDocument : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_ApiKey : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Client : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_ClientChangeLog : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_ClientDeployment : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_ClientVersion : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_CoordinateClientUsageMetrics : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Environment : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_FusionConfigurationChangeLog : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_FusionConfigurationDeployment : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLDirectiveArgumentDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLDirectiveDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLEnumTypeDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLEnumValueDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLInputObjectFieldDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLInputObjectTypeDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLInterfaceFieldDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLInterfaceTypeDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLObjectFieldDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLScalarTypeDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_GraphQLUnionTypeDefinition : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Group : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_OpenApiCollection : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_OpenApiCollectionChangeLog : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_OpenApiCollectionDeployment : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_OpenApiCollectionVersion : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Organization : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_OrganizationMember : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_SchemaChangeLog : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_SchemaDeployment : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Stage : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_User : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Workspace : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_WorkspaceDocument : IListStagesQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Stages : IStageDetailPrompt_Stage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Stages_Stage : IListStagesQuery_Node_Stages - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Stages_Conditions : IStageCondition - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Stages_Conditions_AfterStageCondition : IListStagesQuery_Node_Stages_Conditions, IAfterStageCondition - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Stages_Conditions_AfterStage - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQuery_Node_Stages_Conditions_AfterStage_Stage : IListStagesQuery_Node_Stages_Conditions_AfterStage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQueryResult : global::System.IEquatable, IListEnvironmentCommandQueryResult - { - public ListEnvironmentCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById? workspaceById) - { - WorkspaceById = workspaceById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById? WorkspaceById { get; } - - public virtual global::System.Boolean Equals(ListEnvironmentCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((WorkspaceById is null && other.WorkspaceById is null) || WorkspaceById != null && WorkspaceById.Equals(other.WorkspaceById))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListEnvironmentCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (WorkspaceById != null) - { - hash ^= 397 * WorkspaceById.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQuery_WorkspaceById_Workspace : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Workspace - { - public ListEnvironmentCommandQuery_WorkspaceById_Workspace(global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments? environments) - { - Environments = environments; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments? Environments { get; } - - public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Environments is null && other.Environments is null) || Environments != null && Environments.Equals(other.Environments))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListEnvironmentCommandQuery_WorkspaceById_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Environments != null) - { - hash ^= 397 * Environments.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection - { - public ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge - { - public ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo - { - public ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment - { - public ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? workspace) - { - Id = id; - Name = name; - Workspace = workspace; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? Workspace { get; } - - public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace - { - public ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById? WorkspaceById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById - { - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments? Environments { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Workspace : IListEnvironmentCommandQuery_WorkspaceById - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection : IListEnvironmentCommandQuery_WorkspaceById_Environments - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommand_EnvironmentEdge - { - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges : IListEnvironmentCommand_EnvironmentEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge : IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo : IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IEnvironmentDetailPrompt_Environment - { - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? Workspace { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommand_Environment : IEnvironmentDetailPrompt_Environment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node : IListEnvironmentCommand_Environment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment : IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace : IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQueryResult : global::System.IEquatable, IShowEnvironmentCommandQueryResult - { - public ShowEnvironmentCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQuery_Node? node) - { - Node = node; - } - - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_Api : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Api - { - public ShowEnvironmentCommandQuery_Node_Api() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_ApiDocument : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ApiDocument - { - public ShowEnvironmentCommandQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_ApiKey : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ApiKey - { - public ShowEnvironmentCommandQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_Client : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Client - { - public ShowEnvironmentCommandQuery_Node_Client() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ClientChangeLog - { - public ShowEnvironmentCommandQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_ClientDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ClientDeployment - { - public ShowEnvironmentCommandQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_ClientVersion : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ClientVersion - { - public ShowEnvironmentCommandQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics - { - public ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_Environment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Environment - { - public ShowEnvironmentCommandQuery_Node_Environment(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? workspace) - { - Id = id; - Name = name; - Workspace = workspace; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? Workspace { get; } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog - { - public ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment - { - public ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition - { - public ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_Group : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Group - { - public ShowEnvironmentCommandQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OpenApiCollection - { - public ShowEnvironmentCommandQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog - { - public ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment - { - public ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion - { - public ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_Organization : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Organization - { - public ShowEnvironmentCommandQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_OrganizationMember : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OrganizationMember - { - public ShowEnvironmentCommandQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_SchemaChangeLog - { - public ShowEnvironmentCommandQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_SchemaDeployment - { - public ShowEnvironmentCommandQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_Stage : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Stage - { - public ShowEnvironmentCommandQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_User : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_User - { - public ShowEnvironmentCommandQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_Workspace : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Workspace - { - public ShowEnvironmentCommandQuery_Node_Workspace() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_WorkspaceDocument - { - public ShowEnvironmentCommandQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQuery_Node_Workspace_Workspace : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Workspace_Workspace - { - public ShowEnvironmentCommandQuery_Node_Workspace_Workspace(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowEnvironmentCommandQuery_Node_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQueryResult - { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_Api : global::System.IEquatable, IDeleteApiCommandQuery_Node_Api + { + public DeleteApiCommandQuery_Node_Api(global::System.String name, global::System.String version, global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node_Workspace_1? workspace) + { + Name = name; + Version = version; + Workspace = workspace; + } + + public global::System.String Name { get; } + public global::System.String Version { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node_Workspace_1? Workspace { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Version.Equals(other.Version) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Version.GetHashCode(); + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_ApiDocument : global::System.IEquatable, IDeleteApiCommandQuery_Node_ApiDocument + { + public DeleteApiCommandQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_ApiKey : global::System.IEquatable, IDeleteApiCommandQuery_Node_ApiKey + { + public DeleteApiCommandQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_Client : global::System.IEquatable, IDeleteApiCommandQuery_Node_Client + { + public DeleteApiCommandQuery_Node_Client() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_ClientChangeLog + { + public DeleteApiCommandQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_ClientDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_ClientDeployment + { + public DeleteApiCommandQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_ClientVersion : global::System.IEquatable, IDeleteApiCommandQuery_Node_ClientVersion + { + public DeleteApiCommandQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IDeleteApiCommandQuery_Node_CoordinateClientUsageMetrics + { + public DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_Environment : global::System.IEquatable, IDeleteApiCommandQuery_Node_Environment + { + public DeleteApiCommandQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_FusionConfigurationChangeLog + { + public DeleteApiCommandQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_FusionConfigurationDeployment + { + public DeleteApiCommandQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition + { + public DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLDirectiveDefinition + { + public DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition + { + public DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLEnumValueDefinition + { + public DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition + { + public DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition + { + public DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition + { + public DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition + { + public DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition + { + public DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition + { + public DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IDeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition + { + public DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_Group : global::System.IEquatable, IDeleteApiCommandQuery_Node_Group + { + public DeleteApiCommandQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_McpFeatureCollection : global::System.IEquatable, IDeleteApiCommandQuery_Node_McpFeatureCollection + { + public DeleteApiCommandQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_McpFeatureCollectionChangeLog + { + public DeleteApiCommandQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_McpFeatureCollectionDeployment + { + public DeleteApiCommandQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IDeleteApiCommandQuery_Node_McpFeatureCollectionVersion + { + public DeleteApiCommandQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IDeleteApiCommandQuery_Node_OpenApiCollection + { + public DeleteApiCommandQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_OpenApiCollectionChangeLog + { + public DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_OpenApiCollectionDeployment + { + public DeleteApiCommandQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IDeleteApiCommandQuery_Node_OpenApiCollectionVersion + { + public DeleteApiCommandQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_Organization : global::System.IEquatable, IDeleteApiCommandQuery_Node_Organization + { + public DeleteApiCommandQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_OrganizationMember : global::System.IEquatable, IDeleteApiCommandQuery_Node_OrganizationMember + { + public DeleteApiCommandQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IDeleteApiCommandQuery_Node_SchemaChangeLog + { + public DeleteApiCommandQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IDeleteApiCommandQuery_Node_SchemaDeployment + { + public DeleteApiCommandQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_Stage : global::System.IEquatable, IDeleteApiCommandQuery_Node_Stage + { + public DeleteApiCommandQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_User : global::System.IEquatable, IDeleteApiCommandQuery_Node_User + { + public DeleteApiCommandQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_Workspace : global::System.IEquatable, IDeleteApiCommandQuery_Node_Workspace + { + public DeleteApiCommandQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IDeleteApiCommandQuery_Node_WorkspaceDocument + { + public DeleteApiCommandQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQuery_Node_Workspace_Workspace : global::System.IEquatable, IDeleteApiCommandQuery_Node_Workspace_Workspace + { + public DeleteApiCommandQuery_Node_Workspace_Workspace(global::System.String id) + { + Id = id; + } + + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandQuery_Node_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandQuery_Node_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQueryResult + { /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQuery_Node? Node { get; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node? Node { get; } + } + /// /// The node interface is implemented by entities that have a global unique identifier. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Api : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_ApiDocument : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_ApiKey : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Client : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_ClientChangeLog : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_ClientDeployment : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_ClientVersion : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Environment : IShowEnvironmentCommandQuery_Node, IEnvironmentDetailPrompt_Environment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Group : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_OpenApiCollection : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Organization : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_OrganizationMember : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_SchemaChangeLog : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_SchemaDeployment : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Stage : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_User : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Workspace : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_WorkspaceDocument : IShowEnvironmentCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Workspace_1 - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQuery_Node_Workspace_Workspace : IShowEnvironmentCommandQuery_Node_Workspace_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutationResult : global::System.IEquatable, ICreateEnvironmentCommandMutationResult - { - public CreateEnvironmentCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges pushWorkspaceChanges) - { - PushWorkspaceChanges = pushWorkspaceChanges; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges PushWorkspaceChanges { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (PushWorkspaceChanges.Equals(other.PushWorkspaceChanges)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * PushWorkspaceChanges.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload(global::System.Collections.Generic.IReadOnlyList? changes, global::System.Collections.Generic.IReadOnlyList? errors) - { - Changes = changes; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList? Changes { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Changes != null) - { - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload(global::System.String referenceId, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? error, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? result) - { - ReferenceId = referenceId; - Error = error; - Result = result; - } - - public global::System.String ReferenceId { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? Error { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? Result { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ReferenceId.Equals(other.ReferenceId)) && ((Error is null && other.Error is null) || Error != null && Error.Equals(other.Error)) && ((Result is null && other.Result is null) || Result != null && Result.Equals(other.Result)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ReferenceId.GetHashCode(); - if (Error != null) - { - hash ^= 397 * Error.GetHashCode(); - } - - if (Result != null) - { - hash ^= 397 * Result.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api() - { - } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment(global::System.String name, global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? workspace) - { - Name = name; - Id = id; - Workspace = workspace; - } - - public global::System.String Name { get; } - public global::System.String Id { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? Workspace { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && Id.Equals(other.Id) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Id.GetHashCode(); - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace - { - public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges PushWorkspaceChanges { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges - { - public global::System.Collections.Generic.IReadOnlyList? Changes { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload : ICreateEnvironmentCommandMutation_PushWorkspaceChanges - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes - { - public global::System.String ReferenceId { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? Error { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? Result { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_Environment : IEnvironmentDetailPrompt_Environment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result, ICreateEnvironmentCommandMutation_Environment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQueryResult : global::System.IEquatable, IListApiKeyCommandQueryResult - { - public ListApiKeyCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById? workspaceById) - { - WorkspaceById = workspaceById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById? WorkspaceById { get; } - - public virtual global::System.Boolean Equals(ListApiKeyCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((WorkspaceById is null && other.WorkspaceById is null) || WorkspaceById != null && WorkspaceById.Equals(other.WorkspaceById))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiKeyCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (WorkspaceById != null) - { - hash ^= 397 * WorkspaceById.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQuery_WorkspaceById_Workspace : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_Workspace - { - public ListApiKeyCommandQuery_WorkspaceById_Workspace(global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys? apiKeys) - { - ApiKeys = apiKeys; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys? ApiKeys { get; } - - public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ApiKeys is null && other.ApiKeys is null) || ApiKeys != null && ApiKeys.Equals(other.ApiKeys))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiKeyCommandQuery_WorkspaceById_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ApiKeys != null) - { - hash ^= 397 * ApiKeys.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection - { - public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge - { - public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo - { - public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey - { - public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? workspace) - { - Id = id; - Name = name; - Workspace = workspace; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? Workspace { get; } - - public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace : global::System.IEquatable, IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace - { - public ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById? WorkspaceById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById - { - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys? ApiKeys { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_Workspace : IListApiKeyCommandQuery_WorkspaceById - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection : IListApiKeyCommandQuery_WorkspaceById_ApiKeys - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommand_ApiKeyEdge - { - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges : IListApiKeyCommand_ApiKeyEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge : IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo : IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IApiKeyDetailPrompt_ApiKey - { - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? Workspace { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommand_ApiKey : IApiKeyDetailPrompt_ApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node : IListApiKeyCommand_ApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey : IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace : IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutationResult : global::System.IEquatable, ICreateApiKeyCommandMutationResult - { - public CreateApiKeyCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey createApiKey) - { - CreateApiKey = createApiKey; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey CreateApiKey { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (CreateApiKey.Equals(other.CreateApiKey)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * CreateApiKey.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload - { - public CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result? result, global::System.Collections.Generic.IReadOnlyList? errors) - { - Result = result; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result? Result { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Result is null && other.Result is null) || Result != null && Result.Equals(other.Result))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Result != null) - { - hash ^= 397 * Result.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret - { - public CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key key, global::System.String secret) - { - Key = key; - Secret = secret; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key Key { get; } - public global::System.String Secret { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Key.Equals(other.Key)) && Secret.Equals(other.Secret); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Key.GetHashCode(); - hash ^= 397 * Secret.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError - { - public CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) - { - this.__typename = __typename; - Message = message; - ApiId = apiId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound - { - public CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound(global::System.String __typename, global::System.String message, global::System.String workspaceId) - { - this.__typename = __typename; - Message = message; - WorkspaceId = workspaceId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String WorkspaceId { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && WorkspaceId.Equals(other.WorkspaceId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * WorkspaceId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError - { - public CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError - { - public CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation - { - public CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError - { - public CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError(global::System.String __typename, global::System.String message, global::System.String roleId) - { - this.__typename = __typename; - Message = message; - RoleId = roleId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String RoleId { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && RoleId.Equals(other.RoleId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * RoleId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey - { - public CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? workspace) - { - Id = id; - Name = name; - Workspace = workspace; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? Workspace { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty - { - public CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace : global::System.IEquatable, ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace - { - public CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey CreateApiKey { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result? Result { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload : ICreateApiKeyCommandMutation_CreateApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key Key { get; } - public global::System.String Secret { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret : ICreateApiKeyCommandMutation_CreateApiKey_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IWorkspaceNotFound : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String WorkspaceId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IWorkspaceNotFound - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPersonalWorkspaceNotSupportedError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IPersonalWorkspaceNotSupportedError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidationError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRoleNotFoundError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String RoleId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError : ICreateApiKeyCommandMutation_CreateApiKey_Errors, IRoleNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_ApiKey : IApiKeyDetailPrompt_ApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_Key : ICreateApiKeyCommandMutation_ApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey : ICreateApiKeyCommandMutation_CreateApiKey_Result_Key - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty : ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace : ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutationResult : global::System.IEquatable, IDeleteApiKeyCommandMutationResult - { - public DeleteApiKeyCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey deleteApiKey) - { - DeleteApiKey = deleteApiKey; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey DeleteApiKey { get; } - - public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (DeleteApiKey.Equals(other.DeleteApiKey)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiKeyCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * DeleteApiKey.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload - { - public DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey? apiKey, global::System.Collections.Generic.IReadOnlyList? errors) - { - ApiKey = apiKey; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey? ApiKey { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ApiKey is null && other.ApiKey is null) || ApiKey != null && ApiKey.Equals(other.ApiKey))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ApiKey != null) - { - hash ^= 397 * ApiKey.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey - { - public DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? workspace) - { - Id = id; - Name = name; - Workspace = workspace; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? Workspace { get; } - - public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError - { - public DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiKeyId) - { - this.__typename = __typename; - Message = message; - ApiKeyId = apiKeyId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiKeyId { get; } - - public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiKeyId.Equals(other.ApiKeyId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiKeyId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation - { - public DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace : global::System.IEquatable, IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace - { - public DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey DeleteApiKey { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey - { - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey? ApiKey { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload : IDeleteApiKeyCommandMutation_DeleteApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommand_ApiKey : IApiKeyDetailPrompt_ApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey : IDeleteApiKeyCommand_ApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey : IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IApiKeyNotFoundError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiKeyId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError : IDeleteApiKeyCommandMutation_DeleteApiKey_Errors, IApiKeyNotFoundError, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation : IDeleteApiKeyCommandMutation_DeleteApiKey_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace_Workspace : IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQueryResult : global::System.IEquatable, IListPersonalAccessTokenCommandQueryResult - { - public ListPersonalAccessTokenCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me? me) - { - Me = me; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me? Me { get; } - - public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Me is null && other.Me is null) || Me != null && Me.Equals(other.Me))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListPersonalAccessTokenCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Me != null) - { - hash ^= 397 * Me.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQuery_Me_Viewer : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_Viewer - { - public ListPersonalAccessTokenCommandQuery_Me_Viewer(global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens? personalAccessTokens) - { - PersonalAccessTokens = personalAccessTokens; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens? PersonalAccessTokens { get; } - - public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_Viewer? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((PersonalAccessTokens is null && other.PersonalAccessTokens is null) || PersonalAccessTokens != null && PersonalAccessTokens.Equals(other.PersonalAccessTokens))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListPersonalAccessTokenCommandQuery_Me_Viewer)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (PersonalAccessTokens != null) - { - hash ^= 397 * PersonalAccessTokens.GetHashCode(); - } - - return hash; - } - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Api + { + public global::System.String Name { get; } + public global::System.String Version { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node_Workspace_1? Workspace { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Api : IDeleteApiCommandQuery_Node, IDeleteApiCommandQuery_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_ApiDocument : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_ApiKey : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Client : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_ClientChangeLog : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_ClientDeployment : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_ClientVersion : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_CoordinateClientUsageMetrics : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Environment : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_FusionConfigurationChangeLog : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_FusionConfigurationDeployment : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLDirectiveDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLEnumValueDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Group : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_McpFeatureCollection : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_McpFeatureCollectionChangeLog : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_McpFeatureCollectionDeployment : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_McpFeatureCollectionVersion : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_OpenApiCollection : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_OpenApiCollectionChangeLog : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_OpenApiCollectionDeployment : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_OpenApiCollectionVersion : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Organization : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_OrganizationMember : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_SchemaChangeLog : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_SchemaDeployment : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Stage : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_User : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Workspace : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_WorkspaceDocument : IDeleteApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Workspace_1 + { + public global::System.String Id { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQuery_Node_Workspace_Workspace : IDeleteApiCommandQuery_Node_Workspace_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutationResult : global::System.IEquatable, IDeleteApiCommandMutationResult + { + public DeleteApiCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById deleteApiById) + { + DeleteApiById = deleteApiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById DeleteApiById { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (DeleteApiById.Equals(other.DeleteApiById)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * DeleteApiById.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload + { + public DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Api? api, global::System.Collections.Generic.IReadOnlyList? errors) + { + Api = api; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Api? Api { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Api != null) + { + hash ^= 397 * Api.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutation_DeleteApiById_Api_Api : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Api_Api + { + public DeleteApiCommandMutation_DeleteApiById_Api_Api(global::System.String name, global::System.String id, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings settings) + { + Name = name; + Id = id; + Path = path; + Workspace = workspace; + Settings = settings; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings Settings { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Api_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutation_DeleteApiById_Api_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + hash ^= 397 * Settings.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError + { + public DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation + { + public DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError + { + public DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace + { + public DeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings + { + public DeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry schemaRegistry) + { + SchemaRegistry = schemaRegistry; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (SchemaRegistry.Equals(other.SchemaRegistry)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * SchemaRegistry.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, IDeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings + { + public DeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) + { + TreatDangerousAsBreaking = treatDangerousAsBreaking; + AllowBreakingSchemaChanges = allowBreakingSchemaChanges; + } + + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + + public virtual global::System.Boolean Equals(DeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); + hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById DeleteApiById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Api? Api { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload : IDeleteApiCommandMutation_DeleteApiById + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Api : IApiDetailPrompt_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Api : IDeleteApiCommandMutation_DeleteApiById_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError : IDeleteApiCommandMutation_DeleteApiById_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation : IDeleteApiCommandMutation_DeleteApiById_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError : IDeleteApiCommandMutation_DeleteApiById_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Workspace + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Workspace_Workspace : IDeleteApiCommandMutation_DeleteApiById_Api_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Settings + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Settings_ApiSettings : IDeleteApiCommandMutation_DeleteApiById_Api_Settings + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry + { + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry_SchemaRegistrySettings : IDeleteApiCommandMutation_DeleteApiById_Api_Settings_SchemaRegistry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQueryResult : global::System.IEquatable, IListApiCommandQueryResult + { + public ListApiCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById? workspaceById) + { + WorkspaceById = workspaceById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById? WorkspaceById { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((WorkspaceById is null && other.WorkspaceById is null) || WorkspaceById != null && WorkspaceById.Equals(other.WorkspaceById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (WorkspaceById != null) + { + hash ^= 397 * WorkspaceById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQuery_WorkspaceById_Workspace : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Workspace + { + public ListApiCommandQuery_WorkspaceById_Workspace(global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis? apis) + { + Apis = apis; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis? Apis { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Apis is null && other.Apis is null) || Apis != null && Apis.Equals(other.Apis))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQuery_WorkspaceById_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Apis != null) + { + hash ^= 397 * Apis.GetHashCode(); + } + + return hash; + } + } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection - { - public ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQuery_WorkspaceById_Apis_ApisConnection : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_ApisConnection + { + public ListApiCommandQuery_WorkspaceById_Apis_ApisConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_ApisConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQuery_WorkspaceById_Apis_ApisConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge - { - public ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge + { + public ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo - { - public ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo + { + public ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + /// /// Indicates whether more edges exist prior the set defined by the clients arguments. /// - public global::System.Boolean HasPreviousPage { get; } + public global::System.Boolean HasPreviousPage { get; } /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } + public global::System.String? EndCursor { get; } /// /// When paginating backwards, the cursor to continue. /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken - { - public ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken(global::System.String id, global::System.String description, global::System.DateTimeOffset expiresAt, global::System.DateTimeOffset createdAt) - { - Id = id; - Description = description; - ExpiresAt = expiresAt; - CreatedAt = createdAt; - } - - public global::System.String Id { get; } - public global::System.String Description { get; } - public global::System.DateTimeOffset ExpiresAt { get; } - public global::System.DateTimeOffset CreatedAt { get; } - - public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Description.Equals(other.Description) && ExpiresAt.Equals(other.ExpiresAt) && CreatedAt.Equals(other.CreatedAt); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Description.GetHashCode(); - hash ^= 397 * ExpiresAt.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me? Me { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me - { - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens? PersonalAccessTokens { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_Viewer : IListPersonalAccessTokenCommandQuery_Me - { - } - + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api + { + public ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api(global::System.String id, global::System.String name, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings settings) + { + Id = id; + Name = name; + Path = path; + Workspace = workspace; + Settings = settings; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings Settings { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + hash ^= 397 * Settings.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace + { + public ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings + { + public ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry schemaRegistry) + { + SchemaRegistry = schemaRegistry; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (SchemaRegistry.Equals(other.SchemaRegistry)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * SchemaRegistry.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings + { + public ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) + { + TreatDangerousAsBreaking = treatDangerousAsBreaking; + AllowBreakingSchemaChanges = allowBreakingSchemaChanges; + } + + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + + public virtual global::System.Boolean Equals(ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); + hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById? WorkspaceById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById + { + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis? Apis { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Workspace : IListApiCommandQuery_WorkspaceById + { + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis + { /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo PageInfo { get; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_PageInfo PageInfo { get; } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection : IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_ApisConnection : IListApiCommandQuery_WorkspaceById_Apis + { + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommand_PersonalAccessTokenEdge - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommand_ApiEdge + { /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node Node { get; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges_Node Node { get; } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges : IListPersonalAccessTokenCommand_PersonalAccessTokenEdge - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges : IListApiCommand_ApiEdge + { + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge : IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo : IPageInfo - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge : IListApiCommandQuery_WorkspaceById_Apis_Edges + { + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo : IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPersonalAccessTokenDetailPrompt_PersonalAccessToken - { - public global::System.String Id { get; } - public global::System.String Description { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.DateTimeOffset ExpiresAt { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommand_PersonalAccessToken : IPersonalAccessTokenDetailPrompt_PersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node : IListPersonalAccessTokenCommand_PersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken : IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutationResult : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutationResult - { - public CreatePersonalAccessTokenCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken createPersonalAccessToken) - { - CreatePersonalAccessToken = createPersonalAccessToken; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken CreatePersonalAccessToken { get; } - - public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (CreatePersonalAccessToken.Equals(other.CreatePersonalAccessToken)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreatePersonalAccessTokenCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * CreatePersonalAccessToken.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload - { - public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result? result, global::System.Collections.Generic.IReadOnlyList? errors) - { - Result = result; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result? Result { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Result is null && other.Result is null) || Result != null && Result.Equals(other.Result))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Result != null) - { - hash ^= 397 * Result.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret - { - public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret(global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token token, global::System.String secret) - { - Token = token; - Secret = secret; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token Token { get; } - public global::System.String Secret { get; } - - public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Token.Equals(other.Token)) && Secret.Equals(other.Secret); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Token.GetHashCode(); - hash ^= 397 * Secret.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError - { - public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation - { - public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken - { - public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken(global::System.String id, global::System.String description, global::System.DateTimeOffset createdAt, global::System.DateTimeOffset expiresAt) - { - Id = id; - Description = description; - CreatedAt = createdAt; - ExpiresAt = expiresAt; - } - - public global::System.String Id { get; } - public global::System.String Description { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.DateTimeOffset ExpiresAt { get; } - - public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Description.Equals(other.Description) && CreatedAt.Equals(other.CreatedAt) && ExpiresAt.Equals(other.ExpiresAt); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Description.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * ExpiresAt.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken CreatePersonalAccessToken { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result? Result { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token Token { get; } - public global::System.String Secret { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_PersonalAccessToken : IPersonalAccessTokenDetailPrompt_PersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token : ICreatePersonalAccessTokenCommandMutation_PersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutationResult : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutationResult - { - public RevokePersonalAccessTokenCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken revokePersonalAccessToken) - { - RevokePersonalAccessToken = revokePersonalAccessToken; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken RevokePersonalAccessToken { get; } - - public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (RevokePersonalAccessToken.Equals(other.RevokePersonalAccessToken)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((RevokePersonalAccessTokenCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * RevokePersonalAccessToken.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload - { - public RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload(global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken? personalAccessToken, global::System.Collections.Generic.IReadOnlyList? errors) - { - PersonalAccessToken = personalAccessToken; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken? PersonalAccessToken { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((PersonalAccessToken is null && other.PersonalAccessToken is null) || PersonalAccessToken != null && PersonalAccessToken.Equals(other.PersonalAccessToken))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (PersonalAccessToken != null) - { - hash ^= 397 * PersonalAccessToken.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken - { - public RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken(global::System.String id, global::System.String description, global::System.DateTimeOffset createdAt, global::System.DateTimeOffset expiresAt) - { - Id = id; - Description = description; - CreatedAt = createdAt; - ExpiresAt = expiresAt; - } - - public global::System.String Id { get; } - public global::System.String Description { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.DateTimeOffset ExpiresAt { get; } - - public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Description.Equals(other.Description) && CreatedAt.Equals(other.CreatedAt) && ExpiresAt.Equals(other.ExpiresAt); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Description.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * ExpiresAt.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation - { - public RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError - { - public RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken RevokePersonalAccessToken { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken - { - public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken? PersonalAccessToken { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload : IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommand_PersonalAccessToken : IPersonalAccessTokenDetailPrompt_PersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken : IRevokePersonalAccessTokenCommand_PersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken : IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation : IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPersonalAccessTokenNotFoundError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError : IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors, IPersonalAccessTokenNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutationResult : global::System.IEquatable, IUploadOpenApiCollectionCommandMutationResult - { - public UploadOpenApiCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection uploadOpenApiCollection) - { - UploadOpenApiCollection = uploadOpenApiCollection; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection UploadOpenApiCollection { get; } - - public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (UploadOpenApiCollection.Equals(other.UploadOpenApiCollection)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadOpenApiCollectionCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * UploadOpenApiCollection.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload - { - public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion? openApiCollectionVersion, global::System.Collections.Generic.IReadOnlyList? errors) - { - OpenApiCollectionVersion = openApiCollectionVersion; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion? OpenApiCollectionVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollectionVersion is null && other.OpenApiCollectionVersion is null) || OpenApiCollectionVersion != null && OpenApiCollectionVersion.Equals(other.OpenApiCollectionVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollectionVersion != null) - { - hash ^= 397 * OpenApiCollectionVersion.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion - { - public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion(global::System.String id) - { - Id = id; - } - - public global::System.String Id { get; } - - public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError - { - public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError(global::System.String openApiCollectionId, global::System.String message) - { - OpenApiCollectionId = openApiCollectionId; - Message = message; - } - - public global::System.String OpenApiCollectionId { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OpenApiCollectionId.Equals(other.OpenApiCollectionId)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError - { - public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation - { - public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError - { - public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError - { - public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection UploadOpenApiCollection { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection - { - public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion? OpenApiCollectionVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion - { - public global::System.String Id { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionNotFoundError : IError - { - public global::System.String OpenApiCollectionId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IOpenApiCollectionNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IConcurrentOperationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IDuplicatedTagError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInvalidOpenApiCollectionArchiveError - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IInvalidOpenApiCollectionArchiveError, IError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQueryResult : global::System.IEquatable, IListOpenApiCollectionCommandQueryResult - { - public ListOpenApiCollectionCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node? node) - { - Node = node; - } - - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_Api : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Api - { - public ListOpenApiCollectionCommandQuery_Node_Api(global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections? openApiCollections) - { - OpenApiCollections = openApiCollections; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections? OpenApiCollections { get; } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollections is null && other.OpenApiCollections is null) || OpenApiCollections != null && OpenApiCollections.Equals(other.OpenApiCollections))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollections != null) - { - hash ^= 397 * OpenApiCollections.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_ApiDocument : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ApiDocument - { - public ListOpenApiCollectionCommandQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_ApiKey : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ApiKey - { - public ListOpenApiCollectionCommandQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_Client : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Client - { - public ListOpenApiCollectionCommandQuery_Node_Client() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ClientChangeLog - { - public ListOpenApiCollectionCommandQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_ClientDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ClientDeployment - { - public ListOpenApiCollectionCommandQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_ClientVersion : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ClientVersion - { - public ListOpenApiCollectionCommandQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics - { - public ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_Environment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Environment - { - public ListOpenApiCollectionCommandQuery_Node_Environment() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog - { - public ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment - { - public ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition - { - public ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_Group : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Group - { - public ListOpenApiCollectionCommandQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollection - { - public ListOpenApiCollectionCommandQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog - { - public ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment - { - public ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion - { - public ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_Organization : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Organization - { - public ListOpenApiCollectionCommandQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OrganizationMember : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OrganizationMember - { - public ListOpenApiCollectionCommandQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_SchemaChangeLog - { - public ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_SchemaDeployment - { - public ListOpenApiCollectionCommandQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_Stage : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Stage - { - public ListOpenApiCollectionCommandQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_User : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_User - { - public ListOpenApiCollectionCommandQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_Workspace : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Workspace - { - public ListOpenApiCollectionCommandQuery_Node_Workspace() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_WorkspaceDocument - { - public ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection - { - public ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge - { - public ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_PageInfo : IPageInfo + { + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo - { - public ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection - { - public ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQueryResult - { - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node? Node { get; } - } - - /// - /// The node interface is implemented by entities that have a global unique identifier. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_Api : IListOpenApiCollectionCommandQuery_Node - { - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections? OpenApiCollections { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_ApiDocument : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_ApiKey : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_Client : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_ClientChangeLog : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_ClientDeployment : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_ClientVersion : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_Environment : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_Group : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollection : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_Organization : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OrganizationMember : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_SchemaChangeLog : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_SchemaDeployment : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_Stage : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_User : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_Workspace : IListOpenApiCollectionCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_WorkspaceDocument : IListOpenApiCollectionCommandQuery_Node - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection : IListOpenApiCollectionCommandQuery_Node_OpenApiCollections - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_OpenApiCollectionEdge - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo : IListApiCommandQuery_WorkspaceById_Apis_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommand_Api : IApiDetailPrompt_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node : IListApiCommand_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api : IListApiCommandQuery_WorkspaceById_Apis_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace : IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings : IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry + { + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings : IListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutationResult : global::System.IEquatable, ISetApiSettingsCommandMutationResult + { + public SetApiSettingsCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings updateApiSettings) + { + UpdateApiSettings = updateApiSettings; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings UpdateApiSettings { get; } + + public virtual global::System.Boolean Equals(SetApiSettingsCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UpdateApiSettings.Equals(other.UpdateApiSettings)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetApiSettingsCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UpdateApiSettings.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload + { + public SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload(global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Api? api, global::System.Collections.Generic.IReadOnlyList? errors) + { + Api = api; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Api? Api { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Api != null) + { + hash ^= 397 * Api.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Api + { + public SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path, global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings settings) + { + Name = name; + Path = path; + Id = id; + Workspace = workspace; + Settings = settings; + } + + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + public global::System.String Id { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings Settings { get; } + + public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && Id.Equals(other.Id) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + hash ^= 397 * Id.GetHashCode(); + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + hash ^= 397 * Settings.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError + { + public SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) + { + this.__typename = __typename; + Message = message; + ApiId = apiId; + } + /// - /// A cursor for use in pagination. + /// The name of the current Object type at runtime. /// - public global::System.String Cursor { get; } + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation + { + public SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + /// - /// The item at the end of the edge. + /// The name of the current Object type at runtime. /// - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges : IListOpenApiCollectionCommandQuery_OpenApiCollectionEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge : IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo : IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionDetailPrompt_OpenApiCollection - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_OpenApiCollection : IOpenApiCollectionDetailPrompt_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node : IListOpenApiCollectionCommandQuery_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection : IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutationResult : global::System.IEquatable, IPublishOpenApiCollectionCommandMutationResult - { - public PublishOpenApiCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection publishOpenApiCollection) - { - PublishOpenApiCollection = publishOpenApiCollection; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection PublishOpenApiCollection { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (PublishOpenApiCollection.Equals(other.PublishOpenApiCollection)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * PublishOpenApiCollection.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload - { - public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) - { - Id = id; - Errors = errors; - } - - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Id != null) - { - hash ^= 397 * Id.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError - { - public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError - { - public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError(global::System.String openApiCollectionId, global::System.String message) - { - OpenApiCollectionId = openApiCollectionId; - Message = message; - } - - public global::System.String OpenApiCollectionId { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OpenApiCollectionId.Equals(other.OpenApiCollectionId)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation - { - public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError - { - public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError(global::System.String tag, global::System.String message, global::System.String openApiCollectionId) - { - Tag = tag; - Message = message; - OpenApiCollectionId = openApiCollectionId; - } - - public global::System.String Tag { get; } - public global::System.String Message { get; } - public global::System.String OpenApiCollectionId { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Tag.Equals(other.Tag)) && Message.Equals(other.Message) && OpenApiCollectionId.Equals(other.OpenApiCollectionId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Tag.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection PublishOpenApiCollection { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection - { - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors, IOpenApiCollectionNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionNotFoundError : IError - { - public global::System.String Tag { get; } - public global::System.String OpenApiCollectionId { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors, IOpenApiCollectionVersionNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscriptionResult : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscriptionResult - { - public PublishOpenApiCollectionCommandSubscriptionResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate onOpenApiCollectionVersionPublishingUpdate) - { - OnOpenApiCollectionVersionPublishingUpdate = onOpenApiCollectionVersionPublishingUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate OnOpenApiCollectionVersionPublishingUpdate { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscriptionResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OnOpenApiCollectionVersionPublishingUpdate.Equals(other.OnOpenApiCollectionVersionPublishingUpdate)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscriptionResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OnOpenApiCollectionVersionPublishingUpdate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - State = state; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued(global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) - { - this.__typename = __typename; - Queued = queued; - QueuePosition = queuePosition; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Queued { get; } - public global::System.Int32 QueuePosition { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Queued.GetHashCode(); - hash ^= 397 * QueuePosition.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady(global::System.String __typename, global::System.String ready) - { - this.__typename = __typename; - Ready = ready; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Ready { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Ready.Equals(other.Ready); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Ready.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) - { - this.__typename = __typename; - State = state; - Deployment = deployment; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - if (Deployment != null) - { - hash ^= 397 * Deployment.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError() - { - } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) - { - Message = message; - Changes = changes; - } - - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) - { - Message = message; - Changes = changes; - } - - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) - { - this.__typename = __typename; - Message = message; - Column = column; - Position = position; - Line = line; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Int32 Column { get; } - public global::System.Int32 Position { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Position.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) - { - Errors = errors; - HttpMethod = httpMethod; - Route = route; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * HttpMethod.GetHashCode(); - hash ^= 397 * Route.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) - { - Errors = errors; - Name = name; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) - { - Message = message; - Code = code; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Code = code; - Message = message; - Path = path; - Locations = locations; - } - - public global::System.String? Code { get; } - public global::System.String Message { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Message = message; - Code = code; - Path = path; - Locations = locations; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - this.__typename = __typename; - Changes = changes; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged - { - public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscriptionResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate OnOpenApiCollectionVersionPublishingUpdate { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionPublishFailed - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IOpenApiCollectionVersionPublishFailed - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionPublishSuccess - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IOpenApiCollectionVersionPublishSuccess - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IOperationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IProcessingTaskApproved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IProcessingTaskIsQueued - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IProcessingTaskIsReady - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IWaitForApproval - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors, IConcurrentOperationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors, IProcessingTimeoutError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors, IUnexpectedProcessingError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, ISchemaChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_2, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3, ISchemaChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3, IOperationsAreNotAllowedError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3, ISchemaVersionSyntaxError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities - { - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutationResult : global::System.IEquatable, IValidateOpenApiCollectionCommandMutationResult - { - public ValidateOpenApiCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection validateOpenApiCollection) - { - ValidateOpenApiCollection = validateOpenApiCollection; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection ValidateOpenApiCollection { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ValidateOpenApiCollection.Equals(other.ValidateOpenApiCollection)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ValidateOpenApiCollection.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload : global::System.IEquatable, IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload - { - public ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) - { - Id = id; - Errors = errors; - } - - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Id != null) - { - hash ^= 397 * Id.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError : global::System.IEquatable, IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError - { - public ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError : global::System.IEquatable, IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError - { - public ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError(global::System.String openApiCollectionId, global::System.String message) - { - OpenApiCollectionId = openApiCollectionId; - Message = message; - } - - public global::System.String OpenApiCollectionId { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OpenApiCollectionId.Equals(other.OpenApiCollectionId)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation - { - public ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection ValidateOpenApiCollection { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection - { - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload : IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError : IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError : IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors, IOpenApiCollectionNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation : IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscriptionResult : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscriptionResult - { - public ValidateOpenApiCollectionCommandSubscriptionResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate onOpenApiCollectionVersionValidationUpdate) - { - OnOpenApiCollectionVersionValidationUpdate = onOpenApiCollectionVersionValidationUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate OnOpenApiCollectionVersionValidationUpdate { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscriptionResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OnOpenApiCollectionVersionValidationUpdate.Equals(other.OnOpenApiCollectionVersionValidationUpdate)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscriptionResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OnOpenApiCollectionVersionValidationUpdate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - State = state; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError() - { - } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) - { - Errors = errors; - HttpMethod = httpMethod; - Route = route; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * HttpMethod.GetHashCode(); - hash ^= 397 * Route.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) - { - Errors = errors; - Name = name; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Code = code; - Message = message; - Path = path; - Locations = locations; - } - - public global::System.String? Code { get; } - public global::System.String Message { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation - { - public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscriptionResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate OnOpenApiCollectionVersionValidationUpdate { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionValidationFailed - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate, IOpenApiCollectionVersionValidationFailed - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionValidationSuccess - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate, IOpenApiCollectionVersionValidationSuccess - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate, IOperationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate, IValidationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionValidationArchiveError - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors, IOpenApiCollectionValidationArchiveError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors, IProcessingTimeoutError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors, IUnexpectedProcessingError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities - { - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutationResult : global::System.IEquatable, ICreateOpenApiCollectionCommandMutationResult - { - public CreateOpenApiCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection createOpenApiCollection) - { - CreateOpenApiCollection = createOpenApiCollection; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection CreateOpenApiCollection { get; } - - public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (CreateOpenApiCollection.Equals(other.CreateOpenApiCollection)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateOpenApiCollectionCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * CreateOpenApiCollection.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload : global::System.IEquatable, ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload - { - public CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList? errors) - { - OpenApiCollection = openApiCollection; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection : global::System.IEquatable, ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection - { - public CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection(global::System.String name, global::System.String id) - { - Name = name; - Id = id; - } - - public global::System.String Name { get; } - public global::System.String Id { get; } - - public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && Id.Equals(other.Id); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Id.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError : global::System.IEquatable, ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError - { - public CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError(global::System.String message, global::System.String __typename, global::System.String apiId) - { - Message = message; - this.__typename = __typename; - ApiId = apiId; - } - - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && __typename.Equals(other.__typename) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation - { - public CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) - { - Message = message; - this.__typename = __typename; - } - - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection CreateOpenApiCollection { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload : ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutation_OpenApiCollection : IOpenApiCollectionDetailPrompt_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection : ICreateOpenApiCollectionCommandMutation_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection : ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError : ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation : ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutationResult : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutationResult - { - public DeleteOpenApiCollectionByIdCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById deleteOpenApiCollectionById) - { - DeleteOpenApiCollectionById = deleteOpenApiCollectionById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById DeleteOpenApiCollectionById { get; } - - public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (DeleteOpenApiCollectionById.Equals(other.DeleteOpenApiCollectionById)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteOpenApiCollectionByIdCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * DeleteOpenApiCollectionById.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload - { - public DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList? errors) - { - OpenApiCollection = openApiCollection; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection - { - public DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection(global::System.String name, global::System.String id) - { - Name = name; - Id = id; - } - - public global::System.String Name { get; } - public global::System.String Id { get; } - - public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && Id.Equals(other.Id); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Id.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError - { - public DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError(global::System.String message, global::System.String openApiCollectionId) - { - Message = message; - OpenApiCollectionId = openApiCollectionId; - } - - public global::System.String Message { get; } - public global::System.String OpenApiCollectionId { get; } - - public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && OpenApiCollectionId.Equals(other.OpenApiCollectionId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation - { - public DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) - { - Message = message; - this.__typename = __typename; - } - - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById DeleteOpenApiCollectionById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById - { - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload : IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection : IOpenApiCollectionDetailPrompt_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection : IDeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection : IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError : IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors, IOpenApiCollectionNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation : IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQueryResult : global::System.IEquatable, IShowWorkspaceCommandQueryResult - { - public ShowWorkspaceCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQuery_Node? node) - { - Node = node; - } - + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace + { + public SetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings + { + public SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry schemaRegistry) + { + SchemaRegistry = schemaRegistry; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + + public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (SchemaRegistry.Equals(other.SchemaRegistry)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * SchemaRegistry.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings + { + public SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) + { + TreatDangerousAsBreaking = treatDangerousAsBreaking; + AllowBreakingSchemaChanges = allowBreakingSchemaChanges; + } + + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + + public virtual global::System.Boolean Equals(SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); + hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings UpdateApiSettings { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings + { + public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Api? Api { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload : ISetApiSettingsCommandMutation_UpdateApiSettings + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPrompt_Api : IApiDetailPrompt_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_Api : ISelectApiPrompt_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api : ISetApiSettingsCommandMutation_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Api : ISetApiSettingsCommandMutation_UpdateApiSettings_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError : ISetApiSettingsCommandMutation_UpdateApiSettings_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnauthorizedOperation : IError + { /// - /// Fetches an object given its ID. + /// The name of the current Object type at runtime. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_Api : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Api - { - public ShowWorkspaceCommandQuery_Node_Api() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_ApiDocument : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ApiDocument - { - public ShowWorkspaceCommandQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_ApiKey : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ApiKey - { - public ShowWorkspaceCommandQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_Client : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Client - { - public ShowWorkspaceCommandQuery_Node_Client() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ClientChangeLog - { - public ShowWorkspaceCommandQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_ClientDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ClientDeployment - { - public ShowWorkspaceCommandQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_ClientVersion : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ClientVersion - { - public ShowWorkspaceCommandQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics - { - public ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_Environment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Environment - { - public ShowWorkspaceCommandQuery_Node_Environment() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog - { - public ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment - { - public ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition - { - public ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_Group : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Group - { - public ShowWorkspaceCommandQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OpenApiCollection - { - public ShowWorkspaceCommandQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog - { - public ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment - { - public ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion - { - public ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_Organization : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Organization - { - public ShowWorkspaceCommandQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_OrganizationMember : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OrganizationMember - { - public ShowWorkspaceCommandQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_SchemaChangeLog - { - public ShowWorkspaceCommandQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_SchemaDeployment - { - public ShowWorkspaceCommandQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_Stage : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Stage - { - public ShowWorkspaceCommandQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_User : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_User - { - public ShowWorkspaceCommandQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_Workspace : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Workspace - { - public ShowWorkspaceCommandQuery_Node_Workspace(global::System.String id, global::System.String name, global::System.Boolean personal) - { - Id = id; - Name = name; - Personal = personal; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Boolean Personal { get; } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::System.Object.Equals(Personal, other.Personal); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Personal.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_WorkspaceDocument - { - public ShowWorkspaceCommandQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ShowWorkspaceCommandQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQueryResult - { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation : ISetApiSettingsCommandMutation_UpdateApiSettings_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace_Workspace : ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_ApiSettings : ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry + { + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry_SchemaRegistrySettings : ISetApiSettingsCommandMutation_UpdateApiSettings_Api_Settings_SchemaRegistry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQueryResult : global::System.IEquatable, IShowApiCommandQueryResult + { + public ShowApiCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQuery_Node? Node { get; } - } - - /// - /// The node interface is implemented by entities that have a global unique identifier. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_Api : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_ApiDocument : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_ApiKey : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_Client : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_ClientChangeLog : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_ClientDeployment : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_ClientVersion : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_Environment : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_Group : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_OpenApiCollection : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_Organization : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_OrganizationMember : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_SchemaChangeLog : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_SchemaDeployment : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_Stage : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_User : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IWorkspaceDetailPrompt_Workspace - { - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Boolean Personal { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_Workspace : IShowWorkspaceCommandQuery_Node, IWorkspaceDetailPrompt_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQuery_Node_WorkspaceDocument : IShowWorkspaceCommandQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutationResult : global::System.IEquatable, ICreateWorkspaceCommandMutationResult - { - public CreateWorkspaceCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace createWorkspace) - { - CreateWorkspace = createWorkspace; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace CreateWorkspace { get; } - - public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutationResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (CreateWorkspace.Equals(other.CreateWorkspace)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateWorkspaceCommandMutationResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * CreateWorkspace.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload : global::System.IEquatable, ICreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload - { - public CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace? workspace, global::System.Collections.Generic.IReadOnlyList? errors) - { - Workspace = workspace; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace? Workspace { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace : global::System.IEquatable, ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace - { - public CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace(global::System.String id, global::System.String name, global::System.Boolean personal) - { - Id = id; - Name = name; - Personal = personal; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Boolean Personal { get; } - - public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::System.Object.Equals(Personal, other.Personal); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Personal.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation - { - public CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError : global::System.IEquatable, ICreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError - { - public CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutationResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace CreateWorkspace { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace - { - public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace? Workspace { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload : ICreateWorkspaceCommandMutation_CreateWorkspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace : IWorkspaceDetailPrompt_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace : ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation : ICreateWorkspaceCommandMutation_CreateWorkspace_Errors - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError : ICreateWorkspaceCommandMutation_CreateWorkspace_Errors - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQueryResult : global::System.IEquatable, IListWorkspaceCommandQueryResult - { - public ListWorkspaceCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me? me) - { - Me = me; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me? Me { get; } - - public virtual global::System.Boolean Equals(ListWorkspaceCommandQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Me is null && other.Me is null) || Me != null && Me.Equals(other.Me))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListWorkspaceCommandQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Me != null) - { - hash ^= 397 * Me.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQuery_Me_Viewer : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Viewer - { - public ListWorkspaceCommandQuery_Me_Viewer(global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces? workspaces) - { - Workspaces = workspaces; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces? Workspaces { get; } - - public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Viewer? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Workspaces is null && other.Workspaces is null) || Workspaces != null && Workspaces.Equals(other.Workspaces))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListWorkspaceCommandQuery_Me_Viewer)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Workspaces != null) - { - hash ^= 397 * Workspaces.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection - { - public ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge - { - public ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo - { - public ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace - { - public ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace(global::System.String id, global::System.String name, global::System.Boolean personal) - { - Id = id; - Name = name; - Personal = personal; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Boolean Personal { get; } - - public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::System.Object.Equals(Personal, other.Personal); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Personal.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me? Me { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me - { - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces? Workspaces { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Viewer : IListWorkspaceCommandQuery_Me - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Workspaces - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection : IListWorkspaceCommandQuery_Me_Workspaces - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommand_WorkspaceEdge - { - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Workspaces_Edges : IListWorkspaceCommand_WorkspaceEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge : IListWorkspaceCommandQuery_Me_Workspaces_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Workspaces_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo : IListWorkspaceCommandQuery_Me_Workspaces_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommand_Workspace : IWorkspaceDetailPrompt_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node : IListWorkspaceCommand_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace : IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_QueryResult - { - public SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me? me) - { - Me = me; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me? Me { get; } - - public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Me is null && other.Me is null) || Me != null && Me.Equals(other.Me))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Me != null) - { - hash ^= 397 * Me.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer - { - public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer(global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces? workspaces) - { - Workspaces = workspaces; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces? Workspaces { get; } - - public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Workspaces is null && other.Workspaces is null) || Workspaces != null && Workspaces.Equals(other.Workspaces))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Workspaces != null) - { - hash ^= 397 * Workspaces.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection - { - public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(ShowApiCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Api : global::System.IEquatable, IShowApiCommandQuery_Node_Api + { + public ShowApiCommandQuery_Node_Api(global::System.String id, global::System.String name, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings settings) + { + Id = id; + Name = name; + Path = path; + Workspace = workspace; + Settings = settings; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings Settings { get; } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + hash ^= 397 * Settings.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_ApiDocument : global::System.IEquatable, IShowApiCommandQuery_Node_ApiDocument + { + public ShowApiCommandQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_ApiKey : global::System.IEquatable, IShowApiCommandQuery_Node_ApiKey + { + public ShowApiCommandQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Client : global::System.IEquatable, IShowApiCommandQuery_Node_Client + { + public ShowApiCommandQuery_Node_Client() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_ClientChangeLog + { + public ShowApiCommandQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_ClientDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_ClientDeployment + { + public ShowApiCommandQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_ClientVersion : global::System.IEquatable, IShowApiCommandQuery_Node_ClientVersion + { + public ShowApiCommandQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IShowApiCommandQuery_Node_CoordinateClientUsageMetrics + { + public ShowApiCommandQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Environment : global::System.IEquatable, IShowApiCommandQuery_Node_Environment + { + public ShowApiCommandQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_FusionConfigurationChangeLog + { + public ShowApiCommandQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_FusionConfigurationDeployment + { + public ShowApiCommandQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition + { + public ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLDirectiveDefinition + { + public ShowApiCommandQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLEnumTypeDefinition + { + public ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLEnumValueDefinition + { + public ShowApiCommandQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition + { + public ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition + { + public ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition + { + public ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition + { + public ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLObjectFieldDefinition + { + public ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLScalarTypeDefinition + { + public ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IShowApiCommandQuery_Node_GraphQLUnionTypeDefinition + { + public ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Group : global::System.IEquatable, IShowApiCommandQuery_Node_Group + { + public ShowApiCommandQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_McpFeatureCollection : global::System.IEquatable, IShowApiCommandQuery_Node_McpFeatureCollection + { + public ShowApiCommandQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_McpFeatureCollectionChangeLog + { + public ShowApiCommandQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_McpFeatureCollectionDeployment + { + public ShowApiCommandQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IShowApiCommandQuery_Node_McpFeatureCollectionVersion + { + public ShowApiCommandQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IShowApiCommandQuery_Node_OpenApiCollection + { + public ShowApiCommandQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_OpenApiCollectionChangeLog + { + public ShowApiCommandQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_OpenApiCollectionDeployment + { + public ShowApiCommandQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IShowApiCommandQuery_Node_OpenApiCollectionVersion + { + public ShowApiCommandQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Organization : global::System.IEquatable, IShowApiCommandQuery_Node_Organization + { + public ShowApiCommandQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_OrganizationMember : global::System.IEquatable, IShowApiCommandQuery_Node_OrganizationMember + { + public ShowApiCommandQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IShowApiCommandQuery_Node_SchemaChangeLog + { + public ShowApiCommandQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IShowApiCommandQuery_Node_SchemaDeployment + { + public ShowApiCommandQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Stage : global::System.IEquatable, IShowApiCommandQuery_Node_Stage + { + public ShowApiCommandQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_User : global::System.IEquatable, IShowApiCommandQuery_Node_User + { + public ShowApiCommandQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Workspace : global::System.IEquatable, IShowApiCommandQuery_Node_Workspace + { + public ShowApiCommandQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IShowApiCommandQuery_Node_WorkspaceDocument + { + public ShowApiCommandQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Workspace_Workspace : global::System.IEquatable, IShowApiCommandQuery_Node_Workspace_Workspace + { + public ShowApiCommandQuery_Node_Workspace_Workspace(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Settings_ApiSettings : global::System.IEquatable, IShowApiCommandQuery_Node_Settings_ApiSettings + { + public ShowApiCommandQuery_Node_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry schemaRegistry) + { + SchemaRegistry = schemaRegistry; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Settings_ApiSettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (SchemaRegistry.Equals(other.SchemaRegistry)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Settings_ApiSettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * SchemaRegistry.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, IShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings + { + public ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) + { + TreatDangerousAsBreaking = treatDangerousAsBreaking; + AllowBreakingSchemaChanges = allowBreakingSchemaChanges; + } + + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + + public virtual global::System.Boolean Equals(ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); + hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQueryResult + { /// - /// Information to aid in pagination. + /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node? Node { get; } + } + /// - /// An edge in a connection. + /// The node interface is implemented by entities that have a global unique identifier. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge - { - public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo - { - public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } - /// - /// When paginating forwards, the cursor to continue. - /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace - { - public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace(global::System.String id, global::System.String name, global::System.Boolean personal) - { - Id = id; - Name = name; - Personal = personal; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Boolean Personal { get; } - - public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::System.Object.Equals(Personal, other.Personal); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * Personal.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_QueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me? Me { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me - { - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces? Workspaces { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Api : IShowApiCommandQuery_Node, IApiDetailPrompt_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_ApiDocument : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_ApiKey : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Client : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_ClientChangeLog : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_ClientDeployment : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_ClientVersion : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_CoordinateClientUsageMetrics : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Environment : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_FusionConfigurationChangeLog : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_FusionConfigurationDeployment : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLDirectiveDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLEnumTypeDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLEnumValueDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLObjectFieldDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLScalarTypeDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_GraphQLUnionTypeDefinition : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Group : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_McpFeatureCollection : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_McpFeatureCollectionChangeLog : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_McpFeatureCollectionDeployment : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_McpFeatureCollectionVersion : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_OpenApiCollection : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_OpenApiCollectionChangeLog : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_OpenApiCollectionDeployment : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_OpenApiCollectionVersion : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Organization : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_OrganizationMember : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_SchemaChangeLog : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_SchemaDeployment : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Stage : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_User : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Workspace : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_WorkspaceDocument : IShowApiCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Workspace_1 + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Workspace_Workspace : IShowApiCommandQuery_Node_Workspace_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Settings + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Settings_ApiSettings : IShowApiCommandQuery_Node_Settings + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Settings_SchemaRegistry + { + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings : IShowApiCommandQuery_Node_Settings_SchemaRegistry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutationResult : global::System.IEquatable, ICreateClientCommandMutationResult + { + public CreateClientCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient createClient) + { + CreateClient = createClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient CreateClient { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CreateClient.Equals(other.CreateClient)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CreateClient.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_CreateClientPayload : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_CreateClientPayload + { + public CreateClientCommandMutation_CreateClient_CreateClientPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client? client, global::System.Collections.Generic.IReadOnlyList? errors) + { + Client = client; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_CreateClientPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_CreateClientPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Client_Client : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Client + { + public CreateClientCommandMutation_CreateClient_Client_Client(global::System.String name, global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? api, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? versions) + { + Name = name; + Id = id; + Api = api; + Versions = versions; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? Api { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? Versions { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + if (Api != null) + { + hash ^= 397 * Api.GetHashCode(); + } + + if (Versions != null) + { + hash ^= 397 * Versions.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError + { + public CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError(global::System.String message, global::System.String __typename, global::System.String apiId) + { + Message = message; + this.__typename = __typename; + ApiId = apiId; + } + + public global::System.String Message { get; } /// - /// A cursor for use in pagination. + /// The name of the current Object type at runtime. /// - public global::System.String Cursor { get; } + public global::System.String __typename { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation + { + public CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) + { + Message = message; + this.__typename = __typename; + } + + public global::System.String Message { get; } /// - /// The item at the end of the edge. + /// The name of the current Object type at runtime. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_Workspace - { - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Boolean Personal { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node : ISetDefaultWorkspaceCommand_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersionResult : global::System.IEquatable, IPublishSchemaVersionResult - { - public PublishSchemaVersionResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema publishSchema) - { - PublishSchema = publishSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema PublishSchema { get; } - - public virtual global::System.Boolean Equals(PublishSchemaVersionResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (PublishSchema.Equals(other.PublishSchema)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishSchemaVersionResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * PublishSchema.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersion_PublishSchema_PublishSchemaPayload : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_PublishSchemaPayload - { - public PublishSchemaVersion_PublishSchema_PublishSchemaPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) - { - Id = id; - Errors = errors; - } - - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_PublishSchemaPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishSchemaVersion_PublishSchema_PublishSchemaPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Id != null) - { - hash ^= 397 * Id.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_Errors_StageNotFoundError - { - public PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError - { - public PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) - { - this.__typename = __typename; - Message = message; - ApiId = apiId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError - { - public PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError(global::System.String message, global::System.String apiId, global::System.String tag) - { - Message = message; - ApiId = apiId; - Tag = tag; - } - - public global::System.String Message { get; } - public global::System.String ApiId { get; } - public global::System.String Tag { get; } - - public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ApiId.Equals(other.ApiId) && Tag.Equals(other.Tag); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation - { - public PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersionResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema PublishSchema { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersion_PublishSchema - { - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersion_PublishSchema_PublishSchemaPayload : IPublishSchemaVersion_PublishSchema - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersion_PublishSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersion_PublishSchema_Errors_StageNotFoundError : IPublishSchemaVersion_PublishSchema_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError : IPublishSchemaVersion_PublishSchema_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaNotFoundError : IError - { - public global::System.String ApiId { get; } - public global::System.String Tag { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError : IPublishSchemaVersion_PublishSchema_Errors, ISchemaNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation : IPublishSchemaVersion_PublishSchema_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdatedResult : global::System.IEquatable, IOnSchemaVersionPublishUpdatedResult - { - public OnSchemaVersionPublishUpdatedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate onSchemaVersionPublishingUpdate) - { - OnSchemaVersionPublishingUpdate = onSchemaVersionPublishingUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate OnSchemaVersionPublishingUpdate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdatedResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OnSchemaVersionPublishingUpdate.Equals(other.OnSchemaVersionPublishingUpdate)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdatedResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OnSchemaVersionPublishingUpdate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued(global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) - { - this.__typename = __typename; - Queued = queued; - QueuePosition = queuePosition; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Queued { get; } - public global::System.Int32 QueuePosition { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Queued.GetHashCode(); - hash ^= 397 * QueuePosition.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady(global::System.String __typename, global::System.String ready) - { - this.__typename = __typename; - Ready = ready; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Ready { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Ready.Equals(other.Ready); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Ready.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - State = state; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) - { - this.__typename = __typename; - State = state; - Deployment = deployment; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - if (Deployment != null) - { - hash ^= 397 * Deployment.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError() - { - } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) - { - this.__typename = __typename; - Message = message; - Column = column; - Position = position; - Line = line; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Int32 Column { get; } - public global::System.Int32 Position { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Position.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) - { - Message = message; - Code = code; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) - { - Message = message; - Changes = changes; - } - - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) - { - Message = message; - Changes = changes; - } - - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) - { - this.__typename = __typename; - Message = message; - Column = column; - Position = position; - Line = line; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Int32 Column { get; } - public global::System.Int32 Position { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Position.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) - { - Errors = errors; - HttpMethod = httpMethod; - Route = route; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * HttpMethod.GetHashCode(); - hash ^= 397 * Route.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) - { - Errors = errors; - Name = name; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Message = message; - Code = code; - Path = path; - Locations = locations; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) - { - Message = message; - Code = code; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Code = code; - Message = message; - Path = path; - Locations = locations; - } - - public global::System.String? Code { get; } - public global::System.String Message { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - this.__typename = __typename; - Changes = changes; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged - { - public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdatedResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate OnSchemaVersionPublishingUpdate { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IOperationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IProcessingTaskApproved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IProcessingTaskIsQueued - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IProcessingTaskIsReady - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionPublishFailed - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, ISchemaVersionPublishFailed - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionPublishSuccess - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, ISchemaVersionPublishSuccess - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IWaitForApproval - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IConcurrentOperationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IOperationsAreNotAllowedError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IProcessingTimeoutError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionChangeViolationError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, ISchemaVersionChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, ISchemaVersionSyntaxError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IUnexpectedProcessingError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, ISchemaChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_2, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3, ISchemaChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3, IOperationsAreNotAllowedError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3, ISchemaVersionSyntaxError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities - { - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_1, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_2, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_2, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchemaResult : global::System.IEquatable, IUploadSchemaResult - { - public UploadSchemaResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema uploadSchema) - { - UploadSchema = uploadSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema UploadSchema { get; } - - public virtual global::System.Boolean Equals(UploadSchemaResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (UploadSchema.Equals(other.UploadSchema)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadSchemaResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * UploadSchema.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchema_UploadSchema_UploadSchemaPayload : global::System.IEquatable, IUploadSchema_UploadSchema_UploadSchemaPayload - { - public UploadSchema_UploadSchema_UploadSchemaPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_SchemaVersion? schemaVersion, global::System.Collections.Generic.IReadOnlyList? errors) - { - SchemaVersion = schemaVersion; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_SchemaVersion? SchemaVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_UploadSchemaPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((SchemaVersion is null && other.SchemaVersion is null) || SchemaVersion != null && SchemaVersion.Equals(other.SchemaVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadSchema_UploadSchema_UploadSchemaPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (SchemaVersion != null) - { - hash ^= 397 * SchemaVersion.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchema_UploadSchema_SchemaVersion_SchemaVersion : global::System.IEquatable, IUploadSchema_UploadSchema_SchemaVersion_SchemaVersion - { - public UploadSchema_UploadSchema_SchemaVersion_SchemaVersion(global::System.String id) - { - Id = id; - } - - public global::System.String Id { get; } - - public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_SchemaVersion_SchemaVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadSchema_UploadSchema_SchemaVersion_SchemaVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchema_UploadSchema_Errors_ApiNotFoundError : global::System.IEquatable, IUploadSchema_UploadSchema_Errors_ApiNotFoundError - { - public UploadSchema_UploadSchema_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) - { - this.__typename = __typename; - Message = message; - ApiId = apiId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadSchema_UploadSchema_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchema_UploadSchema_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadSchema_UploadSchema_Errors_ConcurrentOperationError - { - public UploadSchema_UploadSchema_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadSchema_UploadSchema_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchema_UploadSchema_Errors_DuplicatedTagError : global::System.IEquatable, IUploadSchema_UploadSchema_Errors_DuplicatedTagError - { - public UploadSchema_UploadSchema_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_Errors_DuplicatedTagError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadSchema_UploadSchema_Errors_DuplicatedTagError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchema_UploadSchema_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadSchema_UploadSchema_Errors_UnauthorizedOperation - { - public UploadSchema_UploadSchema_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((UploadSchema_UploadSchema_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchemaResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema UploadSchema { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema - { - public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_SchemaVersion? SchemaVersion { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema_UploadSchemaPayload : IUploadSchema_UploadSchema - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema_SchemaVersion - { - public global::System.String Id { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema_SchemaVersion_SchemaVersion : IUploadSchema_UploadSchema_SchemaVersion - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema_Errors_ApiNotFoundError : IUploadSchema_UploadSchema_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema_Errors_ConcurrentOperationError : IUploadSchema_UploadSchema_Errors, IConcurrentOperationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema_Errors_DuplicatedTagError : IUploadSchema_UploadSchema_Errors, IDuplicatedTagError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchema_UploadSchema_Errors_UnauthorizedOperation : IUploadSchema_UploadSchema_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersionResult : global::System.IEquatable, IValidateSchemaVersionResult - { - public ValidateSchemaVersionResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema validateSchema) - { - ValidateSchema = validateSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema ValidateSchema { get; } - - public virtual global::System.Boolean Equals(ValidateSchemaVersionResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ValidateSchema.Equals(other.ValidateSchema)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateSchemaVersionResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ValidateSchema.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload - { - public ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) - { - Id = id; - Errors = errors; - } - - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Id != null) - { - hash ^= 397 * Id.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError - { - public ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError - { - public ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError(global::System.String message, global::System.String apiId, global::System.String tag) - { - Message = message; - ApiId = apiId; - Tag = tag; - } - - public global::System.String Message { get; } - public global::System.String ApiId { get; } - public global::System.String Tag { get; } - - public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ApiId.Equals(other.ApiId) && Tag.Equals(other.Tag); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError - { - public ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) - { - this.__typename = __typename; - Message = message; - ApiId = apiId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation - { - public ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersionResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema ValidateSchema { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersion_ValidateSchema - { - public global::System.String? Id { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload : IValidateSchemaVersion_ValidateSchema - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersion_ValidateSchema_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError : IValidateSchemaVersion_ValidateSchema_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError : IValidateSchemaVersion_ValidateSchema_Errors, ISchemaNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError : IValidateSchemaVersion_ValidateSchema_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation : IValidateSchemaVersion_ValidateSchema_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdatedResult : global::System.IEquatable, IOnSchemaVersionValidationUpdatedResult - { - public OnSchemaVersionValidationUpdatedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate onSchemaVersionValidationUpdate) - { - OnSchemaVersionValidationUpdate = onSchemaVersionValidationUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate OnSchemaVersionValidationUpdate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdatedResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OnSchemaVersionValidationUpdate.Equals(other.OnSchemaVersionValidationUpdate)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdatedResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OnSchemaVersionValidationUpdate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - State = state; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - State = state; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) - { - this.__typename = __typename; - State = state; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && State.Equals(other.State); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * State.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError() - { - } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) - { - this.__typename = __typename; - Message = message; - Column = column; - Position = position; - Line = line; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Int32 Column { get; } - public global::System.Int32 Position { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Position.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) - { - Message = message; - Code = code; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) - { - Errors = errors; - HttpMethod = httpMethod; - Route = route; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * HttpMethod.GetHashCode(); - hash ^= 397 * Route.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) - { - Errors = errors; - Name = name; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Message = message; - Code = code; - Path = path; - Locations = locations; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - this.__typename = __typename; - Changes = changes; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2 - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Code = code; - Message = message; - Path = path; - Locations = locations; - } - - public global::System.String? Code { get; } - public global::System.String Message { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation - { - public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdatedResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate OnSchemaVersionValidationUpdate { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate, IOperationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionValidationFailed - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate, ISchemaVersionValidationFailed - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionValidationSuccess - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate, ISchemaVersionValidationSuccess - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate, IValidationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IOperationsAreNotAllowedError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IProcessingTimeoutError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, ISchemaVersionChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, ISchemaVersionSyntaxError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IUnexpectedProcessingError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities - { - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_1, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_2, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_2, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublishResult : global::System.IEquatable, ICancelFusionConfigurationPublishResult - { - public CancelFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition cancelFusionConfigurationComposition) - { - CancelFusionConfigurationComposition = cancelFusionConfigurationComposition; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition CancelFusionConfigurationComposition { get; } - - public virtual global::System.Boolean Equals(CancelFusionConfigurationPublishResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (CancelFusionConfigurationComposition.Equals(other.CancelFusionConfigurationComposition)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CancelFusionConfigurationPublishResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * CancelFusionConfigurationComposition.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload : global::System.IEquatable, ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload - { - public CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload(global::System.Collections.Generic.IReadOnlyList? errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation : global::System.IEquatable, ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation - { - public CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : global::System.IEquatable, ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError - { - public CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError - { - public CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationPublishResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition CancelFusionConfigurationComposition { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition - { - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload : ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation : ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationRequestNotFoundError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors, IFusionConfigurationRequestNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInvalidProcessingStateTransitionError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors, IInvalidProcessingStateTransitionError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublishResult : global::System.IEquatable, ICommitFusionConfigurationPublishResult - { - public CommitFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish commitFusionConfigurationPublish) - { - CommitFusionConfigurationPublish = commitFusionConfigurationPublish; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish CommitFusionConfigurationPublish { get; } - - public virtual global::System.Boolean Equals(CommitFusionConfigurationPublishResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (CommitFusionConfigurationPublish.Equals(other.CommitFusionConfigurationPublish)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CommitFusionConfigurationPublishResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * CommitFusionConfigurationPublish.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload : global::System.IEquatable, ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload - { - public CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload(global::System.Collections.Generic.IReadOnlyList? errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation : global::System.IEquatable, ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation - { - public CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError : global::System.IEquatable, ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError - { - public CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError - { - public CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublishResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish CommitFusionConfigurationPublish { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish - { - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload : ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation : ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError : ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors, IFusionConfigurationRequestNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError : ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors, IInvalidProcessingStateTransitionError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublishResult : global::System.IEquatable, IStartFusionConfigurationPublishResult - { - public StartFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition startFusionConfigurationComposition) - { - StartFusionConfigurationComposition = startFusionConfigurationComposition; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition StartFusionConfigurationComposition { get; } - - public virtual global::System.Boolean Equals(StartFusionConfigurationPublishResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (StartFusionConfigurationComposition.Equals(other.StartFusionConfigurationComposition)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((StartFusionConfigurationPublishResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * StartFusionConfigurationComposition.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload : global::System.IEquatable, IStartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload - { - public StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload(global::System.Collections.Generic.IReadOnlyList? errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation : global::System.IEquatable, IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation - { - public StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : global::System.IEquatable, IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError - { - public StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError - { - public StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationPublishResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition StartFusionConfigurationComposition { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition - { - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload : IStartFusionConfigurationPublish_StartFusionConfigurationComposition - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation : IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors, IFusionConfigurationRequestNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors, IInvalidProcessingStateTransitionError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublishResult : global::System.IEquatable, IBeginFusionConfigurationPublishResult - { - public BeginFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish beginFusionConfigurationPublish) - { - BeginFusionConfigurationPublish = beginFusionConfigurationPublish; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish BeginFusionConfigurationPublish { get; } - - public virtual global::System.Boolean Equals(BeginFusionConfigurationPublishResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (BeginFusionConfigurationPublish.Equals(other.BeginFusionConfigurationPublish)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((BeginFusionConfigurationPublishResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * BeginFusionConfigurationPublish.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload - { - public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload(global::System.String? requestId, global::System.Collections.Generic.IReadOnlyList? errors) - { - RequestId = requestId; - Errors = errors; - } - - public global::System.String? RequestId { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((RequestId is null && other.RequestId is null) || RequestId != null && RequestId.Equals(other.RequestId))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (RequestId != null) - { - hash ^= 397 * RequestId.GetHashCode(); - } - - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation - { - public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError - { - public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) - { - this.__typename = __typename; - Message = message; - ApiId = apiId; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String ApiId { get; } - - public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * ApiId.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError - { - public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) - { - this.__typename = __typename; - Message = message; - Name = name; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError - { - public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError - { - public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublishResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish BeginFusionConfigurationPublish { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish - { - public global::System.String? RequestId { get; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, IApiNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, IStageNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISubgraphInvalidError : IError - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, ISubgraphInvalidError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, IInvalidProcessingStateTransitionError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChangedResult : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChangedResult - { - public OnFusionConfigurationPublishingTaskChangedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged onFusionConfigurationPublishingTaskChanged) - { - OnFusionConfigurationPublishingTaskChanged = onFusionConfigurationPublishingTaskChanged; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged OnFusionConfigurationPublishingTaskChanged { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChangedResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OnFusionConfigurationPublishingTaskChanged.Equals(other.OnFusionConfigurationPublishingTaskChanged)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChangedResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OnFusionConfigurationPublishingTaskChanged.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String failed, global::System.Collections.Generic.IReadOnlyList errors) - { - State = state; - this.__typename = __typename; - Failed = failed; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Failed { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Failed.Equals(other.Failed) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Failed.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String success) - { - State = state; - this.__typename = __typename; - Success = success; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Success { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Success.Equals(other.Success); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Success.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String failed, global::System.Collections.Generic.IReadOnlyList errors) - { - State = state; - this.__typename = __typename; - Failed = failed; - Errors = errors; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Failed { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Failed.Equals(other.Failed) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Failed.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String success, global::System.Collections.Generic.IReadOnlyList changes) - { - State = state; - this.__typename = __typename; - Success = success; - Changes = changes; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Success { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Success.Equals(other.Success) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Success.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename) - { - State = state; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename) - { - State = state; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) - { - State = state; - this.__typename = __typename; - Queued = queued; - QueuePosition = queuePosition; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Queued { get; } - public global::System.Int32 QueuePosition { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Queued.GetHashCode(); - hash ^= 397 * QueuePosition.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String ready) - { - State = state; - this.__typename = __typename; - Ready = ready; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Ready { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Ready.Equals(other.Ready); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Ready.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename) - { - State = state; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) - { - State = state; - this.__typename = __typename; - Deployment = deployment; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (State.Equals(other.State)) && __typename.Equals(other.__typename) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * State.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - if (Deployment != null) - { - hash ^= 397 * Deployment.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError(global::System.String message, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList errors) - { - Message = message; - this.__typename = __typename; - Errors = errors; - } - - public global::System.String Message { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) - { - Message = message; - Code = code; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) - { - Message = message; - Changes = changes; - } - - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) - { - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String Message { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? Client { get; } - public global::System.Collections.Generic.IReadOnlyList Queries { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Client != null) - { - hash ^= 397 * Client.GetHashCode(); - } - - foreach (var Queries_elm in Queries) - { - hash ^= 397 * Queries_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) - { - Message = message; - Changes = changes; - } - - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) - { - this.__typename = __typename; - Message = message; - Column = column; - Position = position; - Line = line; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Int32 Column { get; } - public global::System.Int32 Position { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Position.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) - { - this.__typename = __typename; - Message = message; - Errors = errors; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) - { - Collections = collections; - } - - public global::System.Collections.Generic.IReadOnlyList Collections { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Collections_elm in Collections) - { - hash ^= 397 * Collections_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) - { - Errors = errors; - HttpMethod = httpMethod; - Route = route; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * HttpMethod.GetHashCode(); - hash ^= 397 * Route.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) - { - Errors = errors; - Name = name; - } - - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Message = message; - Code = code; - Path = path; - Locations = locations; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - this.__typename = __typename; - Changes = changes; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) - { - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) - { - Severity = severity; - Old = old; - New = @new; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) - { - Severity = severity; - OldType = oldType; - NewType = newType; - this.__typename = __typename; - } - - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - hash ^= 397 * __typename.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) - { - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - foreach (var DeployedTags_elm in DeployedTags) - { - hash ^= 397 * DeployedTags_elm.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - hash ^= 397 * Hash.GetHashCode(); - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) - { - this.__typename = __typename; - Severity = severity; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) - { - Message = message; - Code = code; - } - - public global::System.String Message { get; } - public global::System.String? Code { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) - { - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollection != null) - { - hash ^= 397 * OpenApiCollection.GetHashCode(); - } - - foreach (var Entities_elm in Entities) - { - hash ^= 397 * Entities_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) - { - Code = code; - Message = message; - Path = path; - Locations = locations; - } - - public global::System.String? Code { get; } - public global::System.String Message { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Code != null) - { - hash ^= 397 * Code.GetHashCode(); - } - - hash ^= 397 * Message.GetHashCode(); - if (Path != null) - { - hash ^= 397 * Path.GetHashCode(); - } - - if (Locations != null) - { - foreach (var Locations_elm in Locations) - { - hash ^= 397 * Locations_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) - { - Message = message; - } - - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Message.Equals(other.Message)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) - { - this.__typename = __typename; - Severity = severity; - DeprecationReason = deprecationReason; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? DeprecationReason { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (DeprecationReason != null) - { - hash ^= 397 * DeprecationReason.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) - { - this.__typename = __typename; - Severity = severity; - OldType = oldType; - NewType = newType; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String OldType { get; } - public global::System.String NewType { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * OldType.GetHashCode(); - hash ^= 397 * NewType.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String Name { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) - { - this.__typename = __typename; - Severity = severity; - Location = location; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Location.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String TypeName { get; } - public global::System.String FieldName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) - { - this.__typename = __typename; - Severity = severity; - InterfaceName = interfaceName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String InterfaceName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * InterfaceName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) - { - this.__typename = __typename; - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String Coordinate { get; } - public global::System.String FieldName { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * Coordinate.GetHashCode(); - hash ^= 397 * FieldName.GetHashCode(); - foreach (var Changes_elm in Changes) - { - hash ^= 397 * Changes_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6 - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) - { - this.__typename = __typename; - Severity = severity; - Old = old; - New = @new; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String? Old { get; } - public global::System.String? New { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - if (Old != null) - { - hash ^= 397 * Old.GetHashCode(); - } - - if (New != null) - { - hash ^= 397 * New.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) - { - this.__typename = __typename; - Severity = severity; - TypeName = typeName; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } - public global::System.String TypeName { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Severity.GetHashCode(); - hash ^= 397 * TypeName.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation - { - public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) - { - Column = column; - Line = line; - } - - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - - public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Column.GetHashCode(); - hash ^= 397 * Line.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChangedResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged OnFusionConfigurationPublishingTaskChanged { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged - { - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationPublishingFailed - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Failed { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IFusionConfigurationPublishingFailed - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationPublishingSuccess - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Success { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IFusionConfigurationPublishingSuccess - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationValidationFailed - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Failed { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IFusionConfigurationValidationFailed - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationValidationSuccess - { - /// - /// The name of the current Object type at runtime. - /// - public global::System.String Success { get; } - public global::System.Collections.Generic.IReadOnlyList Changes { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IFusionConfigurationValidationSuccess - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IOperationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IProcessingTaskApproved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IProcessingTaskIsQueued - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IProcessingTaskIsReady - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IValidationInProgress - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IWaitForApproval - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors - { - public global::System.String Message { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, ISchemaVersionChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IUnexpectedProcessingError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, ISchemaChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_2, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3, IPersistedQueryValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3, ISchemaChangeViolationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3, IOperationsAreNotAllowedError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3, ISchemaVersionSyntaxError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3, IInvalidGraphQLSchemaError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3, IOpenApiCollectionValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities - { - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities - { - public global::System.String HttpMethod { get; } - public global::System.String Route { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - public global::System.String? Path { get; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_1 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_1, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_2 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_2, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_2, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3 - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries - { - public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } - public global::System.String Message { get; } - public global::System.String Hash { get; } - public global::System.Collections.Generic.IReadOnlyList Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes : ISchemaChangeLogEntry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IDirectiveModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IEnumModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IInputObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IInterfaceModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IObjectModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IScalarModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, ITypeSystemMemberAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, ISchemaChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IUnionModifiedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors - { - public global::System.String Message { get; } - public global::System.String? Code { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections - { - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyList Entities { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes, IDeprecatedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes, ITypeChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IArgumentAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IArgumentChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IArgumentRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1, IEnumValueAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1, IEnumValueChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2, IInputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IFieldAddedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_5 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_5, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_6 - { - public global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_6, IDescriptionChanged - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations - { - public global::System.Int32 Column { get; } - public global::System.Int32 Line { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublishResult : global::System.IEquatable, IValidateFusionConfigurationPublishResult - { - public ValidateFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition validateFusionConfigurationComposition) - { - ValidateFusionConfigurationComposition = validateFusionConfigurationComposition; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition ValidateFusionConfigurationComposition { get; } - - public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublishResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ValidateFusionConfigurationComposition.Equals(other.ValidateFusionConfigurationComposition)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateFusionConfigurationPublishResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ValidateFusionConfigurationComposition.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload : global::System.IEquatable, IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload - { - public ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload(global::System.Collections.Generic.IReadOnlyList? errors) - { - Errors = errors; - } - - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - - public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Errors != null) - { - foreach (var Errors_elm in Errors) - { - hash ^= 397 * Errors_elm.GetHashCode(); - } - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation - { - public ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : global::System.IEquatable, IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError - { - public ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError - { - public ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) - { - this.__typename = __typename; - Message = message; - } - - /// - /// The name of the current Object type at runtime. - /// - public global::System.String __typename { get; } - public global::System.String Message { get; } - - public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * __typename.GetHashCode(); - hash ^= 397 * Message.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationPublishResult - { - public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition ValidateFusionConfigurationComposition { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition - { - public global::System.Collections.Generic.IReadOnlyList? Errors { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload : IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation : IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors, IUnauthorizedOperation - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors, IFusionConfigurationRequestNotFoundError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors, IInvalidProcessingStateTransitionError - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQueryResult : global::System.IEquatable, ISelectMockSchemaPromptQueryResult - { - public SelectMockSchemaPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById? apiById) - { - ApiById = apiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById? ApiById { get; } - - public virtual global::System.Boolean Equals(SelectMockSchemaPromptQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectMockSchemaPromptQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ApiById != null) - { - hash ^= 397 * ApiById.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQuery_ApiById_Api : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_Api - { - public SelectMockSchemaPromptQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas? mockSchemas) - { - MockSchemas = mockSchemas; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas? MockSchemas { get; } - - public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((MockSchemas is null && other.MockSchemas is null) || MockSchemas != null && MockSchemas.Equals(other.MockSchemas))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectMockSchemaPromptQuery_ApiById_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (MockSchemas != null) - { - hash ^= 397 * MockSchemas.GetHashCode(); - } - - return hash; - } - } - } - + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Client_Api_Api : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Api_Api + { + public CreateClientCommandMutation_CreateClient_Client_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) + { + Name = name; + Path = path; + } + + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Api_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Client_Api_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + return hash; + } + } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection - { - public SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection + { + public CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge - { - public SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge + { + public CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo - { - public SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo + { + public CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) + { + HasNextPage = hasNextPage; + EndCursor = endCursor; + } + /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema - { - public SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema(global::System.String id, global::System.String name, global::System.DateTimeOffset createdAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy createdBy, global::System.DateTimeOffset modifiedAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy modifiedBy, global::System.Uri downstreamUrl, global::System.String url) - { - Id = id; - Name = name; - CreatedAt = createdAt; - CreatedBy = createdBy; - ModifiedAt = modifiedAt; - ModifiedBy = modifiedBy; - DownstreamUrl = downstreamUrl; - Url = url; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } - public global::System.DateTimeOffset ModifiedAt { get; } - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } - public global::System.Uri DownstreamUrl { get; } - public global::System.String Url { get; } - - public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && CreatedAt.Equals(other.CreatedAt) && CreatedBy.Equals(other.CreatedBy) && ModifiedAt.Equals(other.ModifiedAt) && ModifiedBy.Equals(other.ModifiedBy) && DownstreamUrl.Equals(other.DownstreamUrl) && Url.Equals(other.Url); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * CreatedBy.GetHashCode(); - hash ^= 397 * ModifiedAt.GetHashCode(); - hash ^= 397 * ModifiedBy.GetHashCode(); - hash ^= 397 * DownstreamUrl.GetHashCode(); - hash ^= 397 * Url.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo - { - public SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo(global::System.String username) - { - Username = username; - } - - public global::System.String Username { get; } - - public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Username.Equals(other.Username)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Username.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo - { - public SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo(global::System.String username) - { - Username = username; - } - - public global::System.String Username { get; } - - public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Username.Equals(other.Username)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Username.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById? ApiById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById - { - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas? MockSchemas { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_Api : ISelectMockSchemaPromptQuery_ApiById - { - } - + public global::System.String? EndCursor { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion + { + public CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) + { + Id = id; + CreatedAt = createdAt; + Tag = tag; + PublishedTo = publishedTo; + } + + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + foreach (var PublishedTo_elm in PublishedTo) + { + hash ^= 397 * PublishedTo_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion + { + public CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? stage) + { + Stage = stage; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Stage != null) + { + hash ^= 397 * Stage.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage + { + public CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient CreateClient { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_CreateClientPayload : ICreateClientCommandMutation_CreateClient + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientDetailPrompt_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? Api { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? Versions { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_Client : IClientDetailPrompt_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client : ICreateClientCommandMutation_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Client : ICreateClientCommandMutation_CreateClient_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError : ICreateClientCommandMutation_CreateClient_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation : ICreateClientCommandMutation_CreateClient_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Api + { + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Api_Api : ICreateClientCommandMutation_CreateClient_Client_Api + { + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions + { /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo PageInfo { get; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection : ISelectMockSchemaPromptQuery_ApiById_MockSchemas - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection : ICreateClientCommandMutation_CreateClient_Client_Versions + { + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockCommand_MockEdge - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientDetailPrompt_ClientVersionEdge + { /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node Node { get; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node Node { get; } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges : ISelectMockCommand_MockEdge - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges : IClientDetailPrompt_ClientVersionEdge + { + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockCommand_Mock : IMockSchemaDetailPrompt - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node : ISelectMockCommand_Mock - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy - { - public global::System.String Username { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy - { - public global::System.String Username { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQueryResult : global::System.IEquatable, IPageClientVersionDetailQueryResult - { - public PageClientVersionDetailQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node? node) - { - Node = node; - } - - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node? Node { get; } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Node != null) - { - hash ^= 397 * Node.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Api : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Api - { - public PageClientVersionDetailQuery_Node_Api() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_ApiDocument : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ApiDocument - { - public PageClientVersionDetailQuery_Node_ApiDocument() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ApiDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_ApiDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_ApiKey : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ApiKey - { - public PageClientVersionDetailQuery_Node_ApiKey() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ApiKey? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_ApiKey)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Client : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Client - { - public PageClientVersionDetailQuery_Node_Client(global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions? versions) - { - Versions = versions; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions? Versions { get; } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Versions != null) - { - hash ^= 397 * Versions.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_ClientChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ClientChangeLog - { - public PageClientVersionDetailQuery_Node_ClientChangeLog() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ClientChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_ClientChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_ClientDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ClientDeployment - { - public PageClientVersionDetailQuery_Node_ClientDeployment() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ClientDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_ClientDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_ClientVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ClientVersion - { - public PageClientVersionDetailQuery_Node_ClientVersion() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IPageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics - { - public PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Environment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Environment - { - public PageClientVersionDetailQuery_Node_Environment() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Environment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Environment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_FusionConfigurationChangeLog - { - public PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_FusionConfigurationDeployment - { - public PageClientVersionDetailQuery_Node_FusionConfigurationDeployment() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_FusionConfigurationDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_FusionConfigurationDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition - { - public PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Group : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Group - { - public PageClientVersionDetailQuery_Node_Group() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Group? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Group)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_OpenApiCollection : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OpenApiCollection - { - public PageClientVersionDetailQuery_Node_OpenApiCollection() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog - { - public PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OpenApiCollectionDeployment - { - public PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OpenApiCollectionVersion - { - public PageClientVersionDetailQuery_Node_OpenApiCollectionVersion() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OpenApiCollectionVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_OpenApiCollectionVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Organization : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Organization - { - public PageClientVersionDetailQuery_Node_Organization() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Organization? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Organization)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_OrganizationMember : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OrganizationMember - { - public PageClientVersionDetailQuery_Node_OrganizationMember() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OrganizationMember? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_OrganizationMember)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_SchemaChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_SchemaChangeLog - { - public PageClientVersionDetailQuery_Node_SchemaChangeLog() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_SchemaChangeLog? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_SchemaChangeLog)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_SchemaDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_SchemaDeployment - { - public PageClientVersionDetailQuery_Node_SchemaDeployment() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_SchemaDeployment? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_SchemaDeployment)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Stage : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Stage - { - public PageClientVersionDetailQuery_Node_Stage() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_User : global::System.IEquatable, IPageClientVersionDetailQuery_Node_User - { - public PageClientVersionDetailQuery_Node_User() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_User? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_User)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Workspace : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Workspace - { - public PageClientVersionDetailQuery_Node_Workspace() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_WorkspaceDocument : global::System.IEquatable, IPageClientVersionDetailQuery_Node_WorkspaceDocument - { - public PageClientVersionDetailQuery_Node_WorkspaceDocument() - { - } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_WorkspaceDocument? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return true; - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_WorkspaceDocument)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - return hash; - } - } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_ClientVersionConnection - { - public PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection(global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_PageInfo pageInfo, global::System.Collections.Generic.IReadOnlyList? edges) - { - PageInfo = pageInfo; - Edges = edges; - } - - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_PageInfo PageInfo { get; } - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (PageInfo.Equals(other.PageInfo)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * PageInfo.GetHashCode(); - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - return hash; - } - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge : ICreateClientCommandMutation_CreateClient_Client_Versions_Edges + { + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo - { - public PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) - { - HasNextPage = hasNextPage; - EndCursor = endCursor; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo + { /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - return hash; - } - } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge - { - public PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion - { - public PageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) - { - Id = id; - CreatedAt = createdAt; - Tag = tag; - PublishedTo = publishedTo; - } - - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - foreach (var PublishedTo_elm in PublishedTo) - { - hash ^= 397 * PublishedTo_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion - { - public PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? stage) - { - Stage = stage; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Stage != null) - { - hash ^= 397 * Stage.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage - { - public PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQueryResult - { - /// - /// Fetches an object given its ID. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node? Node { get; } - } - - /// - /// The node interface is implemented by entities that have a global unique identifier. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Api : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_ApiDocument : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_ApiKey : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Client : IPageClientVersionDetailQuery_Node - { - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions? Versions { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_ClientChangeLog : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_ClientDeployment : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_ClientVersion : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Environment : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_FusionConfigurationChangeLog : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_FusionConfigurationDeployment : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Group : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_OpenApiCollection : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_OpenApiCollectionDeployment : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_OpenApiCollectionVersion : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Organization : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_OrganizationMember : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_SchemaChangeLog : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_SchemaDeployment : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Stage : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_User : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Workspace : IPageClientVersionDetailQuery_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_WorkspaceDocument : IPageClientVersionDetailQuery_Node - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions - { - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_PageInfo PageInfo { get; } - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_ClientVersionConnection : IPageClientVersionDetailQuery_Node_Versions - { - } - + public global::System.String? EndCursor { get; } + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_PageInfo - { - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo : ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node + { + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion : ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion : ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage : ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutationResult : global::System.IEquatable, IDeleteClientByIdCommandMutationResult + { + public DeleteClientByIdCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById deleteClientById) + { + DeleteClientById = deleteClientById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById DeleteClientById { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (DeleteClientById.Equals(other.DeleteClientById)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * DeleteClientById.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload + { + public DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Client? client, global::System.Collections.Generic.IReadOnlyList? errors) + { + Client = client; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Client : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Client + { + public DeleteClientByIdCommandMutation_DeleteClientById_Client_Client(global::System.String name, global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? api, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? versions) + { + Name = name; + Id = id; + Api = api; + Versions = versions; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? Api { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? Versions { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + if (Api != null) + { + hash ^= 397 * Api.GetHashCode(); + } + + if (Versions != null) + { + hash ^= 397 * Versions.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError + { + public DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) + { + Message = message; + ClientId = clientId; + } + + public global::System.String Message { get; } + public global::System.String ClientId { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ClientId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation + { + public DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) + { + Message = message; + this.__typename = __typename; + } + + public global::System.String Message { get; } /// - /// When paginating forwards, the cursor to continue. + /// The name of the current Object type at runtime. /// - public global::System.String? EndCursor { get; } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo : IPageClientVersionDetailQuery_Node_Versions_PageInfo - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges : IClientDetailPrompt_ClientVersionEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge : IPageClientVersionDetailQuery_Node_Versions_Edges - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node - { - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion : IPageClientVersionDetailQuery_Node_Versions_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQueryResult : global::System.IEquatable, ISelectClientPromptQueryResult - { - public SelectClientPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById? apiById) - { - ApiById = apiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById? ApiById { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ApiById != null) - { - hash ^= 397 * ApiById.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Api : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Api - { - public SelectClientPromptQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients? clients) - { - Clients = clients; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients? Clients { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Clients is null && other.Clients is null) || Clients != null && Clients.Equals(other.Clients))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Clients != null) - { - hash ^= 397 * Clients.GetHashCode(); - } - - return hash; - } - } - } - + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api + { + public DeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) + { + Name = name; + Path = path; + } + + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + return hash; + } + } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_ClientsConnection : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_ClientsConnection - { - public SelectClientPromptQuery_ApiById_Clients_ClientsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection + { + public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_ClientsConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_ClientsConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge - { - public SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge + { + public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo - { - public SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo + { + public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) + { + HasNextPage = hasNextPage; + EndCursor = endCursor; + } + /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } - /// - /// When paginating backwards, the cursor to continue. - /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Client - { - public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? api, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? versions) - { - Id = id; - Name = name; - Api = api; - Versions = versions; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? Api { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? Versions { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - if (Api != null) - { - hash ^= 397 * Api.GetHashCode(); - } - - if (Versions != null) - { - hash ^= 397 * Versions.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api - { - public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) - { - Name = name; - Path = path; - } - - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - return hash; - } - } - } - + public global::System.String? EndCursor { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion + { + public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) + { + Id = id; + CreatedAt = createdAt; + Tag = tag; + PublishedTo = publishedTo; + } + + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + foreach (var PublishedTo_elm in PublishedTo) + { + hash ^= 397 * PublishedTo_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion + { + public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? stage) + { + Stage = stage; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Stage != null) + { + hash ^= 397 * Stage.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage + { + public DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById DeleteClientById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload : IDeleteClientByIdCommandMutation_DeleteClientById + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_Client : IClientDetailPrompt_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client : IDeleteClientByIdCommandMutation_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Client : IDeleteClientByIdCommandMutation_DeleteClientById_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientNotFoundError : IError + { + public global::System.String ClientId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError : IDeleteClientByIdCommandMutation_DeleteClientById_Errors, IClientNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation : IDeleteClientByIdCommandMutation_DeleteClientById_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Api + { + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Api_Api : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Api + { + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection - { - public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions + { /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_ClientVersionConnection : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions + { + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge - { - public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges : IClientDetailPrompt_ClientVersionEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_ClientVersionEdge : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges + { + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo - { - public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) - { - HasNextPage = hasNextPage; - EndCursor = endCursor; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo + { /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion - { - public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) - { - Id = id; - CreatedAt = createdAt; - Tag = tag; - PublishedTo = publishedTo; - } - - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * CreatedAt.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - foreach (var PublishedTo_elm in PublishedTo) - { - hash ^= 397 * PublishedTo_elm.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion - { - public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? stage) - { - Stage = stage; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Stage != null) - { - hash ^= 397 * Stage.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage - { - public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) - { - Name = name; - } - - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById? ApiById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById - { - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients? Clients { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Api : ISelectClientPromptQuery_ApiById - { - } - + public global::System.String? EndCursor { get; } + } + /// - /// A connection to a list of items. + /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_ClientsConnection : ISelectClientPromptQuery_ApiById_Clients - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPrompt_ClientEdge - { - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges : ISelectClientPrompt_ClientEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge : ISelectClientPromptQuery_ApiById_Clients_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo : ISelectClientPromptQuery_ApiById_Clients_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPrompt_Client : IClientDetailPrompt_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node : ISelectClientPrompt_Client - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Client : ISelectClientPromptQuery_ApiById_Clients_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Api - { - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Api - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges : IClientDetailPrompt_ClientVersionEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo - { - /// - /// Indicates whether more edges exist following the set defined by the clients arguments. - /// - public global::System.Boolean HasNextPage { get; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo_PageInfo : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node + { + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_ClientVersion : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage_Stage : IDeleteClientByIdCommandMutation_DeleteClientById_Client_Versions_Edges_Node_PublishedTo_Stage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQueryResult : global::System.IEquatable, IListClientCommandQueryResult + { + public ListClientCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node? node) + { + Node = node; + } + /// - /// When paginating forwards, the cursor to continue. + /// Fetches an object given its ID. /// - public global::System.String? EndCursor { get; } - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node - { - public global::System.String Id { get; } - public global::System.DateTimeOffset CreatedAt { get; } - public global::System.String Tag { get; } - public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage - { - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQueryResult : global::System.IEquatable, ISelectApiPromptQueryResult - { - public SelectApiPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById? workspaceById) - { - WorkspaceById = workspaceById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById? WorkspaceById { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((WorkspaceById is null && other.WorkspaceById is null) || WorkspaceById != null && WorkspaceById.Equals(other.WorkspaceById))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (WorkspaceById != null) - { - hash ^= 397 * WorkspaceById.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQuery_WorkspaceById_Workspace : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Workspace - { - public SelectApiPromptQuery_WorkspaceById_Workspace(global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis? apis) - { - Apis = apis; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis? Apis { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Apis is null && other.Apis is null) || Apis != null && Apis.Equals(other.Apis))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQuery_WorkspaceById_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Apis != null) - { - hash ^= 397 * Apis.GetHashCode(); - } - - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Api : global::System.IEquatable, IListClientCommandQuery_Node_Api + { + public ListClientCommandQuery_Node_Api(global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients? clients) + { + Clients = clients; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients? Clients { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Clients is null && other.Clients is null) || Clients != null && Clients.Equals(other.Clients))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Clients != null) + { + hash ^= 397 * Clients.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_ApiDocument : global::System.IEquatable, IListClientCommandQuery_Node_ApiDocument + { + public ListClientCommandQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_ApiKey : global::System.IEquatable, IListClientCommandQuery_Node_ApiKey + { + public ListClientCommandQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Client : global::System.IEquatable, IListClientCommandQuery_Node_Client + { + public ListClientCommandQuery_Node_Client() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_ClientChangeLog + { + public ListClientCommandQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_ClientDeployment : global::System.IEquatable, IListClientCommandQuery_Node_ClientDeployment + { + public ListClientCommandQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_ClientVersion : global::System.IEquatable, IListClientCommandQuery_Node_ClientVersion + { + public ListClientCommandQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IListClientCommandQuery_Node_CoordinateClientUsageMetrics + { + public ListClientCommandQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Environment : global::System.IEquatable, IListClientCommandQuery_Node_Environment + { + public ListClientCommandQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_FusionConfigurationChangeLog + { + public ListClientCommandQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IListClientCommandQuery_Node_FusionConfigurationDeployment + { + public ListClientCommandQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition + { + public ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLDirectiveDefinition + { + public ListClientCommandQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLEnumTypeDefinition + { + public ListClientCommandQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLEnumValueDefinition + { + public ListClientCommandQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition + { + public ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition + { + public ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition + { + public ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition + { + public ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLObjectFieldDefinition + { + public ListClientCommandQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLScalarTypeDefinition + { + public ListClientCommandQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IListClientCommandQuery_Node_GraphQLUnionTypeDefinition + { + public ListClientCommandQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Group : global::System.IEquatable, IListClientCommandQuery_Node_Group + { + public ListClientCommandQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_McpFeatureCollection : global::System.IEquatable, IListClientCommandQuery_Node_McpFeatureCollection + { + public ListClientCommandQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_McpFeatureCollectionChangeLog + { + public ListClientCommandQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IListClientCommandQuery_Node_McpFeatureCollectionDeployment + { + public ListClientCommandQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IListClientCommandQuery_Node_McpFeatureCollectionVersion + { + public ListClientCommandQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IListClientCommandQuery_Node_OpenApiCollection + { + public ListClientCommandQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_OpenApiCollectionChangeLog + { + public ListClientCommandQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IListClientCommandQuery_Node_OpenApiCollectionDeployment + { + public ListClientCommandQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IListClientCommandQuery_Node_OpenApiCollectionVersion + { + public ListClientCommandQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Organization : global::System.IEquatable, IListClientCommandQuery_Node_Organization + { + public ListClientCommandQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_OrganizationMember : global::System.IEquatable, IListClientCommandQuery_Node_OrganizationMember + { + public ListClientCommandQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IListClientCommandQuery_Node_SchemaChangeLog + { + public ListClientCommandQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IListClientCommandQuery_Node_SchemaDeployment + { + public ListClientCommandQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Stage : global::System.IEquatable, IListClientCommandQuery_Node_Stage + { + public ListClientCommandQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_User : global::System.IEquatable, IListClientCommandQuery_Node_User + { + public ListClientCommandQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Workspace : global::System.IEquatable, IListClientCommandQuery_Node_Workspace + { + public ListClientCommandQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IListClientCommandQuery_Node_WorkspaceDocument + { + public ListClientCommandQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_ApisConnection - { - public SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_ClientsConnection : global::System.IEquatable, IListClientCommandQuery_Node_Clients_ClientsConnection + { + public ListClientCommandQuery_Node_Clients_ClientsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_ClientsConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_ClientsConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge - { - public SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_ClientsEdge : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_ClientsEdge + { + public ListClientCommandQuery_Node_Clients_Edges_ClientsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_ClientsEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_ClientsEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo - { - public SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_PageInfo_PageInfo : global::System.IEquatable, IListClientCommandQuery_Node_Clients_PageInfo_PageInfo + { + public ListClientCommandQuery_Node_Clients_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + /// /// Indicates whether more edges exist prior the set defined by the clients arguments. /// - public global::System.Boolean HasPreviousPage { get; } + public global::System.Boolean HasPreviousPage { get; } /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } + public global::System.String? EndCursor { get; } /// /// When paginating backwards, the cursor to continue. /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api - { - public SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api(global::System.String id, global::System.String name, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? workspace, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings settings) - { - Id = id; - Name = name; - Path = path; - Workspace = workspace; - Settings = settings; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - public global::System.Collections.Generic.IReadOnlyList Path { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? Workspace { get; } - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings Settings { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - foreach (var Path_elm in Path) - { - hash ^= 397 * Path_elm.GetHashCode(); - } - - if (Workspace != null) - { - hash ^= 397 * Workspace.GetHashCode(); - } - - hash ^= 397 * Settings.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace - { - public SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings - { - public SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry schemaRegistry) - { - SchemaRegistry = schemaRegistry; - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (SchemaRegistry.Equals(other.SchemaRegistry)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * SchemaRegistry.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings - { - public SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) - { - TreatDangerousAsBreaking = treatDangerousAsBreaking; - AllowBreakingSchemaChanges = allowBreakingSchemaChanges; - } - - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - - public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); - hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById? WorkspaceById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById - { - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis? Apis { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Workspace : ISelectApiPromptQuery_WorkspaceById - { - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis - { - /// - /// A list of edges. - /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } - /// - /// Information to aid in pagination. - /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo PageInfo { get; } - } - - /// - /// A connection to a list of items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_ApisConnection : ISelectApiPromptQuery_WorkspaceById_Apis - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPrompt_ApiEdge - { - /// - /// A cursor for use in pagination. - /// - public global::System.String Cursor { get; } - /// - /// The item at the end of the edge. - /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges : ISelectApiPrompt_ApiEdge - { - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge : ISelectApiPromptQuery_WorkspaceById_Apis_Edges - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo : IPageInfo - { - } - - /// - /// Information about pagination in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo : ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node : ISelectApiPrompt_Api - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api : ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace - { - public global::System.String Id { get; } - public global::System.String Name { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace : ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings - { - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry SchemaRegistry { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings : ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry - { - public global::System.Boolean TreatDangerousAsBreaking { get; } - public global::System.Boolean AllowBreakingSchemaChanges { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings : ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQueryResult : global::System.IEquatable, ISelectOpenApiCollectionPromptQueryResult - { - public SelectOpenApiCollectionPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById? apiById) - { - ApiById = apiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById? ApiById { get; } - - public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQueryResult? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectOpenApiCollectionPromptQueryResult)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ApiById != null) - { - hash ^= 397 * ApiById.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQuery_ApiById_Api : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_Api - { - public SelectOpenApiCollectionPromptQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections? openApiCollections) - { - OpenApiCollections = openApiCollections; - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections? OpenApiCollections { get; } - - public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_Api? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((OpenApiCollections is null && other.OpenApiCollections is null) || OpenApiCollections != null && OpenApiCollections.Equals(other.OpenApiCollections))); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectOpenApiCollectionPromptQuery_ApiById_Api)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (OpenApiCollections != null) - { - hash ^= 397 * OpenApiCollections.GetHashCode(); - } - - return hash; - } - } - } - + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Client : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Client + { + public ListClientCommandQuery_Node_Clients_Edges_Node_Client(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? api, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? versions) + { + Id = id; + Name = name; + Api = api; + Versions = versions; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? Api { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? Versions { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + if (Api != null) + { + hash ^= 397 * Api.GetHashCode(); + } + + if (Versions != null) + { + hash ^= 397 * Versions.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Api_Api : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Api_Api + { + public ListClientCommandQuery_Node_Clients_Edges_Node_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) + { + Name = name; + Path = path; + } + + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Api_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Api_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + return hash; + } + } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection - { - public SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo pageInfo) - { - Edges = edges; - PageInfo = pageInfo; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection + { + public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo PageInfo { get; } - - public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Edges != null) - { - foreach (var Edges_elm in Edges) - { - hash ^= 397 * Edges_elm.GetHashCode(); - } - } - - hash ^= 397 * PageInfo.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge - { - public SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node node) - { - Cursor = cursor; - Node = node; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge + { + public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node Node { get; } - - public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Cursor.GetHashCode(); - hash ^= 397 * Node.GetHashCode(); - return hash; - } - } - } - + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo - { - public SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) - { - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - /// - /// Indicates whether more edges exist prior the set defined by the clients arguments. - /// - public global::System.Boolean HasPreviousPage { get; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo + { + public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) + { + HasNextPage = hasNextPage; + EndCursor = endCursor; + } + /// /// Indicates whether more edges exist following the set defined by the clients arguments. /// - public global::System.Boolean HasNextPage { get; } + public global::System.Boolean HasNextPage { get; } /// /// When paginating forwards, the cursor to continue. /// - public global::System.String? EndCursor { get; } + public global::System.String? EndCursor { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion + { + public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) + { + Id = id; + CreatedAt = createdAt; + Tag = tag; + PublishedTo = publishedTo; + } + + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + foreach (var PublishedTo_elm in PublishedTo) + { + hash ^= 397 * PublishedTo_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion + { + public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? stage) + { + Stage = stage; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Stage != null) + { + hash ^= 397 * Stage.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage + { + public ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQueryResult + { /// - /// When paginating backwards, the cursor to continue. + /// Fetches an object given its ID. /// - public global::System.String? StartCursor { get; } - - public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * HasPreviousPage.GetHashCode(); - hash ^= 397 * HasNextPage.GetHashCode(); - if (EndCursor != null) - { - hash ^= 397 * EndCursor.GetHashCode(); - } - - if (StartCursor != null) - { - hash ^= 397 * StartCursor.GetHashCode(); - } - - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection - { - public SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection(global::System.String id, global::System.String name) - { - Id = id; - Name = name; - } - - public global::System.String Id { get; } - public global::System.String Name { get; } - - public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)) && Name.Equals(other.Name); - } - - public override global::System.Boolean Equals(global::System.Object? obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - - if (ReferenceEquals(this, obj)) - { - return true; - } - - if (obj.GetType() != GetType()) - { - return false; - } - - return Equals((SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection)obj); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQueryResult - { - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById? ApiById { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById - { - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections? OpenApiCollections { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_Api : ISelectOpenApiCollectionPromptQuery_ApiById - { - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node? Node { get; } + } + + /// + /// The node interface is implemented by entities that have a global unique identifier. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Api : IListClientCommandQuery_Node + { + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients? Clients { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_ApiDocument : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_ApiKey : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Client : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_ClientChangeLog : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_ClientDeployment : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_ClientVersion : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_CoordinateClientUsageMetrics : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Environment : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_FusionConfigurationChangeLog : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_FusionConfigurationDeployment : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLDirectiveDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLEnumTypeDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLEnumValueDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLObjectFieldDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLScalarTypeDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_GraphQLUnionTypeDefinition : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Group : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_McpFeatureCollection : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_McpFeatureCollectionChangeLog : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_McpFeatureCollectionDeployment : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_McpFeatureCollectionVersion : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_OpenApiCollection : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_OpenApiCollectionChangeLog : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_OpenApiCollectionDeployment : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_OpenApiCollectionVersion : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Organization : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_OrganizationMember : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_SchemaChangeLog : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_SchemaDeployment : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Stage : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_User : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Workspace : IListClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_WorkspaceDocument : IListClientCommandQuery_Node + { + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients + { /// /// A list of edges. /// - public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } /// /// Information to aid in pagination. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo PageInfo { get; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_PageInfo PageInfo { get; } + } + /// /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection : ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_ClientsConnection : IListClientCommandQuery_Node_Clients + { + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPrompt_OpenApiCollectionEdge - { + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges + { /// /// A cursor for use in pagination. /// - public global::System.String Cursor { get; } + public global::System.String Cursor { get; } /// /// The item at the end of the edge. /// - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node Node { get; } - } - - /// - /// An edge in a connection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges : ISelectOpenApiCollectionPrompt_OpenApiCollectionEdge - { - } - + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges_Node Node { get; } + } + /// /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge : ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_ClientsEdge : IListClientCommandQuery_Node_Clients_Edges + { + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo : IPageInfo - { - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_PageInfo : IPageInfo + { + } + /// /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo : ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPrompt_OpenApiCollection : IOpenApiCollectionDetailPrompt_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node : ISelectOpenApiCollectionPrompt_OpenApiCollection - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection : ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraphInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "UploadFusionSubgraphInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsArchiveSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("archive", FormatArchive(input.Archive))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatArchive(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UploadFusionSubgraphInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo - { - public virtual global::System.Boolean Equals(UploadFusionSubgraphInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && Archive.Equals(other.Archive) && Tag.Equals(other.Tag); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * Archive.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::StrawberryShake.Upload _value_archive; - private global::System.Boolean _set_archive; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo.IsApiIdSet => _set_apiId; - - public global::StrawberryShake.Upload Archive - { - get => _value_archive; - init - { - _set_archive = true; - _value_archive = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo.IsArchiveSet => _set_archive; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo.IsTagSet => _set_tag; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "UnpublishClientInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsClientIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); - } - - if (inputInfo.IsStageSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - return fields; - } - - private global::System.Object? FormatClientId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatStage(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UnpublishClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo - { - public virtual global::System.Boolean Equals(UnpublishClientInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ClientId.Equals(other.ClientId)) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ClientId.GetHashCode(); - hash ^= 397 * Stage.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - - private global::System.String _value_clientId = default !; - private global::System.Boolean _set_clientId; - private global::System.String _value_stage = default !; - private global::System.Boolean _set_stage; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - public global::System.String ClientId - { - get => _value_clientId; - init - { - _set_clientId = true; - _value_clientId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo.IsClientIdSet => _set_clientId; - - public global::System.String Stage - { - get => _value_stage; - init - { - _set_stage = true; - _value_stage = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo.IsStageSet => _set_stage; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo.IsTagSet => _set_tag; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "UploadClientInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsClientIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); - } - - if (inputInfo.IsOperationsSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("operations", FormatOperations(input.Operations))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - return fields; - } - - private global::System.Object? FormatClientId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatOperations(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UploadClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo - { - public virtual global::System.Boolean Equals(UploadClientInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ClientId.Equals(other.ClientId)) && Operations.Equals(other.Operations) && Tag.Equals(other.Tag); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ClientId.GetHashCode(); - hash ^= 397 * Operations.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - - private global::System.String _value_clientId = default !; - private global::System.Boolean _set_clientId; - private global::StrawberryShake.Upload _value_operations; - private global::System.Boolean _set_operations; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - public global::System.String ClientId - { - get => _value_clientId; - init - { - _set_clientId = true; - _value_clientId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo.IsClientIdSet => _set_clientId; - - public global::StrawberryShake.Upload Operations - { - get => _value_operations; - init - { - _set_operations = true; - _value_operations = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo.IsOperationsSet => _set_operations; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo.IsTagSet => _set_tag; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "ValidateClientInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsClientIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); - } - - if (inputInfo.IsOperationsSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("operations", FormatOperations(input.Operations))); - } - - if (inputInfo.IsStageSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); - } - - return fields; - } - - private global::System.Object? FormatClientId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatOperations(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatStage(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidateClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo - { - public virtual global::System.Boolean Equals(ValidateClientInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ClientId.Equals(other.ClientId)) && Operations.Equals(other.Operations) && Stage.Equals(other.Stage); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ClientId.GetHashCode(); - hash ^= 397 * Operations.GetHashCode(); - hash ^= 397 * Stage.GetHashCode(); - return hash; - } - } - - private global::System.String _value_clientId = default !; - private global::System.Boolean _set_clientId; - private global::StrawberryShake.Upload _value_operations; - private global::System.Boolean _set_operations; - private global::System.String _value_stage = default !; - private global::System.Boolean _set_stage; - public global::System.String ClientId - { - get => _value_clientId; - init - { - _set_clientId = true; - _value_clientId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo.IsClientIdSet => _set_clientId; - - public global::StrawberryShake.Upload Operations - { - get => _value_operations; - init - { - _set_operations = true; - _value_operations = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo.IsOperationsSet => _set_operations; - - public global::System.String Stage - { - get => _value_stage; - init - { - _set_stage = true; - _value_stage = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo.IsStageSet => _set_stage; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "DeleteClientByIdInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsClientIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); - } - - return fields; - } - - private global::System.Object? FormatClientId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DeleteClientByIdInput : global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdInputInfo - { - public virtual global::System.Boolean Equals(DeleteClientByIdInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ClientId.Equals(other.ClientId)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ClientId.GetHashCode(); - return hash; - } - } - - private global::System.String _value_clientId = default !; - private global::System.Boolean _set_clientId; - public global::System.String ClientId - { - get => _value_clientId; - init - { - _set_clientId = true; - _value_clientId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdInputInfo.IsClientIdSet => _set_clientId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "PublishClientInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsClientIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); - } - - if (inputInfo.IsForceSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("force", FormatForce(input.Force))); - } - - if (inputInfo.IsStageSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - if (inputInfo.IsWaitForApprovalSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); - } - - return fields; - } - - private global::System.Object? FormatClientId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatForce(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - - private global::System.Object? FormatStage(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo - { - public virtual global::System.Boolean Equals(PublishClientInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ClientId.Equals(other.ClientId)) && global::System.Object.Equals(Force, other.Force) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ClientId.GetHashCode(); - if (Force != null) - { - hash ^= 397 * Force.GetHashCode(); - } - - hash ^= 397 * Stage.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - if (WaitForApproval != null) - { - hash ^= 397 * WaitForApproval.GetHashCode(); - } - - return hash; - } - } - - private global::System.String _value_clientId = default !; - private global::System.Boolean _set_clientId; - private global::System.Boolean? _value_force; - private global::System.Boolean _set_force; - private global::System.String _value_stage = default !; - private global::System.Boolean _set_stage; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - private global::System.Boolean? _value_waitForApproval; - private global::System.Boolean _set_waitForApproval; - public global::System.String ClientId - { - get => _value_clientId; - init - { - _set_clientId = true; - _value_clientId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsClientIdSet => _set_clientId; - - public global::System.Boolean? Force - { - get => _value_force; - init - { - _set_force = true; - _value_force = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsForceSet => _set_force; - - public global::System.String Stage - { - get => _value_stage; - init - { - _set_stage = true; - _value_stage = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsStageSet => _set_stage; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsTagSet => _set_tag; - - public global::System.Boolean? WaitForApproval - { - get => _value_waitForApproval; - init - { - _set_waitForApproval = true; - _value_waitForApproval = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsWaitForApprovalSet => _set_waitForApproval; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "CreateClientInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatName(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientInputInfo - { - public virtual global::System.Boolean Equals(CreateClientInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && Name.Equals(other.Name); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::System.String _value_name = default !; - private global::System.Boolean _set_name; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientInputInfo.IsApiIdSet => _set_apiId; - - public global::System.String Name - { - get => _value_name; - init - { - _set_name = true; - _value_name = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientInputInfo.IsNameSet => _set_name; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateApiSettingsInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _partialApiSettingsInputFormatter = default !; - public global::System.String TypeName => "UpdateApiSettingsInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _partialApiSettingsInputFormatter = serializerResolver.GetInputValueFormatter("PartialApiSettingsInput"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsSettingsSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("settings", FormatSettings(input.Settings))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatSettings(global::ChilliCream.Nitro.CommandLine.Client.PartialApiSettingsInput input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _partialApiSettingsInputFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UpdateApiSettingsInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsInputInfo - { - public virtual global::System.Boolean Equals(UpdateApiSettingsInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && Settings.Equals(other.Settings); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * Settings.GetHashCode(); - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::ChilliCream.Nitro.CommandLine.Client.PartialApiSettingsInput _value_settings = default !; - private global::System.Boolean _set_settings; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsInputInfo.IsApiIdSet => _set_apiId; - - public global::ChilliCream.Nitro.CommandLine.Client.PartialApiSettingsInput Settings - { - get => _value_settings; - init - { - _set_settings = true; - _value_settings = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsInputInfo.IsSettingsSet => _set_settings; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PartialApiSettingsInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _partialSchemaRegistrySettingsInputFormatter = default !; - public global::System.String TypeName => "PartialApiSettingsInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _partialSchemaRegistrySettingsInputFormatter = serializerResolver.GetInputValueFormatter("PartialSchemaRegistrySettingsInput"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PartialApiSettingsInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPartialApiSettingsInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsSchemaRegistrySet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("schemaRegistry", FormatSchemaRegistry(input.SchemaRegistry))); - } - - return fields; - } - - private global::System.Object? FormatSchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.PartialSchemaRegistrySettingsInput? input) - { - if (input is null) - { - return input; - } - else - { - return _partialSchemaRegistrySettingsInputFormatter.Format(input); - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PartialApiSettingsInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPartialApiSettingsInputInfo - { - public virtual global::System.Boolean Equals(PartialApiSettingsInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((SchemaRegistry is null && other.SchemaRegistry is null) || SchemaRegistry != null && SchemaRegistry.Equals(other.SchemaRegistry))); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (SchemaRegistry != null) - { - hash ^= 397 * SchemaRegistry.GetHashCode(); - } - - return hash; - } - } - - private global::ChilliCream.Nitro.CommandLine.Client.PartialSchemaRegistrySettingsInput? _value_schemaRegistry; - private global::System.Boolean _set_schemaRegistry; - public global::ChilliCream.Nitro.CommandLine.Client.PartialSchemaRegistrySettingsInput? SchemaRegistry - { - get => _value_schemaRegistry; - init - { - _set_schemaRegistry = true; - _value_schemaRegistry = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPartialApiSettingsInputInfo.IsSchemaRegistrySet => _set_schemaRegistry; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PartialSchemaRegistrySettingsInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; - public global::System.String TypeName => "PartialSchemaRegistrySettingsInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PartialSchemaRegistrySettingsInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPartialSchemaRegistrySettingsInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsAllowBreakingSchemaChangesSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("allowBreakingSchemaChanges", FormatAllowBreakingSchemaChanges(input.AllowBreakingSchemaChanges))); - } - - if (inputInfo.IsTreatDangerousAsBreakingSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("treatDangerousAsBreaking", FormatTreatDangerousAsBreaking(input.TreatDangerousAsBreaking))); - } - - return fields; - } - - private global::System.Object? FormatAllowBreakingSchemaChanges(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - - private global::System.Object? FormatTreatDangerousAsBreaking(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PartialSchemaRegistrySettingsInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPartialSchemaRegistrySettingsInputInfo - { - public virtual global::System.Boolean Equals(PartialSchemaRegistrySettingsInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges)) && global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (AllowBreakingSchemaChanges != null) - { - hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); - } - - if (TreatDangerousAsBreaking != null) - { - hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); - } - - return hash; - } - } - - private global::System.Boolean? _value_allowBreakingSchemaChanges; - private global::System.Boolean _set_allowBreakingSchemaChanges; - private global::System.Boolean? _value_treatDangerousAsBreaking; - private global::System.Boolean _set_treatDangerousAsBreaking; - public global::System.Boolean? AllowBreakingSchemaChanges - { - get => _value_allowBreakingSchemaChanges; - init - { - _set_allowBreakingSchemaChanges = true; - _value_allowBreakingSchemaChanges = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPartialSchemaRegistrySettingsInputInfo.IsAllowBreakingSchemaChangesSet => _set_allowBreakingSchemaChanges; - - public global::System.Boolean? TreatDangerousAsBreaking - { - get => _value_treatDangerousAsBreaking; - init - { - _set_treatDangerousAsBreaking = true; - _value_treatDangerousAsBreaking = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPartialSchemaRegistrySettingsInputInfo.IsTreatDangerousAsBreakingSet => _set_treatDangerousAsBreaking; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStagesInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stageUpdateInputFormatter = default !; - public global::System.String TypeName => "UpdateStagesInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stageUpdateInputFormatter = serializerResolver.GetInputValueFormatter("StageUpdateInput"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsUpdatedStagesSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("updatedStages", FormatUpdatedStages(input.UpdatedStages))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatUpdatedStages(global::System.Collections.Generic.IReadOnlyList input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - var input_list = new global::System.Collections.Generic.List(); - foreach (var input_elm in input) - { - if (input_elm is null) - { - throw new global::System.ArgumentNullException(nameof(input_elm)); - } - - input_list.Add(_stageUpdateInputFormatter.Format(input_elm)); - } - - return input_list; - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UpdateStagesInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesInputInfo - { - public virtual global::System.Boolean Equals(UpdateStagesInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(UpdatedStages, other.UpdatedStages); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - foreach (var UpdatedStages_elm in UpdatedStages) - { - hash ^= 397 * UpdatedStages_elm.GetHashCode(); - } - - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::System.Collections.Generic.IReadOnlyList _value_updatedStages = default !; - private global::System.Boolean _set_updatedStages; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesInputInfo.IsApiIdSet => _set_apiId; - - public global::System.Collections.Generic.IReadOnlyList UpdatedStages - { - get => _value_updatedStages; - init - { - _set_updatedStages = true; - _value_updatedStages = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesInputInfo.IsUpdatedStagesSet => _set_updatedStages; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StageUpdateInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _stageConditionUpdateInputFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "StageUpdateInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _stageConditionUpdateInputFormatter = serializerResolver.GetInputValueFormatter("StageConditionUpdateInput"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.StageUpdateInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsConditionsSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("conditions", FormatConditions(input.Conditions))); - } - - if (inputInfo.IsDisplayNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("displayName", FormatDisplayName(input.DisplayName))); - } - - if (inputInfo.IsNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); - } - - return fields; - } - - private global::System.Object? FormatConditions(global::System.Collections.Generic.IReadOnlyList? input) - { - if (input is null) - { - return input; - } - else - { - var input_list = new global::System.Collections.Generic.List(); - foreach (var input_elm in input) - { - if (input_elm is null) - { - throw new global::System.ArgumentNullException(nameof(input_elm)); - } - - input_list.Add(_stageConditionUpdateInputFormatter.Format(input_elm)); - } - - return input_list; - } - } - - private global::System.Object? FormatDisplayName(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatName(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record StageUpdateInput : global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo - { - public virtual global::System.Boolean Equals(StageUpdateInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Conditions, other.Conditions)) && DisplayName.Equals(other.DisplayName) && Name.Equals(other.Name); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Conditions != null) - { - foreach (var Conditions_elm in Conditions) - { - hash ^= 397 * Conditions_elm.GetHashCode(); - } - } - - hash ^= 397 * DisplayName.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - - private global::System.Collections.Generic.IReadOnlyList? _value_conditions; - private global::System.Boolean _set_conditions; - private global::System.String _value_displayName = default !; - private global::System.Boolean _set_displayName; - private global::System.String _value_name = default !; - private global::System.Boolean _set_name; - public global::System.Collections.Generic.IReadOnlyList? Conditions - { - get => _value_conditions; - init - { - _set_conditions = true; - _value_conditions = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo.IsConditionsSet => _set_conditions; - - public global::System.String DisplayName - { - get => _value_displayName; - init - { - _set_displayName = true; - _value_displayName = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo.IsDisplayNameSet => _set_displayName; - - public global::System.String Name - { - get => _value_name; - init - { - _set_name = true; - _value_name = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo.IsNameSet => _set_name; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StageConditionUpdateInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "StageConditionUpdateInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.StageConditionUpdateInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionUpdateInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsAfterStageSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("afterStage", FormatAfterStage(input.AfterStage))); - } - - return fields; - } - - private global::System.Object? FormatAfterStage(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record StageConditionUpdateInput : global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionUpdateInputInfo - { - public virtual global::System.Boolean Equals(StageConditionUpdateInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (AfterStage.Equals(other.AfterStage)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * AfterStage.GetHashCode(); - return hash; - } - } - - private global::System.String _value_afterStage = default !; - private global::System.Boolean _set_afterStage; - public global::System.String AfterStage - { - get => _value_afterStage; - init - { - _set_afterStage = true; - _value_afterStage = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionUpdateInputInfo.IsAfterStageSet => _set_afterStage; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _apiKeyPermissionScopeInputFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _roleAssigmentConditionInputFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "CreateApiKeyInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _apiKeyPermissionScopeInputFormatter = serializerResolver.GetInputValueFormatter("ApiKeyPermissionScopeInput"); - _roleAssigmentConditionInputFormatter = serializerResolver.GetInputValueFormatter("RoleAssigmentConditionInput"); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); - } - - if (inputInfo.IsPermissionScopeSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("permissionScope", FormatPermissionScope(input.PermissionScope))); - } - - if (inputInfo.IsRoleAssigmentConditionSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("roleAssigmentCondition", FormatRoleAssigmentCondition(input.RoleAssigmentCondition))); - } - - if (inputInfo.IsWorkspaceIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("workspaceId", FormatWorkspaceId(input.WorkspaceId))); - } - - return fields; - } - - private global::System.Object? FormatName(global::System.String? input) - { - if (input is null) - { - return input; - } - else - { - return _stringFormatter.Format(input); - } - } - - private global::System.Object? FormatPermissionScope(global::ChilliCream.Nitro.CommandLine.Client.ApiKeyPermissionScopeInput input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _apiKeyPermissionScopeInputFormatter.Format(input); - } - - private global::System.Object? FormatRoleAssigmentCondition(global::ChilliCream.Nitro.CommandLine.Client.RoleAssigmentConditionInput? input) - { - if (input is null) - { - return input; - } - else - { - return _roleAssigmentConditionInputFormatter.Format(input); - } - } - - private global::System.Object? FormatWorkspaceId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateApiKeyInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo - { - public virtual global::System.Boolean Equals(CreateApiKeyInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((Name is null && other.Name is null) || Name != null && Name.Equals(other.Name))) && PermissionScope.Equals(other.PermissionScope) && ((RoleAssigmentCondition is null && other.RoleAssigmentCondition is null) || RoleAssigmentCondition != null && RoleAssigmentCondition.Equals(other.RoleAssigmentCondition)) && WorkspaceId.Equals(other.WorkspaceId); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Name != null) - { - hash ^= 397 * Name.GetHashCode(); - } - - hash ^= 397 * PermissionScope.GetHashCode(); - if (RoleAssigmentCondition != null) - { - hash ^= 397 * RoleAssigmentCondition.GetHashCode(); - } - - hash ^= 397 * WorkspaceId.GetHashCode(); - return hash; - } - } - - private global::System.String? _value_name; - private global::System.Boolean _set_name; - private global::ChilliCream.Nitro.CommandLine.Client.ApiKeyPermissionScopeInput _value_permissionScope = default !; - private global::System.Boolean _set_permissionScope; - private global::ChilliCream.Nitro.CommandLine.Client.RoleAssigmentConditionInput? _value_roleAssigmentCondition; - private global::System.Boolean _set_roleAssigmentCondition; - private global::System.String _value_workspaceId = default !; - private global::System.Boolean _set_workspaceId; - public global::System.String? Name - { - get => _value_name; - init - { - _set_name = true; - _value_name = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo.IsNameSet => _set_name; - - public global::ChilliCream.Nitro.CommandLine.Client.ApiKeyPermissionScopeInput PermissionScope - { - get => _value_permissionScope; - init - { - _set_permissionScope = true; - _value_permissionScope = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo.IsPermissionScopeSet => _set_permissionScope; - - public global::ChilliCream.Nitro.CommandLine.Client.RoleAssigmentConditionInput? RoleAssigmentCondition - { - get => _value_roleAssigmentCondition; - init - { - _set_roleAssigmentCondition = true; - _value_roleAssigmentCondition = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo.IsRoleAssigmentConditionSet => _set_roleAssigmentCondition; - - public global::System.String WorkspaceId - { - get => _value_workspaceId; - init - { - _set_workspaceId = true; - _value_workspaceId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo.IsWorkspaceIdSet => _set_workspaceId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ApiKeyPermissionScopeInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "ApiKeyPermissionScopeInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ApiKeyPermissionScopeInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IApiKeyPermissionScopeInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsWorkspaceIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("workspaceId", FormatWorkspaceId(input.WorkspaceId))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String? input) - { - if (input is null) - { - return input; - } - else - { - return _iDFormatter.Format(input); - } - } - - private global::System.Object? FormatWorkspaceId(global::System.String? input) - { - if (input is null) - { - return input; - } - else - { - return _iDFormatter.Format(input); - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiKeyPermissionScopeInput : global::ChilliCream.Nitro.CommandLine.Client.State.IApiKeyPermissionScopeInputInfo - { - public virtual global::System.Boolean Equals(ApiKeyPermissionScopeInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((ApiId is null && other.ApiId is null) || ApiId != null && ApiId.Equals(other.ApiId))) && ((WorkspaceId is null && other.WorkspaceId is null) || WorkspaceId != null && WorkspaceId.Equals(other.WorkspaceId)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (ApiId != null) - { - hash ^= 397 * ApiId.GetHashCode(); - } - - if (WorkspaceId != null) - { - hash ^= 397 * WorkspaceId.GetHashCode(); - } - - return hash; - } - } - - private global::System.String? _value_apiId; - private global::System.Boolean _set_apiId; - private global::System.String? _value_workspaceId; - private global::System.Boolean _set_workspaceId; - public global::System.String? ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IApiKeyPermissionScopeInputInfo.IsApiIdSet => _set_apiId; - - public global::System.String? WorkspaceId - { - get => _value_workspaceId; - init - { - _set_workspaceId = true; - _value_workspaceId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IApiKeyPermissionScopeInputInfo.IsWorkspaceIdSet => _set_workspaceId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RoleAssigmentConditionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _roleAssignmentStageAuthorizationConditionInputFormatter = default !; - public global::System.String TypeName => "RoleAssigmentConditionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _roleAssignmentStageAuthorizationConditionInputFormatter = serializerResolver.GetInputValueFormatter("RoleAssignmentStageAuthorizationConditionInput"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.RoleAssigmentConditionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssigmentConditionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsStageAuthorizationConditionSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stageAuthorizationCondition", FormatStageAuthorizationCondition(input.StageAuthorizationCondition))); - } - - return fields; - } - - private global::System.Object? FormatStageAuthorizationCondition(global::ChilliCream.Nitro.CommandLine.Client.RoleAssignmentStageAuthorizationConditionInput? input) - { - if (input is null) - { - return input; - } - else - { - return _roleAssignmentStageAuthorizationConditionInputFormatter.Format(input); - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record RoleAssigmentConditionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssigmentConditionInputInfo - { - public virtual global::System.Boolean Equals(RoleAssigmentConditionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (((StageAuthorizationCondition is null && other.StageAuthorizationCondition is null) || StageAuthorizationCondition != null && StageAuthorizationCondition.Equals(other.StageAuthorizationCondition))); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (StageAuthorizationCondition != null) - { - hash ^= 397 * StageAuthorizationCondition.GetHashCode(); - } - - return hash; - } - } - - private global::ChilliCream.Nitro.CommandLine.Client.RoleAssignmentStageAuthorizationConditionInput? _value_stageAuthorizationCondition; - private global::System.Boolean _set_stageAuthorizationCondition; - public global::ChilliCream.Nitro.CommandLine.Client.RoleAssignmentStageAuthorizationConditionInput? StageAuthorizationCondition - { - get => _value_stageAuthorizationCondition; - init - { - _set_stageAuthorizationCondition = true; - _value_stageAuthorizationCondition = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssigmentConditionInputInfo.IsStageAuthorizationConditionSet => _set_stageAuthorizationCondition; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RoleAssignmentStageAuthorizationConditionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "RoleAssignmentStageAuthorizationConditionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.RoleAssignmentStageAuthorizationConditionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssignmentStageAuthorizationConditionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); - } - - return fields; - } - - private global::System.Object? FormatName(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record RoleAssignmentStageAuthorizationConditionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssignmentStageAuthorizationConditionInputInfo - { - public virtual global::System.Boolean Equals(RoleAssignmentStageAuthorizationConditionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - - private global::System.String _value_name = default !; - private global::System.Boolean _set_name; - public global::System.String Name - { - get => _value_name; - init - { - _set_name = true; - _value_name = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssignmentStageAuthorizationConditionInputInfo.IsNameSet => _set_name; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "DeleteApiKeyInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiKeyIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiKeyId", FormatApiKeyId(input.ApiKeyId))); - } - - return fields; - } - - private global::System.Object? FormatApiKeyId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DeleteApiKeyInput : global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyInputInfo - { - public virtual global::System.Boolean Equals(DeleteApiKeyInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiKeyId.Equals(other.ApiKeyId)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiKeyId.GetHashCode(); - return hash; - } - } - - private global::System.String _value_apiKeyId = default !; - private global::System.Boolean _set_apiKeyId; - public global::System.String ApiKeyId - { - get => _value_apiKeyId; - init - { - _set_apiKeyId = true; - _value_apiKeyId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyInputInfo.IsApiKeyIdSet => _set_apiKeyId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _dateTimeFormatter = default !; - public global::System.String TypeName => "CreatePersonalAccessTokenInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _dateTimeFormatter = serializerResolver.GetInputValueFormatter("DateTime"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsDescriptionSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("description", FormatDescription(input.Description))); - } - - if (inputInfo.IsExpiresAtSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("expiresAt", FormatExpiresAt(input.ExpiresAt))); - } - - return fields; - } - - private global::System.Object? FormatDescription(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatExpiresAt(global::System.DateTimeOffset input) - { - return _dateTimeFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreatePersonalAccessTokenInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenInputInfo - { - public virtual global::System.Boolean Equals(CreatePersonalAccessTokenInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Description.Equals(other.Description)) && ExpiresAt.Equals(other.ExpiresAt); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Description.GetHashCode(); - hash ^= 397 * ExpiresAt.GetHashCode(); - return hash; - } - } - - private global::System.String _value_description = default !; - private global::System.Boolean _set_description; - private global::System.DateTimeOffset _value_expiresAt; - private global::System.Boolean _set_expiresAt; - public global::System.String Description - { - get => _value_description; - init - { - _set_description = true; - _value_description = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenInputInfo.IsDescriptionSet => _set_description; - - public global::System.DateTimeOffset ExpiresAt - { - get => _value_expiresAt; - init - { - _set_expiresAt = true; - _value_expiresAt = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenInputInfo.IsExpiresAtSet => _set_expiresAt; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "RevokePersonalAccessTokenInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("id", FormatId(input.Id))); - } - - return fields; - } - - private global::System.Object? FormatId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record RevokePersonalAccessTokenInput : global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenInputInfo - { - public virtual global::System.Boolean Equals(RevokePersonalAccessTokenInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Id.Equals(other.Id)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Id.GetHashCode(); - return hash; - } - } - - private global::System.String _value_id = default !; - private global::System.Boolean _set_id; - public global::System.String Id - { - get => _value_id; - init - { - _set_id = true; - _value_id = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenInputInfo.IsIdSet => _set_id; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "UploadOpenApiCollectionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsCollectionSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("collection", FormatCollection(input.Collection))); - } - - if (inputInfo.IsOpenApiCollectionIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("openApiCollectionId", FormatOpenApiCollectionId(input.OpenApiCollectionId))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - return fields; - } - - private global::System.Object? FormatCollection(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatOpenApiCollectionId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UploadOpenApiCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo - { - public virtual global::System.Boolean Equals(UploadOpenApiCollectionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Collection.Equals(other.Collection)) && OpenApiCollectionId.Equals(other.OpenApiCollectionId) && Tag.Equals(other.Tag); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Collection.GetHashCode(); - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - - private global::StrawberryShake.Upload _value_collection; - private global::System.Boolean _set_collection; - private global::System.String _value_openApiCollectionId = default !; - private global::System.Boolean _set_openApiCollectionId; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - public global::StrawberryShake.Upload Collection - { - get => _value_collection; - init - { - _set_collection = true; - _value_collection = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo.IsCollectionSet => _set_collection; - - public global::System.String OpenApiCollectionId - { - get => _value_openApiCollectionId; - init - { - _set_openApiCollectionId = true; - _value_openApiCollectionId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo.IsOpenApiCollectionIdSet => _set_openApiCollectionId; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo.IsTagSet => _set_tag; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "PublishOpenApiCollectionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsForceSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("force", FormatForce(input.Force))); - } - - if (inputInfo.IsOpenApiCollectionIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("openApiCollectionId", FormatOpenApiCollectionId(input.OpenApiCollectionId))); - } - - if (inputInfo.IsStageSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - if (inputInfo.IsWaitForApprovalSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); - } - - return fields; - } - - private global::System.Object? FormatForce(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - - private global::System.Object? FormatOpenApiCollectionId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatStage(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishOpenApiCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo - { - public virtual global::System.Boolean Equals(PublishOpenApiCollectionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (global::System.Object.Equals(Force, other.Force)) && OpenApiCollectionId.Equals(other.OpenApiCollectionId) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - if (Force != null) - { - hash ^= 397 * Force.GetHashCode(); - } - - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - hash ^= 397 * Stage.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - if (WaitForApproval != null) - { - hash ^= 397 * WaitForApproval.GetHashCode(); - } - - return hash; - } - } - - private global::System.Boolean? _value_force; - private global::System.Boolean _set_force; - private global::System.String _value_openApiCollectionId = default !; - private global::System.Boolean _set_openApiCollectionId; - private global::System.String _value_stage = default !; - private global::System.Boolean _set_stage; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - private global::System.Boolean? _value_waitForApproval; - private global::System.Boolean _set_waitForApproval; - public global::System.Boolean? Force - { - get => _value_force; - init - { - _set_force = true; - _value_force = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsForceSet => _set_force; - - public global::System.String OpenApiCollectionId - { - get => _value_openApiCollectionId; - init - { - _set_openApiCollectionId = true; - _value_openApiCollectionId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsOpenApiCollectionIdSet => _set_openApiCollectionId; - - public global::System.String Stage - { - get => _value_stage; - init - { - _set_stage = true; - _value_stage = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsStageSet => _set_stage; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsTagSet => _set_tag; - - public global::System.Boolean? WaitForApproval - { - get => _value_waitForApproval; - init - { - _set_waitForApproval = true; - _value_waitForApproval = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsWaitForApprovalSet => _set_waitForApproval; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "ValidateOpenApiCollectionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsCollectionSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("collection", FormatCollection(input.Collection))); - } - - if (inputInfo.IsOpenApiCollectionIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("openApiCollectionId", FormatOpenApiCollectionId(input.OpenApiCollectionId))); - } - - if (inputInfo.IsStageSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); - } - - return fields; - } - - private global::System.Object? FormatCollection(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatOpenApiCollectionId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatStage(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidateOpenApiCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo - { - public virtual global::System.Boolean Equals(ValidateOpenApiCollectionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Collection.Equals(other.Collection)) && OpenApiCollectionId.Equals(other.OpenApiCollectionId) && Stage.Equals(other.Stage); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Collection.GetHashCode(); - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - hash ^= 397 * Stage.GetHashCode(); - return hash; - } - } - - private global::StrawberryShake.Upload _value_collection; - private global::System.Boolean _set_collection; - private global::System.String _value_openApiCollectionId = default !; - private global::System.Boolean _set_openApiCollectionId; - private global::System.String _value_stage = default !; - private global::System.Boolean _set_stage; - public global::StrawberryShake.Upload Collection - { - get => _value_collection; - init - { - _set_collection = true; - _value_collection = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo.IsCollectionSet => _set_collection; - - public global::System.String OpenApiCollectionId - { - get => _value_openApiCollectionId; - init - { - _set_openApiCollectionId = true; - _value_openApiCollectionId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo.IsOpenApiCollectionIdSet => _set_openApiCollectionId; - - public global::System.String Stage - { - get => _value_stage; - init - { - _set_stage = true; - _value_stage = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo.IsStageSet => _set_stage; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "CreateOpenApiCollectionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatName(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateOpenApiCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionInputInfo - { - public virtual global::System.Boolean Equals(CreateOpenApiCollectionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && Name.Equals(other.Name); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::System.String _value_name = default !; - private global::System.Boolean _set_name; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionInputInfo.IsApiIdSet => _set_apiId; - - public global::System.String Name - { - get => _value_name; - init - { - _set_name = true; - _value_name = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionInputInfo.IsNameSet => _set_name; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "DeleteOpenApiCollectionByIdInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsOpenApiCollectionIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("openApiCollectionId", FormatOpenApiCollectionId(input.OpenApiCollectionId))); - } - - return fields; - } - - private global::System.Object? FormatOpenApiCollectionId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DeleteOpenApiCollectionByIdInput : global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdInputInfo - { - public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (OpenApiCollectionId.Equals(other.OpenApiCollectionId)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * OpenApiCollectionId.GetHashCode(); - return hash; - } - } - - private global::System.String _value_openApiCollectionId = default !; - private global::System.Boolean _set_openApiCollectionId; - public global::System.String OpenApiCollectionId - { - get => _value_openApiCollectionId; - init - { - _set_openApiCollectionId = true; - _value_openApiCollectionId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdInputInfo.IsOpenApiCollectionIdSet => _set_openApiCollectionId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "CreateWorkspaceInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); - } - - return fields; - } - - private global::System.Object? FormatName(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateWorkspaceInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceInputInfo - { - public virtual global::System.Boolean Equals(CreateWorkspaceInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Name.Equals(other.Name)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Name.GetHashCode(); - return hash; - } - } - - private global::System.String _value_name = default !; - private global::System.Boolean _set_name; - public global::System.String Name - { - get => _value_name; - init - { - _set_name = true; - _value_name = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceInputInfo.IsNameSet => _set_name; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "PublishSchemaInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsForceSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("force", FormatForce(input.Force))); - } - - if (inputInfo.IsStageSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - if (inputInfo.IsWaitForApprovalSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatForce(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - - private global::System.Object? FormatStage(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishSchemaInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo - { - public virtual global::System.Boolean Equals(PublishSchemaInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && global::System.Object.Equals(Force, other.Force) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - if (Force != null) - { - hash ^= 397 * Force.GetHashCode(); - } - - hash ^= 397 * Stage.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - if (WaitForApproval != null) - { - hash ^= 397 * WaitForApproval.GetHashCode(); - } - - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::System.Boolean? _value_force; - private global::System.Boolean _set_force; - private global::System.String _value_stage = default !; - private global::System.Boolean _set_stage; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - private global::System.Boolean? _value_waitForApproval; - private global::System.Boolean _set_waitForApproval; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsApiIdSet => _set_apiId; - - public global::System.Boolean? Force - { - get => _value_force; - init - { - _set_force = true; - _value_force = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsForceSet => _set_force; - - public global::System.String Stage - { - get => _value_stage; - init - { - _set_stage = true; - _value_stage = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsStageSet => _set_stage; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsTagSet => _set_tag; - - public global::System.Boolean? WaitForApproval - { - get => _value_waitForApproval; - init - { - _set_waitForApproval = true; - _value_waitForApproval = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsWaitForApprovalSet => _set_waitForApproval; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchemaInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "UploadSchemaInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsSchemaSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("schema", FormatSchema(input.Schema))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatSchema(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UploadSchemaInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo - { - public virtual global::System.Boolean Equals(UploadSchemaInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && Schema.Equals(other.Schema) && Tag.Equals(other.Tag); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * Schema.GetHashCode(); - hash ^= 397 * Tag.GetHashCode(); - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::StrawberryShake.Upload _value_schema; - private global::System.Boolean _set_schema; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo.IsApiIdSet => _set_apiId; - - public global::StrawberryShake.Upload Schema - { - get => _value_schema; - init - { - _set_schema = true; - _value_schema = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo.IsSchemaSet => _set_schema; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo.IsTagSet => _set_tag; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - public global::System.String TypeName => "ValidateSchemaInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsSchemaSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("schema", FormatSchema(input.Schema))); - } - - if (inputInfo.IsStageSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatSchema(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatStage(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidateSchemaInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo - { - public virtual global::System.Boolean Equals(ValidateSchemaInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && Schema.Equals(other.Schema) && Stage.Equals(other.Stage); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * Schema.GetHashCode(); - hash ^= 397 * Stage.GetHashCode(); - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::StrawberryShake.Upload _value_schema; - private global::System.Boolean _set_schema; - private global::System.String _value_stage = default !; - private global::System.Boolean _set_stage; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo.IsApiIdSet => _set_apiId; - - public global::StrawberryShake.Upload Schema - { - get => _value_schema; - init - { - _set_schema = true; - _value_schema = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo.IsSchemaSet => _set_schema; - - public global::System.String Stage - { - get => _value_stage; - init - { - _set_stage = true; - _value_stage = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo.IsStageSet => _set_stage; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationCompositionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "CancelFusionConfigurationCompositionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsRequestIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("requestId", FormatRequestId(input.RequestId))); - } - - return fields; - } - - private global::System.Object? FormatRequestId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CancelFusionConfigurationCompositionInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionInputInfo - { - public virtual global::System.Boolean Equals(CancelFusionConfigurationCompositionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (RequestId.Equals(other.RequestId)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * RequestId.GetHashCode(); - return hash; - } - } - - private global::System.String _value_requestId = default !; - private global::System.Boolean _set_requestId; - public global::System.String RequestId - { - get => _value_requestId; - init - { - _set_requestId = true; - _value_requestId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionInputInfo.IsRequestIdSet => _set_requestId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublishInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "CommitFusionConfigurationPublishInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsConfigurationSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("configuration", FormatConfiguration(input.Configuration))); - } - - if (inputInfo.IsRequestIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("requestId", FormatRequestId(input.RequestId))); - } - - return fields; - } - - private global::System.Object? FormatConfiguration(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatRequestId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CommitFusionConfigurationPublishInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishInputInfo - { - public virtual global::System.Boolean Equals(CommitFusionConfigurationPublishInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Configuration.Equals(other.Configuration)) && RequestId.Equals(other.RequestId); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Configuration.GetHashCode(); - hash ^= 397 * RequestId.GetHashCode(); - return hash; - } - } - - private global::StrawberryShake.Upload _value_configuration; - private global::System.Boolean _set_configuration; - private global::System.String _value_requestId = default !; - private global::System.Boolean _set_requestId; - public global::StrawberryShake.Upload Configuration - { - get => _value_configuration; - init - { - _set_configuration = true; - _value_configuration = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishInputInfo.IsConfigurationSet => _set_configuration; - - public global::System.String RequestId - { - get => _value_requestId; - init - { - _set_requestId = true; - _value_requestId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishInputInfo.IsRequestIdSet => _set_requestId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationCompositionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "StartFusionConfigurationCompositionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsRequestIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("requestId", FormatRequestId(input.RequestId))); - } - - return fields; - } - - private global::System.Object? FormatRequestId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record StartFusionConfigurationCompositionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionInputInfo - { - public virtual global::System.Boolean Equals(StartFusionConfigurationCompositionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (RequestId.Equals(other.RequestId)); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * RequestId.GetHashCode(); - return hash; - } - } - - private global::System.String _value_requestId = default !; - private global::System.Boolean _set_requestId; - public global::System.String RequestId - { - get => _value_requestId; - init - { - _set_requestId = true; - _value_requestId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionInputInfo.IsRequestIdSet => _set_requestId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublishInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; - public global::System.String TypeName => "BeginFusionConfigurationPublishInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); - } - - if (inputInfo.IsStageNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("stageName", FormatStageName(input.StageName))); - } - - if (inputInfo.IsSubgraphApiIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("subgraphApiId", FormatSubgraphApiId(input.SubgraphApiId))); - } - - if (inputInfo.IsSubgraphNameSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("subgraphName", FormatSubgraphName(input.SubgraphName))); - } - - if (inputInfo.IsTagSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); - } - - if (inputInfo.IsWaitForApprovalSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); - } - - return fields; - } - - private global::System.Object? FormatApiId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - - private global::System.Object? FormatStageName(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatSubgraphApiId(global::System.String? input) - { - if (input is null) - { - return input; - } - else - { - return _iDFormatter.Format(input); - } - } - - private global::System.Object? FormatSubgraphName(global::System.String? input) - { - if (input is null) - { - return input; - } - else - { - return _stringFormatter.Format(input); - } - } - - private global::System.Object? FormatTag(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _stringFormatter.Format(input); - } - - private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) - { - if (input is null) - { - return input; - } - else - { - return _booleanFormatter.Format(input); - } - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record BeginFusionConfigurationPublishInput : global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo - { - public virtual global::System.Boolean Equals(BeginFusionConfigurationPublishInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (ApiId.Equals(other.ApiId)) && StageName.Equals(other.StageName) && ((SubgraphApiId is null && other.SubgraphApiId is null) || SubgraphApiId != null && SubgraphApiId.Equals(other.SubgraphApiId)) && ((SubgraphName is null && other.SubgraphName is null) || SubgraphName != null && SubgraphName.Equals(other.SubgraphName)) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * ApiId.GetHashCode(); - hash ^= 397 * StageName.GetHashCode(); - if (SubgraphApiId != null) - { - hash ^= 397 * SubgraphApiId.GetHashCode(); - } - - if (SubgraphName != null) - { - hash ^= 397 * SubgraphName.GetHashCode(); - } - - hash ^= 397 * Tag.GetHashCode(); - if (WaitForApproval != null) - { - hash ^= 397 * WaitForApproval.GetHashCode(); - } - - return hash; - } - } - - private global::System.String _value_apiId = default !; - private global::System.Boolean _set_apiId; - private global::System.String _value_stageName = default !; - private global::System.Boolean _set_stageName; - private global::System.String? _value_subgraphApiId; - private global::System.Boolean _set_subgraphApiId; - private global::System.String? _value_subgraphName; - private global::System.Boolean _set_subgraphName; - private global::System.String _value_tag = default !; - private global::System.Boolean _set_tag; - private global::System.Boolean? _value_waitForApproval; - private global::System.Boolean _set_waitForApproval; - public global::System.String ApiId - { - get => _value_apiId; - init - { - _set_apiId = true; - _value_apiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsApiIdSet => _set_apiId; - - public global::System.String StageName - { - get => _value_stageName; - init - { - _set_stageName = true; - _value_stageName = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsStageNameSet => _set_stageName; - - public global::System.String? SubgraphApiId - { - get => _value_subgraphApiId; - init - { - _set_subgraphApiId = true; - _value_subgraphApiId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsSubgraphApiIdSet => _set_subgraphApiId; - - public global::System.String? SubgraphName - { - get => _value_subgraphName; - init - { - _set_subgraphName = true; - _value_subgraphName = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsSubgraphNameSet => _set_subgraphName; - - public global::System.String Tag - { - get => _value_tag; - init - { - _set_tag = true; - _value_tag = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsTagSet => _set_tag; - - public global::System.Boolean? WaitForApproval - { - get => _value_waitForApproval; - init - { - _set_waitForApproval = true; - _value_waitForApproval = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsWaitForApprovalSet => _set_waitForApproval; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationCompositionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter - { - private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; - private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; - public global::System.String TypeName => "ValidateFusionConfigurationCompositionInput"; - - public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - public global::System.Object? Format(global::System.Object? runtimeValue) - { - if (runtimeValue is null) - { - return null; - } - - var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput; - var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionInputInfo; - if (input is null || inputInfo is null) - { - throw new global::System.ArgumentException(nameof(runtimeValue)); - } - - var fields = new global::System.Collections.Generic.List>(); - if (inputInfo.IsConfigurationSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("configuration", FormatConfiguration(input.Configuration))); - } - - if (inputInfo.IsRequestIdSet) - { - fields.Add(new global::System.Collections.Generic.KeyValuePair("requestId", FormatRequestId(input.RequestId))); - } - - return fields; - } - - private global::System.Object? FormatConfiguration(global::StrawberryShake.Upload input) - { - return _uploadFormatter.Format(input); - } - - private global::System.Object? FormatRequestId(global::System.String input) - { - if (input is null) - { - throw new global::System.ArgumentNullException(nameof(input)); - } - - return _iDFormatter.Format(input); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidateFusionConfigurationCompositionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionInputInfo - { - public virtual global::System.Boolean Equals(ValidateFusionConfigurationCompositionInput? other) - { - if (ReferenceEquals(null, other)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (other.GetType() != GetType()) - { - return false; - } - - return (Configuration.Equals(other.Configuration)) && RequestId.Equals(other.RequestId); - } - - public override global::System.Int32 GetHashCode() - { - unchecked - { - int hash = 5; - hash ^= 397 * Configuration.GetHashCode(); - hash ^= 397 * RequestId.GetHashCode(); - return hash; - } - } - - private global::StrawberryShake.Upload _value_configuration; - private global::System.Boolean _set_configuration; - private global::System.String _value_requestId = default !; - private global::System.Boolean _set_requestId; - public global::StrawberryShake.Upload Configuration - { - get => _value_configuration; - init - { - _set_configuration = true; - _value_configuration = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionInputInfo.IsConfigurationSet => _set_configuration; - - public global::System.String RequestId - { - get => _value_requestId; - init - { - _set_requestId = true; - _value_requestId = value; - } - } - - global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionInputInfo.IsRequestIdSet => _set_requestId; - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public enum ProcessingState - { - Queued, - Ready, - Processing, - Success, - Failed, - Cancelled, - WaitingForApproval, - Approved - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ProcessingStateSerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser - { - public global::System.String TypeName => "ProcessingState"; - - public ProcessingState Parse(global::System.String serializedValue) - { - return serializedValue switch - { - "QUEUED" => ProcessingState.Queued, - "READY" => ProcessingState.Ready, - "PROCESSING" => ProcessingState.Processing, - "SUCCESS" => ProcessingState.Success, - "FAILED" => ProcessingState.Failed, - "CANCELLED" => ProcessingState.Cancelled, - "WAITING_FOR_APPROVAL" => ProcessingState.WaitingForApproval, - "APPROVED" => ProcessingState.Approved, - _ => throw new global::StrawberryShake.GraphQLClientException($"String value '{serializedValue}' can't be converted to enum ProcessingState")}; - } - - public global::System.Object Format(global::System.Object? runtimeValue) - { - return runtimeValue switch - { - ProcessingState.Queued => "QUEUED", - ProcessingState.Ready => "READY", - ProcessingState.Processing => "PROCESSING", - ProcessingState.Success => "SUCCESS", - ProcessingState.Failed => "FAILED", - ProcessingState.Cancelled => "CANCELLED", - ProcessingState.WaitingForApproval => "WAITING_FOR_APPROVAL", - ProcessingState.Approved => "APPROVED", - _ => throw new global::StrawberryShake.GraphQLClientException($"Enum ProcessingState value '{runtimeValue}' can't be converted to string")}; - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public enum SchemaChangeSeverity - { - Safe, - Dangerous, - Breaking - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SchemaChangeSeveritySerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser - { - public global::System.String TypeName => "SchemaChangeSeverity"; - - public SchemaChangeSeverity Parse(global::System.String serializedValue) - { - return serializedValue switch - { - "SAFE" => SchemaChangeSeverity.Safe, - "DANGEROUS" => SchemaChangeSeverity.Dangerous, - "BREAKING" => SchemaChangeSeverity.Breaking, - _ => throw new global::StrawberryShake.GraphQLClientException($"String value '{serializedValue}' can't be converted to enum SchemaChangeSeverity")}; - } - - public global::System.Object Format(global::System.Object? runtimeValue) - { - return runtimeValue switch - { - SchemaChangeSeverity.Safe => "SAFE", - SchemaChangeSeverity.Dangerous => "DANGEROUS", - SchemaChangeSeverity.Breaking => "BREAKING", - _ => throw new global::StrawberryShake.GraphQLClientException($"Enum SchemaChangeSeverity value '{runtimeValue}' can't be converted to string")}; - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public enum DirectiveLocation - { - Query, - Mutation, - Subscription, - Field, - FragmentDefinition, - FragmentSpread, - InlineFragment, - VariableDefinition, - Schema, - Scalar, - Object, - FieldDefinition, - ArgumentDefinition, - Interface, - Union, - Enum, - EnumValue, - InputObject, - InputFieldDefinition - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DirectiveLocationSerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser - { - public global::System.String TypeName => "DirectiveLocation"; - - public DirectiveLocation Parse(global::System.String serializedValue) - { - return serializedValue switch - { - "QUERY" => DirectiveLocation.Query, - "MUTATION" => DirectiveLocation.Mutation, - "SUBSCRIPTION" => DirectiveLocation.Subscription, - "FIELD" => DirectiveLocation.Field, - "FRAGMENT_DEFINITION" => DirectiveLocation.FragmentDefinition, - "FRAGMENT_SPREAD" => DirectiveLocation.FragmentSpread, - "INLINE_FRAGMENT" => DirectiveLocation.InlineFragment, - "VARIABLE_DEFINITION" => DirectiveLocation.VariableDefinition, - "SCHEMA" => DirectiveLocation.Schema, - "SCALAR" => DirectiveLocation.Scalar, - "OBJECT" => DirectiveLocation.Object, - "FIELD_DEFINITION" => DirectiveLocation.FieldDefinition, - "ARGUMENT_DEFINITION" => DirectiveLocation.ArgumentDefinition, - "INTERFACE" => DirectiveLocation.Interface, - "UNION" => DirectiveLocation.Union, - "ENUM" => DirectiveLocation.Enum, - "ENUM_VALUE" => DirectiveLocation.EnumValue, - "INPUT_OBJECT" => DirectiveLocation.InputObject, - "INPUT_FIELD_DEFINITION" => DirectiveLocation.InputFieldDefinition, - _ => throw new global::StrawberryShake.GraphQLClientException($"String value '{serializedValue}' can't be converted to enum DirectiveLocation")}; - } - - public global::System.Object Format(global::System.Object? runtimeValue) - { - return runtimeValue switch - { - DirectiveLocation.Query => "QUERY", - DirectiveLocation.Mutation => "MUTATION", - DirectiveLocation.Subscription => "SUBSCRIPTION", - DirectiveLocation.Field => "FIELD", - DirectiveLocation.FragmentDefinition => "FRAGMENT_DEFINITION", - DirectiveLocation.FragmentSpread => "FRAGMENT_SPREAD", - DirectiveLocation.InlineFragment => "INLINE_FRAGMENT", - DirectiveLocation.VariableDefinition => "VARIABLE_DEFINITION", - DirectiveLocation.Schema => "SCHEMA", - DirectiveLocation.Scalar => "SCALAR", - DirectiveLocation.Object => "OBJECT", - DirectiveLocation.FieldDefinition => "FIELD_DEFINITION", - DirectiveLocation.ArgumentDefinition => "ARGUMENT_DEFINITION", - DirectiveLocation.Interface => "INTERFACE", - DirectiveLocation.Union => "UNION", - DirectiveLocation.Enum => "ENUM", - DirectiveLocation.EnumValue => "ENUM_VALUE", - DirectiveLocation.InputObject => "INPUT_OBJECT", - DirectiveLocation.InputFieldDefinition => "INPUT_FIELD_DEFINITION", - _ => throw new global::StrawberryShake.GraphQLClientException($"Enum DirectiveLocation value '{runtimeValue}' can't be converted to string")}; - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public enum ApiKind - { - Collection, - Service, - Gateway - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ApiKindSerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser - { - public global::System.String TypeName => "ApiKind"; - - public ApiKind Parse(global::System.String serializedValue) - { - return serializedValue switch - { - "COLLECTION" => ApiKind.Collection, - "SERVICE" => ApiKind.Service, - "GATEWAY" => ApiKind.Gateway, - _ => throw new global::StrawberryShake.GraphQLClientException($"String value '{serializedValue}' can't be converted to enum ApiKind")}; - } - - public global::System.Object Format(global::System.Object? runtimeValue) - { - return runtimeValue switch - { - ApiKind.Collection => "COLLECTION", - ApiKind.Service => "SERVICE", - ApiKind.Gateway => "GATEWAY", - _ => throw new global::StrawberryShake.GraphQLClientException($"Enum ApiKind value '{runtimeValue}' can't be converted to string")}; - } - } - - /// - /// Represents the operation service of the UploadFusionSubgraph GraphQL operation - /// - /// mutation UploadFusionSubgraph($input: UploadFusionSubgraphInput!) { - /// uploadFusionSubgraph(input: $input) { - /// __typename - /// fusionSubgraphVersion { - /// __typename - /// id - /// } - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... InvalidFusionSourceSchemaArchiveError - /// ... Error - /// } - /// } - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment InvalidFusionSourceSchemaArchiveError on InvalidFusionSourceSchemaArchiveError { - /// message - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraphMutationDocument : global::StrawberryShake.IDocument - { - private UploadFusionSubgraphMutationDocument() - { - } - - public static UploadFusionSubgraphMutationDocument Instance { get; } = new UploadFusionSubgraphMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "6ad8835f646dd18170a8670d303ed8ae"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the UploadFusionSubgraph GraphQL operation - /// - /// mutation UploadFusionSubgraph($input: UploadFusionSubgraphInput!) { - /// uploadFusionSubgraph(input: $input) { - /// __typename - /// fusionSubgraphVersion { - /// __typename - /// id - /// } - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... InvalidFusionSourceSchemaArchiveError - /// ... Error - /// } - /// } - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment InvalidFusionSourceSchemaArchiveError on InvalidFusionSourceSchemaArchiveError { - /// message - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraphMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadFusionSubgraphInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public UploadFusionSubgraphMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _uploadFusionSubgraphInputFormatter = serializerResolver.GetInputValueFormatter("UploadFusionSubgraphInput"); - } - - private UploadFusionSubgraphMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadFusionSubgraphInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _uploadFusionSubgraphInputFormatter = uploadFusionSubgraphInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadFusionSubgraphResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphMutation(_operationExecutor, _configure.Add(configure), _uploadFusionSubgraphInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeUploadFusionSubgraphInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput value, global::System.Collections.Generic.Dictionary files) - { - var pathArchive = path + ".archive"; - var valueArchive = value.Archive; - files.Add(pathArchive, valueArchive is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeUploadFusionSubgraphInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: UploadFusionSubgraphMutationDocument.Instance.Hash.Value, name: "UploadFusionSubgraph", document: UploadFusionSubgraphMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _uploadFusionSubgraphInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_PageInfo_PageInfo : IListClientCommandQuery_Node_Clients_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node : IClientDetailPrompt_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Client : IListClientCommandQuery_Node_Clients_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Api + { + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Api_Api : IListClientCommandQuery_Node_Clients_Edges_Node_Api + { + } + /// - /// Represents the operation service of the UploadFusionSubgraph GraphQL operation - /// - /// mutation UploadFusionSubgraph($input: UploadFusionSubgraphInput!) { - /// uploadFusionSubgraph(input: $input) { - /// __typename - /// fusionSubgraphVersion { - /// __typename - /// id - /// } - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... InvalidFusionSourceSchemaArchiveError - /// ... Error - /// } - /// } - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment InvalidFusionSourceSchemaArchiveError on InvalidFusionSourceSchemaArchiveError { - /// message - /// } - /// + /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraphMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + } + /// - /// Represents the operation service of the FetchConfiguration GraphQL operation - /// - /// query FetchConfiguration($id: ID!, $stage: String!) { - /// fusionConfigurationByApiId(id: $id, stage: $stage) { - /// __typename - /// downloadUrl - /// tag - /// } - /// } - /// + /// A connection to a list of items. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class FetchConfigurationQueryDocument : global::StrawberryShake.IDocument - { - private FetchConfigurationQueryDocument() - { - } - - public static FetchConfigurationQueryDocument Instance { get; } = new FetchConfigurationQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "3097e85429305b83549a5845054a2148"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_ClientVersionConnection : IListClientCommandQuery_Node_Clients_Edges_Node_Versions + { + } + /// - /// Represents the operation service of the FetchConfiguration GraphQL operation - /// - /// query FetchConfiguration($id: ID!, $stage: String!) { - /// fusionConfigurationByApiId(id: $id, stage: $stage) { - /// __typename - /// downloadUrl - /// tag - /// } - /// } - /// + /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class FetchConfigurationQuery : global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public FetchConfigurationQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - private FetchConfigurationQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - _stringFormatter = @stringFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IFetchConfigurationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.FetchConfigurationQuery(_operationExecutor, _configure.Add(configure), _iDFormatter, _stringFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String id, global::System.String stage, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(id, stage); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String id, global::System.String stage, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(id, stage); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String id, global::System.String stage) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("id", FormatId(id)); - variables.Add("stage", FormatStage(stage)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: FetchConfigurationQueryDocument.Instance.Hash.Value, name: "FetchConfiguration", document: FetchConfigurationQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatStage(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _stringFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges : IClientDetailPrompt_ClientVersionEdge + { + } + /// - /// Represents the operation service of the FetchConfiguration GraphQL operation - /// - /// query FetchConfiguration($id: ID!, $stage: String!) { - /// fusionConfigurationByApiId(id: $id, stage: $stage) { - /// __typename - /// downloadUrl - /// tag - /// } - /// } - /// + /// An edge in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFetchConfigurationQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String id, global::System.String stage, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String id, global::System.String stage, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_ClientVersionEdge : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges + { + } + /// - /// Represents the operation service of the CreateMockSchema GraphQL operation - /// - /// mutation CreateMockSchema($apiId: ID!, $baseSchemaFile: Upload!, $downstreamUrl: String!, $extensionsSchemaFile: Upload!, $name: String!) { - /// createMockSchema(input: { apiId: $apiId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { - /// __typename - /// mockSchema { - /// __typename - /// id - /// ... MockSchemaDetailPrompt - /// } - /// errors { - /// __typename - /// ... ApiNotFoundError - /// ... MockSchemaNonUniqueNameError - /// } - /// } - /// } - /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url - /// } - /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { - /// __typename - /// message - /// name - /// ... Error - /// } - /// + /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchemaMutationDocument : global::StrawberryShake.IDocument - { - private CreateMockSchemaMutationDocument() - { - } - - public static CreateMockSchemaMutationDocument Instance { get; } = new CreateMockSchemaMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "dc1c3bda5bde62cf3e0b9afcaf32824e"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo + { + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + } + /// - /// Represents the operation service of the CreateMockSchema GraphQL operation - /// - /// mutation CreateMockSchema($apiId: ID!, $baseSchemaFile: Upload!, $downstreamUrl: String!, $extensionsSchemaFile: Upload!, $name: String!) { - /// createMockSchema(input: { apiId: $apiId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { - /// __typename - /// mockSchema { - /// __typename - /// id - /// ... MockSchemaDetailPrompt - /// } - /// errors { - /// __typename - /// ... ApiNotFoundError - /// ... MockSchemaNonUniqueNameError - /// } - /// } - /// } - /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url - /// } - /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { - /// __typename - /// message - /// name - /// ... Error - /// } - /// + /// Information about pagination in a connection. /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchemaMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CreateMockSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - private CreateMockSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter uploadFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - _uploadFormatter = uploadFormatter; - _stringFormatter = @stringFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateMockSchemaResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchemaMutation(_operationExecutor, _configure.Add(configure), _iDFormatter, _uploadFormatter, _stringFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId, baseSchemaFile, downstreamUrl, extensionsSchemaFile, name); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromArgumentBaseSchemaFile(global::System.String path, global::StrawberryShake.Upload value, global::System.Collections.Generic.Dictionary files) - { - files.Add(path, value is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentExtensionsSchemaFile(global::System.String path, global::StrawberryShake.Upload value, global::System.Collections.Generic.Dictionary files) - { - files.Add(path, value is global::StrawberryShake.Upload u ? u : null); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId, baseSchemaFile, downstreamUrl, extensionsSchemaFile, name); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - variables.Add("baseSchemaFile", FormatBaseSchemaFile(baseSchemaFile)); - variables.Add("downstreamUrl", FormatDownstreamUrl(downstreamUrl)); - variables.Add("extensionsSchemaFile", FormatExtensionsSchemaFile(extensionsSchemaFile)); - variables.Add("name", FormatName(name)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentBaseSchemaFile("variables.baseSchemaFile", baseSchemaFile, files); - MapFilesFromArgumentExtensionsSchemaFile("variables.extensionsSchemaFile", extensionsSchemaFile, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: CreateMockSchemaMutationDocument.Instance.Hash.Value, name: "CreateMockSchema", document: CreateMockSchemaMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatBaseSchemaFile(global::StrawberryShake.Upload value) - { - return _uploadFormatter.Format(value); - } - - private global::System.Object? FormatDownstreamUrl(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _stringFormatter.Format(value); - } - - private global::System.Object? FormatExtensionsSchemaFile(global::StrawberryShake.Upload value) - { - return _uploadFormatter.Format(value); - } - - private global::System.Object? FormatName(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _stringFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - - /// - /// Represents the operation service of the CreateMockSchema GraphQL operation - /// - /// mutation CreateMockSchema($apiId: ID!, $baseSchemaFile: Upload!, $downstreamUrl: String!, $extensionsSchemaFile: Upload!, $name: String!) { - /// createMockSchema(input: { apiId: $apiId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { - /// __typename - /// mockSchema { - /// __typename + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo_PageInfo : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node + { + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_ClientVersion : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : IListClientCommandQuery_Node_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersionResult : global::System.IEquatable, IPublishClientVersionResult + { + public PublishClientVersionResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient publishClient) + { + PublishClient = publishClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient PublishClient { get; } + + public virtual global::System.Boolean Equals(PublishClientVersionResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (PublishClient.Equals(other.PublishClient)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishClientVersionResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * PublishClient.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersion_PublishClient_PublishClientPayload : global::System.IEquatable, IPublishClientVersion_PublishClient_PublishClientPayload + { + public PublishClientVersion_PublishClient_PublishClientPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) + { + Id = id; + Errors = errors; + } + + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_PublishClientPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishClientVersion_PublishClient_PublishClientPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Id != null) + { + hash ^= 397 * Id.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersion_PublishClient_Errors_StageNotFoundError : global::System.IEquatable, IPublishClientVersion_PublishClient_Errors_StageNotFoundError + { + public PublishClientVersion_PublishClient_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishClientVersion_PublishClient_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersion_PublishClient_Errors_ClientNotFoundError : global::System.IEquatable, IPublishClientVersion_PublishClient_Errors_ClientNotFoundError + { + public PublishClientVersion_PublishClient_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) + { + Message = message; + ClientId = clientId; + } + + public global::System.String Message { get; } + public global::System.String ClientId { get; } + + public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_Errors_ClientNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishClientVersion_PublishClient_Errors_ClientNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ClientId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersion_PublishClient_Errors_UnauthorizedOperation : global::System.IEquatable, IPublishClientVersion_PublishClient_Errors_UnauthorizedOperation + { + public PublishClientVersion_PublishClient_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishClientVersion_PublishClient_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError : global::System.IEquatable, IPublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError + { + public PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError(global::System.String tag, global::System.String message, global::System.String clientId) + { + Tag = tag; + Message = message; + ClientId = clientId; + } + + public global::System.String Tag { get; } + public global::System.String Message { get; } + public global::System.String ClientId { get; } + + public virtual global::System.Boolean Equals(PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Tag.Equals(other.Tag)) && Message.Equals(other.Message) && ClientId.Equals(other.ClientId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Tag.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ClientId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersionResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient PublishClient { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersion_PublishClient + { + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersion_PublishClient_PublishClientPayload : IPublishClientVersion_PublishClient + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersion_PublishClient_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStageNotFoundError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersion_PublishClient_Errors_StageNotFoundError : IPublishClientVersion_PublishClient_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersion_PublishClient_Errors_ClientNotFoundError : IPublishClientVersion_PublishClient_Errors, IClientNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersion_PublishClient_Errors_UnauthorizedOperation : IPublishClientVersion_PublishClient_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionNotFoundError : IError + { + public global::System.String Tag { get; } + public global::System.String ClientId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError : IPublishClientVersion_PublishClient_Errors, IClientVersionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdatedResult : global::System.IEquatable, IOnClientVersionPublishUpdatedResult + { + public OnClientVersionPublishUpdatedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate onClientVersionPublishingUpdate) + { + OnClientVersionPublishingUpdate = onClientVersionPublishingUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate OnClientVersionPublishingUpdate { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdatedResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnClientVersionPublishingUpdate.Equals(other.OnClientVersionPublishingUpdate)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdatedResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnClientVersionPublishingUpdate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + State = state; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued(global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) + { + this.__typename = __typename; + Queued = queued; + QueuePosition = queuePosition; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Queued { get; } + public global::System.Int32 QueuePosition { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Queued.GetHashCode(); + hash ^= 397 * QueuePosition.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady(global::System.String __typename, global::System.String ready) + { + this.__typename = __typename; + Ready = ready; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Ready { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Ready.Equals(other.Ready); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Ready.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) + { + this.__typename = __typename; + State = state; + Deployment = deployment; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + if (Deployment != null) + { + hash ^= 397 * Deployment.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError() + { + } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) + { + this.__typename = __typename; + Message = message; + Column = column; + Position = position; + Line = line; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Int32 Column { get; } + public global::System.Int32 Position { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Position.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Message = message; + Code = code; + Path = path; + Locations = locations; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) + { + Message = message; + Code = code; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) + { + Errors = errors; + HttpMethod = httpMethod; + Route = route; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * HttpMethod.GetHashCode(); + hash ^= 397 * Route.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + this.__typename = __typename; + Changes = changes; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation + { + public OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdatedResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate OnClientVersionPublishingUpdate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionPublishFailed + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IClientVersionPublishFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionPublishSuccess + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IClientVersionPublishSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOperationInProgress + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IProcessingTaskApproved + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IProcessingTaskApproved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IProcessingTaskIsQueued + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Queued { get; } + public global::System.Int32 QueuePosition { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IProcessingTaskIsQueued + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IProcessingTaskIsReady + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Ready { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IProcessingTaskIsReady + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IWaitForApproval + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate, IWaitForApproval + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IConcurrentOperationError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPersistedQueryValidationError + { + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IProcessingTimeoutError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors, IProcessingTimeoutError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnexpectedProcessingError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaChangeViolationError + { + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInvalidGraphQLSchemaError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionValidationError + { + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionValidationError + { + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOperationsAreNotAllowedError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4, IOperationsAreNotAllowedError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionSyntaxError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Int32 Column { get; } + public global::System.Int32 Position { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4, ISchemaVersionSyntaxError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client_Client : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaChangeLogEntry + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaChange + { + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDirectiveModifiedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IEnumModifiedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInputObjectModifiedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInterfaceModifiedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IObjectModifiedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IScalarModifiedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ITypeSystemMemberAddedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ITypeSystemMemberRemovedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnionModifiedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IArgumentAdded : ISchemaChange + { + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IArgumentChanged : ISchemaChange + { + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IArgumentRemoved : ISchemaChange + { + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDescriptionChanged : ISchemaChange + { + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDirectiveLocationAdded : ISchemaChange + { + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDirectiveLocationRemoved : ISchemaChange + { + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IEnumValueAdded : ISchemaChange + { + public global::System.String Coordinate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IEnumValueChanged : ISchemaChange + { + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IEnumValueRemoved : ISchemaChange + { + public global::System.String Coordinate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFieldAddedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFieldRemovedChange : ISchemaChange + { + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInputFieldChanged : ISchemaChange + { + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInterfaceImplementationAdded : ISchemaChange + { + public global::System.String InterfaceName { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInterfaceImplementationRemoved : ISchemaChange + { + public global::System.String InterfaceName { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOutputFieldChanged : ISchemaChange + { + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPossibleTypeAdded : ISchemaChange + { + public global::System.String TypeName { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPossibleTypeRemoved : ISchemaChange + { + public global::System.String TypeName { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnionMemberAdded : ISchemaChange + { + public global::System.String TypeName { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnionMemberRemoved : ISchemaChange + { + public global::System.String TypeName { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeprecatedChange : ISchemaChange + { + public global::System.String? DeprecationReason { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ITypeChanged : ISchemaChange + { + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionValidationDocumentError + { + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionValidationEntityValidationError + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionValidationDocumentError + { + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1, IMcpFeatureCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionValidationEntityValidationError + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1, IMcpFeatureCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQueryResult : global::System.IEquatable, IShowClientCommandQueryResult + { + public ShowClientCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node? node) + { + Node = node; + } + + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Api : global::System.IEquatable, IShowClientCommandQuery_Node_Api + { + public ShowClientCommandQuery_Node_Api() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_ApiDocument : global::System.IEquatable, IShowClientCommandQuery_Node_ApiDocument + { + public ShowClientCommandQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_ApiKey : global::System.IEquatable, IShowClientCommandQuery_Node_ApiKey + { + public ShowClientCommandQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Client : global::System.IEquatable, IShowClientCommandQuery_Node_Client + { + public ShowClientCommandQuery_Node_Client(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? api, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? versions) + { + Id = id; + Name = name; + Api = api; + Versions = versions; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? Api { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? Versions { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + if (Api != null) + { + hash ^= 397 * Api.GetHashCode(); + } + + if (Versions != null) + { + hash ^= 397 * Versions.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_ClientChangeLog + { + public ShowClientCommandQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_ClientDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_ClientDeployment + { + public ShowClientCommandQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_ClientVersion : global::System.IEquatable, IShowClientCommandQuery_Node_ClientVersion + { + public ShowClientCommandQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IShowClientCommandQuery_Node_CoordinateClientUsageMetrics + { + public ShowClientCommandQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Environment : global::System.IEquatable, IShowClientCommandQuery_Node_Environment + { + public ShowClientCommandQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_FusionConfigurationChangeLog + { + public ShowClientCommandQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_FusionConfigurationDeployment + { + public ShowClientCommandQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition + { + public ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLDirectiveDefinition + { + public ShowClientCommandQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLEnumTypeDefinition + { + public ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLEnumValueDefinition + { + public ShowClientCommandQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition + { + public ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition + { + public ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition + { + public ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition + { + public ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLObjectFieldDefinition + { + public ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLScalarTypeDefinition + { + public ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IShowClientCommandQuery_Node_GraphQLUnionTypeDefinition + { + public ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Group : global::System.IEquatable, IShowClientCommandQuery_Node_Group + { + public ShowClientCommandQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_McpFeatureCollection : global::System.IEquatable, IShowClientCommandQuery_Node_McpFeatureCollection + { + public ShowClientCommandQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_McpFeatureCollectionChangeLog + { + public ShowClientCommandQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_McpFeatureCollectionDeployment + { + public ShowClientCommandQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IShowClientCommandQuery_Node_McpFeatureCollectionVersion + { + public ShowClientCommandQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IShowClientCommandQuery_Node_OpenApiCollection + { + public ShowClientCommandQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_OpenApiCollectionChangeLog + { + public ShowClientCommandQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_OpenApiCollectionDeployment + { + public ShowClientCommandQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IShowClientCommandQuery_Node_OpenApiCollectionVersion + { + public ShowClientCommandQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Organization : global::System.IEquatable, IShowClientCommandQuery_Node_Organization + { + public ShowClientCommandQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_OrganizationMember : global::System.IEquatable, IShowClientCommandQuery_Node_OrganizationMember + { + public ShowClientCommandQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IShowClientCommandQuery_Node_SchemaChangeLog + { + public ShowClientCommandQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IShowClientCommandQuery_Node_SchemaDeployment + { + public ShowClientCommandQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Stage : global::System.IEquatable, IShowClientCommandQuery_Node_Stage + { + public ShowClientCommandQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_User : global::System.IEquatable, IShowClientCommandQuery_Node_User + { + public ShowClientCommandQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Workspace : global::System.IEquatable, IShowClientCommandQuery_Node_Workspace + { + public ShowClientCommandQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IShowClientCommandQuery_Node_WorkspaceDocument + { + public ShowClientCommandQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Api_Api : global::System.IEquatable, IShowClientCommandQuery_Node_Api_Api + { + public ShowClientCommandQuery_Node_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) + { + Name = name; + Path = path; + } + + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Api_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Api_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Versions_ClientVersionConnection : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_ClientVersionConnection + { + public ShowClientCommandQuery_Node_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_ClientVersionConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Versions_ClientVersionConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge + { + public ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_PageInfo_PageInfo + { + public ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) + { + HasNextPage = hasNextPage; + EndCursor = endCursor; + } + + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion + { + public ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) + { + Id = id; + CreatedAt = createdAt; + Tag = tag; + PublishedTo = publishedTo; + } + + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + foreach (var PublishedTo_elm in PublishedTo) + { + hash ^= 397 * PublishedTo_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion + { + public ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? stage) + { + Stage = stage; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Stage != null) + { + hash ^= 397 * Stage.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage + { + public ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQueryResult + { + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node? Node { get; } + } + + /// + /// The node interface is implemented by entities that have a global unique identifier. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Api : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_ApiDocument : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_ApiKey : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Client : IShowClientCommandQuery_Node, IClientDetailPrompt_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_ClientChangeLog : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_ClientDeployment : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_ClientVersion : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_CoordinateClientUsageMetrics : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Environment : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_FusionConfigurationChangeLog : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_FusionConfigurationDeployment : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLDirectiveDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLEnumTypeDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLEnumValueDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLObjectFieldDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLScalarTypeDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_GraphQLUnionTypeDefinition : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Group : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_McpFeatureCollection : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_McpFeatureCollectionChangeLog : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_McpFeatureCollectionDeployment : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_McpFeatureCollectionVersion : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_OpenApiCollection : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_OpenApiCollectionChangeLog : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_OpenApiCollectionDeployment : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_OpenApiCollectionVersion : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Organization : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_OrganizationMember : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_SchemaChangeLog : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_SchemaDeployment : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Stage : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_User : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Workspace : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_WorkspaceDocument : IShowClientCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Api_1 + { + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Api_Api : IShowClientCommandQuery_Node_Api_1 + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_ClientVersionConnection : IShowClientCommandQuery_Node_Versions + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_Edges : IClientDetailPrompt_ClientVersionEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge : IShowClientCommandQuery_Node_Versions_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_PageInfo + { + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_PageInfo_PageInfo : IShowClientCommandQuery_Node_Versions_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node + { + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion : IShowClientCommandQuery_Node_Versions_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClientResult : global::System.IEquatable, IUnpublishClientResult + { + public UnpublishClientResult(global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient unpublishClient) + { + UnpublishClient = unpublishClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient UnpublishClient { get; } + + public virtual global::System.Boolean Equals(UnpublishClientResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UnpublishClient.Equals(other.UnpublishClient)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClientResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UnpublishClient.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClient_UnpublishClient_UnpublishClientPayload : global::System.IEquatable, IUnpublishClient_UnpublishClient_UnpublishClientPayload + { + public UnpublishClient_UnpublishClient_UnpublishClientPayload(global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion? clientVersion, global::System.Collections.Generic.IReadOnlyList? errors) + { + ClientVersion = clientVersion; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion? ClientVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_UnpublishClientPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ClientVersion is null && other.ClientVersion is null) || ClientVersion != null && ClientVersion.Equals(other.ClientVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClient_UnpublishClient_UnpublishClientPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ClientVersion != null) + { + hash ^= 397 * ClientVersion.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClient_UnpublishClient_ClientVersion_ClientVersion : global::System.IEquatable, IUnpublishClient_UnpublishClient_ClientVersion_ClientVersion + { + public UnpublishClient_UnpublishClient_ClientVersion_ClientVersion(global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion_Client? client) + { + Id = id; + Client = client; + } + + public global::System.String Id { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion_Client? Client { get; } + + public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_ClientVersion_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClient_UnpublishClient_ClientVersion_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClient_UnpublishClient_Errors_StageNotFoundError : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_StageNotFoundError + { + public UnpublishClient_UnpublishClient_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClient_UnpublishClient_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClient_UnpublishClient_Errors_ClientNotFoundError : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_ClientNotFoundError + { + public UnpublishClient_UnpublishClient_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) + { + Message = message; + ClientId = clientId; + } + + public global::System.String Message { get; } + public global::System.String ClientId { get; } + + public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_ClientNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClient_UnpublishClient_Errors_ClientNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ClientId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_UnauthorizedOperation + { + public UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError + { + public UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError(global::System.String tag, global::System.String message, global::System.String clientId) + { + Tag = tag; + Message = message; + ClientId = clientId; + } + + public global::System.String Tag { get; } + public global::System.String Message { get; } + public global::System.String ClientId { get; } + + public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Tag.Equals(other.Tag)) && Message.Equals(other.Message) && ClientId.Equals(other.ClientId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Tag.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ClientId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError : global::System.IEquatable, IUnpublishClient_UnpublishClient_Errors_ConcurrentOperationError + { + public UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClient_UnpublishClient_ClientVersion_Client_Client : global::System.IEquatable, IUnpublishClient_UnpublishClient_ClientVersion_Client_Client + { + public UnpublishClient_UnpublishClient_ClientVersion_Client_Client(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(UnpublishClient_UnpublishClient_ClientVersion_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UnpublishClient_UnpublishClient_ClientVersion_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClientResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient UnpublishClient { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient + { + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion? ClientVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_UnpublishClientPayload : IUnpublishClient_UnpublishClient + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_ClientVersion + { + public global::System.String Id { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion_Client? Client { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_ClientVersion_ClientVersion : IUnpublishClient_UnpublishClient_ClientVersion + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_Errors_StageNotFoundError : IUnpublishClient_UnpublishClient_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_Errors_ClientNotFoundError : IUnpublishClient_UnpublishClient_Errors, IClientNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_Errors_UnauthorizedOperation : IUnpublishClient_UnpublishClient_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError : IUnpublishClient_UnpublishClient_Errors, IClientVersionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_Errors_ConcurrentOperationError : IUnpublishClient_UnpublishClient_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_ClientVersion_Client + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClient_UnpublishClient_ClientVersion_Client_Client : IUnpublishClient_UnpublishClient_ClientVersion_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClientResult : global::System.IEquatable, IUploadClientResult + { + public UploadClientResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient uploadClient) + { + UploadClient = uploadClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient UploadClient { get; } + + public virtual global::System.Boolean Equals(UploadClientResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UploadClient.Equals(other.UploadClient)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadClientResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UploadClient.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClient_UploadClient_UploadClientPayload : global::System.IEquatable, IUploadClient_UploadClient_UploadClientPayload + { + public UploadClient_UploadClient_UploadClientPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_ClientVersion? clientVersion, global::System.Collections.Generic.IReadOnlyList? errors) + { + ClientVersion = clientVersion; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_ClientVersion? ClientVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(UploadClient_UploadClient_UploadClientPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ClientVersion is null && other.ClientVersion is null) || ClientVersion != null && ClientVersion.Equals(other.ClientVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadClient_UploadClient_UploadClientPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ClientVersion != null) + { + hash ^= 397 * ClientVersion.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClient_UploadClient_ClientVersion_ClientVersion : global::System.IEquatable, IUploadClient_UploadClient_ClientVersion_ClientVersion + { + public UploadClient_UploadClient_ClientVersion_ClientVersion(global::System.String id) + { + Id = id; + } + + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(UploadClient_UploadClient_ClientVersion_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadClient_UploadClient_ClientVersion_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClient_UploadClient_Errors_ClientNotFoundError : global::System.IEquatable, IUploadClient_UploadClient_Errors_ClientNotFoundError + { + public UploadClient_UploadClient_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) + { + Message = message; + ClientId = clientId; + } + + public global::System.String Message { get; } + public global::System.String ClientId { get; } + + public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_ClientNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadClient_UploadClient_Errors_ClientNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ClientId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClient_UploadClient_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadClient_UploadClient_Errors_ConcurrentOperationError + { + public UploadClient_UploadClient_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadClient_UploadClient_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClient_UploadClient_Errors_InvalidPersistedQueryError : global::System.IEquatable, IUploadClient_UploadClient_Errors_InvalidPersistedQueryError + { + public UploadClient_UploadClient_Errors_InvalidPersistedQueryError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_InvalidPersistedQueryError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadClient_UploadClient_Errors_InvalidPersistedQueryError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClient_UploadClient_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadClient_UploadClient_Errors_UnauthorizedOperation + { + public UploadClient_UploadClient_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadClient_UploadClient_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClient_UploadClient_Errors_DuplicatedTagError : global::System.IEquatable, IUploadClient_UploadClient_Errors_DuplicatedTagError + { + public UploadClient_UploadClient_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadClient_UploadClient_Errors_DuplicatedTagError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadClient_UploadClient_Errors_DuplicatedTagError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClientResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient UploadClient { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_ClientVersion? ClientVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_UploadClientPayload : IUploadClient_UploadClient + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_ClientVersion + { + public global::System.String Id { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_ClientVersion_ClientVersion : IUploadClient_UploadClient_ClientVersion + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_Errors_ClientNotFoundError : IUploadClient_UploadClient_Errors, IClientNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_Errors_ConcurrentOperationError : IUploadClient_UploadClient_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_Errors_InvalidPersistedQueryError : IUploadClient_UploadClient_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_Errors_UnauthorizedOperation : IUploadClient_UploadClient_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDuplicatedTagError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClient_UploadClient_Errors_DuplicatedTagError : IUploadClient_UploadClient_Errors, IDuplicatedTagError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersionResult : global::System.IEquatable, IValidateClientVersionResult + { + public ValidateClientVersionResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient validateClient) + { + ValidateClient = validateClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient ValidateClient { get; } + + public virtual global::System.Boolean Equals(ValidateClientVersionResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ValidateClient.Equals(other.ValidateClient)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateClientVersionResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ValidateClient.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersion_ValidateClient_ValidateClientPayload : global::System.IEquatable, IValidateClientVersion_ValidateClient_ValidateClientPayload + { + public ValidateClientVersion_ValidateClient_ValidateClientPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) + { + Id = id; + Errors = errors; + } + + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(ValidateClientVersion_ValidateClient_ValidateClientPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateClientVersion_ValidateClient_ValidateClientPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Id != null) + { + hash ^= 397 * Id.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersion_ValidateClient_Errors_StageNotFoundError : global::System.IEquatable, IValidateClientVersion_ValidateClient_Errors_StageNotFoundError + { + public ValidateClientVersion_ValidateClient_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateClientVersion_ValidateClient_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateClientVersion_ValidateClient_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError : global::System.IEquatable, IValidateClientVersion_ValidateClient_Errors_ClientNotFoundError + { + public ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError(global::System.String message, global::System.String clientId) + { + Message = message; + ClientId = clientId; + } + + public global::System.String Message { get; } + public global::System.String ClientId { get; } + + public virtual global::System.Boolean Equals(ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ClientId.Equals(other.ClientId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ClientId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation + { + public ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientVersionResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient ValidateClient { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientVersion_ValidateClient + { + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientVersion_ValidateClient_ValidateClientPayload : IValidateClientVersion_ValidateClient + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientVersion_ValidateClient_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientVersion_ValidateClient_Errors_StageNotFoundError : IValidateClientVersion_ValidateClient_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientVersion_ValidateClient_Errors_ClientNotFoundError : IValidateClientVersion_ValidateClient_Errors, IClientNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation : IValidateClientVersion_ValidateClient_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdatedResult : global::System.IEquatable, IOnClientVersionValidationUpdatedResult + { + public OnClientVersionValidationUpdatedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate onClientVersionValidationUpdate) + { + OnClientVersionValidationUpdate = onClientVersionValidationUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate OnClientVersionValidationUpdate { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdatedResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnClientVersionValidationUpdate.Equals(other.OnClientVersionValidationUpdate)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdatedResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnClientVersionValidationUpdate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + State = state; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError() + { + } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Message = message; + Code = code; + Path = path; + Locations = locations; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation + { + public OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdatedResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate OnClientVersionValidationUpdate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionValidationFailed + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate, IClientVersionValidationFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionValidationSuccess + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate, IClientVersionValidationSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidationInProgress + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate, IValidationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors, IProcessingTimeoutError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutationResult : global::System.IEquatable, ICreateEnvironmentCommandMutationResult + { + public CreateEnvironmentCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges pushWorkspaceChanges) + { + PushWorkspaceChanges = pushWorkspaceChanges; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges PushWorkspaceChanges { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (PushWorkspaceChanges.Equals(other.PushWorkspaceChanges)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * PushWorkspaceChanges.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload(global::System.Collections.Generic.IReadOnlyList? changes, global::System.Collections.Generic.IReadOnlyList? errors) + { + Changes = changes; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList? Changes { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Changes != null) + { + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload(global::System.String referenceId, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? error, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? result) + { + ReferenceId = referenceId; + Error = error; + Result = result; + } + + public global::System.String ReferenceId { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? Error { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? Result { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ReferenceId.Equals(other.ReferenceId)) && ((Error is null && other.Error is null) || Error != null && Error.Equals(other.Error)) && ((Result is null && other.Result is null) || Result != null && Result.Equals(other.Result)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ReferenceId.GetHashCode(); + if (Error != null) + { + hash ^= 397 * Error.GetHashCode(); + } + + if (Result != null) + { + hash ^= 397 * Result.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api() + { + } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment(global::System.String name, global::System.String id, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace) + { + Name = name; + Id = id; + Workspace = workspace; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace : global::System.IEquatable, ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace + { + public CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges PushWorkspaceChanges { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges + { + public global::System.Collections.Generic.IReadOnlyList? Changes { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload : ICreateEnvironmentCommandMutation_PushWorkspaceChanges + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes + { + public global::System.String ReferenceId { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? Error { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? Result { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IEnvironmentDetailPrompt_Environment + { + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_Environment : IEnvironmentDetailPrompt_Environment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result, ICreateEnvironmentCommandMutation_Environment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace : ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQueryResult : global::System.IEquatable, IListEnvironmentCommandQueryResult + { + public ListEnvironmentCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById? workspaceById) + { + WorkspaceById = workspaceById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById? WorkspaceById { get; } + + public virtual global::System.Boolean Equals(ListEnvironmentCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((WorkspaceById is null && other.WorkspaceById is null) || WorkspaceById != null && WorkspaceById.Equals(other.WorkspaceById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListEnvironmentCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (WorkspaceById != null) + { + hash ^= 397 * WorkspaceById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQuery_WorkspaceById_Workspace : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Workspace + { + public ListEnvironmentCommandQuery_WorkspaceById_Workspace(global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments? environments) + { + Environments = environments; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments? Environments { get; } + + public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Environments is null && other.Environments is null) || Environments != null && Environments.Equals(other.Environments))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListEnvironmentCommandQuery_WorkspaceById_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Environments != null) + { + hash ^= 397 * Environments.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection + { + public ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge + { + public ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo + { + public ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment + { + public ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace) + { + Id = id; + Name = name; + Workspace = workspace; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + + public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace : global::System.IEquatable, IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace + { + public ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById? WorkspaceById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById + { + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments? Environments { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Workspace : IListEnvironmentCommandQuery_WorkspaceById + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection : IListEnvironmentCommandQuery_WorkspaceById_Environments + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommand_EnvironmentEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges : IListEnvironmentCommand_EnvironmentEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge : IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo : IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommand_Environment : IEnvironmentDetailPrompt_Environment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node : IListEnvironmentCommand_Environment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment : IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace : IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQueryResult : global::System.IEquatable, IShowEnvironmentCommandQueryResult + { + public ShowEnvironmentCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQuery_Node? node) + { + Node = node; + } + + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_Api : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Api + { + public ShowEnvironmentCommandQuery_Node_Api() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_ApiDocument : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ApiDocument + { + public ShowEnvironmentCommandQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_ApiKey : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ApiKey + { + public ShowEnvironmentCommandQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_Client : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Client + { + public ShowEnvironmentCommandQuery_Node_Client() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ClientChangeLog + { + public ShowEnvironmentCommandQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_ClientDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ClientDeployment + { + public ShowEnvironmentCommandQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_ClientVersion : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_ClientVersion + { + public ShowEnvironmentCommandQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics + { + public ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_Environment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Environment + { + public ShowEnvironmentCommandQuery_Node_Environment(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace) + { + Id = id; + Name = name; + Workspace = workspace; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog + { + public ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment + { + public ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition + { + public ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_Group : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Group + { + public ShowEnvironmentCommandQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_McpFeatureCollection : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_McpFeatureCollection + { + public ShowEnvironmentCommandQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_McpFeatureCollectionChangeLog + { + public ShowEnvironmentCommandQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_McpFeatureCollectionDeployment + { + public ShowEnvironmentCommandQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_McpFeatureCollectionVersion + { + public ShowEnvironmentCommandQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OpenApiCollection + { + public ShowEnvironmentCommandQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog + { + public ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment + { + public ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion + { + public ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_Organization : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Organization + { + public ShowEnvironmentCommandQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_OrganizationMember : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_OrganizationMember + { + public ShowEnvironmentCommandQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_SchemaChangeLog + { + public ShowEnvironmentCommandQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_SchemaDeployment + { + public ShowEnvironmentCommandQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_Stage : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Stage + { + public ShowEnvironmentCommandQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_User : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_User + { + public ShowEnvironmentCommandQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_Workspace : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Workspace + { + public ShowEnvironmentCommandQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_WorkspaceDocument + { + public ShowEnvironmentCommandQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQuery_Node_Workspace_Workspace : global::System.IEquatable, IShowEnvironmentCommandQuery_Node_Workspace_Workspace + { + public ShowEnvironmentCommandQuery_Node_Workspace_Workspace(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ShowEnvironmentCommandQuery_Node_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowEnvironmentCommandQuery_Node_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQueryResult + { + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQuery_Node? Node { get; } + } + + /// + /// The node interface is implemented by entities that have a global unique identifier. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Api : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_ApiDocument : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_ApiKey : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Client : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_ClientChangeLog : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_ClientDeployment : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_ClientVersion : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Environment : IShowEnvironmentCommandQuery_Node, IEnvironmentDetailPrompt_Environment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Group : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_McpFeatureCollection : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_McpFeatureCollectionChangeLog : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_McpFeatureCollectionDeployment : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_McpFeatureCollectionVersion : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_OpenApiCollection : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Organization : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_OrganizationMember : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_SchemaChangeLog : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_SchemaDeployment : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Stage : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_User : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Workspace : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_WorkspaceDocument : IShowEnvironmentCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Workspace_1 + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQuery_Node_Workspace_Workspace : IShowEnvironmentCommandQuery_Node_Workspace_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class FetchConfigurationResult : global::System.IEquatable, IFetchConfigurationResult + { + public FetchConfigurationResult(global::ChilliCream.Nitro.CommandLine.Client.IFetchConfiguration_FusionConfigurationByApiId? fusionConfigurationByApiId) + { + FusionConfigurationByApiId = fusionConfigurationByApiId; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfiguration_FusionConfigurationByApiId? FusionConfigurationByApiId { get; } + + public virtual global::System.Boolean Equals(FetchConfigurationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((FusionConfigurationByApiId is null && other.FusionConfigurationByApiId is null) || FusionConfigurationByApiId != null && FusionConfigurationByApiId.Equals(other.FusionConfigurationByApiId))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((FetchConfigurationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (FusionConfigurationByApiId != null) + { + hash ^= 397 * FusionConfigurationByApiId.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration : global::System.IEquatable, IFetchConfiguration_FusionConfigurationByApiId_FusionConfiguration + { + public FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration(global::System.String downloadUrl, global::System.String tag) + { + DownloadUrl = downloadUrl; + Tag = tag; + } + + public global::System.String DownloadUrl { get; } + public global::System.String Tag { get; } + + public virtual global::System.Boolean Equals(FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (DownloadUrl.Equals(other.DownloadUrl)) && Tag.Equals(other.Tag); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * DownloadUrl.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFetchConfigurationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfiguration_FusionConfigurationByApiId? FusionConfigurationByApiId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFetchConfiguration_FusionConfigurationByApiId + { + public global::System.String DownloadUrl { get; } + public global::System.String Tag { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFetchConfiguration_FusionConfigurationByApiId_FusionConfiguration : IFetchConfiguration_FusionConfigurationByApiId + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraphResult : global::System.IEquatable, IUploadFusionSubgraphResult + { + public UploadFusionSubgraphResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph uploadFusionSubgraph) + { + UploadFusionSubgraph = uploadFusionSubgraph; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph UploadFusionSubgraph { get; } + + public virtual global::System.Boolean Equals(UploadFusionSubgraphResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UploadFusionSubgraph.Equals(other.UploadFusionSubgraph)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadFusionSubgraphResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UploadFusionSubgraph.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload + { + public UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion? fusionSubgraphVersion, global::System.Collections.Generic.IReadOnlyList? errors) + { + FusionSubgraphVersion = fusionSubgraphVersion; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion? FusionSubgraphVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((FusionSubgraphVersion is null && other.FusionSubgraphVersion is null) || FusionSubgraphVersion != null && FusionSubgraphVersion.Equals(other.FusionSubgraphVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (FusionSubgraphVersion != null) + { + hash ^= 397 * FusionSubgraphVersion.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion + { + public UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion(global::System.String id) + { + Id = id; + } + + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError + { + public UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError + { + public UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError + { + public UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation + { + public UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError : global::System.IEquatable, IUploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError + { + public UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraphResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph UploadFusionSubgraph { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion? FusionSubgraphVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload : IUploadFusionSubgraph_UploadFusionSubgraph + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion + { + public global::System.String Id { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion : IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInvalidFusionSourceSchemaArchiveError + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IInvalidFusionSourceSchemaArchiveError, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError : IUploadFusionSubgraph_UploadFusionSubgraph_Errors, IDuplicatedTagError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutationResult : global::System.IEquatable, ICreateMcpFeatureCollectionCommandMutationResult + { + public CreateMcpFeatureCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection createMcpFeatureCollection) + { + CreateMcpFeatureCollection = createMcpFeatureCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection CreateMcpFeatureCollection { get; } + + public virtual global::System.Boolean Equals(CreateMcpFeatureCollectionCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CreateMcpFeatureCollection.Equals(other.CreateMcpFeatureCollection)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMcpFeatureCollectionCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CreateMcpFeatureCollection.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_CreateMcpFeatureCollectionPayload : global::System.IEquatable, ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_CreateMcpFeatureCollectionPayload + { + public CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_CreateMcpFeatureCollectionPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList? errors) + { + McpFeatureCollection = mcpFeatureCollection; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_CreateMcpFeatureCollectionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_CreateMcpFeatureCollectionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection_McpFeatureCollection + { + public CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection_McpFeatureCollection(global::System.String name, global::System.String id) + { + Name = name; + Id = id; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_ApiNotFoundError : global::System.IEquatable, ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_ApiNotFoundError + { + public CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_ApiNotFoundError(global::System.String message, global::System.String __typename, global::System.String apiId) + { + Message = message; + this.__typename = __typename; + ApiId = apiId; + } + + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_UnauthorizedOperation + { + public CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) + { + Message = message; + this.__typename = __typename; + } + + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection CreateMcpFeatureCollection { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_CreateMcpFeatureCollectionPayload : ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionDetailPrompt_McpFeatureCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutation_McpFeatureCollection : IMcpFeatureCollectionDetailPrompt_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection : ICreateMcpFeatureCollectionCommandMutation_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection_McpFeatureCollection : ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_ApiNotFoundError : ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_UnauthorizedOperation : ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutationResult : global::System.IEquatable, IDeleteMcpFeatureCollectionByIdCommandMutationResult + { + public DeleteMcpFeatureCollectionByIdCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById deleteMcpFeatureCollectionById) + { + DeleteMcpFeatureCollectionById = deleteMcpFeatureCollectionById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById DeleteMcpFeatureCollectionById { get; } + + public virtual global::System.Boolean Equals(DeleteMcpFeatureCollectionByIdCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (DeleteMcpFeatureCollectionById.Equals(other.DeleteMcpFeatureCollectionById)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteMcpFeatureCollectionByIdCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * DeleteMcpFeatureCollectionById.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_DeleteMcpFeatureCollectionByIdPayload : global::System.IEquatable, IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_DeleteMcpFeatureCollectionByIdPayload + { + public DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_DeleteMcpFeatureCollectionByIdPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList? errors) + { + McpFeatureCollection = mcpFeatureCollection; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_DeleteMcpFeatureCollectionByIdPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_DeleteMcpFeatureCollectionByIdPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection_McpFeatureCollection + { + public DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection_McpFeatureCollection(global::System.String name, global::System.String id) + { + Name = name; + Id = id; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_McpFeatureCollectionNotFoundError : global::System.IEquatable, IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_McpFeatureCollectionNotFoundError + { + public DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_McpFeatureCollectionNotFoundError(global::System.String message, global::System.String mcpFeatureCollectionId) + { + Message = message; + McpFeatureCollectionId = mcpFeatureCollectionId; + } + + public global::System.String Message { get; } + public global::System.String McpFeatureCollectionId { get; } + + public virtual global::System.Boolean Equals(DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_McpFeatureCollectionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && McpFeatureCollectionId.Equals(other.McpFeatureCollectionId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_McpFeatureCollectionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_UnauthorizedOperation + { + public DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) + { + Message = message; + this.__typename = __typename; + } + + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById DeleteMcpFeatureCollectionById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_DeleteMcpFeatureCollectionByIdPayload : IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection : IMcpFeatureCollectionDetailPrompt_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection : IDeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection_McpFeatureCollection : IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionNotFoundError : IError + { + public global::System.String McpFeatureCollectionId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_McpFeatureCollectionNotFoundError : IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors, IMcpFeatureCollectionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_UnauthorizedOperation : IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQueryResult : global::System.IEquatable, IListMcpFeatureCollectionCommandQueryResult + { + public ListMcpFeatureCollectionCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node? node) + { + Node = node; + } + + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_Api : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_Api + { + public ListMcpFeatureCollectionCommandQuery_Node_Api(global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections? mcpFeatureCollections) + { + McpFeatureCollections = mcpFeatureCollections; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections? McpFeatureCollections { get; } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollections is null && other.McpFeatureCollections is null) || McpFeatureCollections != null && McpFeatureCollections.Equals(other.McpFeatureCollections))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollections != null) + { + hash ^= 397 * McpFeatureCollections.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_ApiDocument : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_ApiDocument + { + public ListMcpFeatureCollectionCommandQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_ApiKey : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_ApiKey + { + public ListMcpFeatureCollectionCommandQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_Client : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_Client + { + public ListMcpFeatureCollectionCommandQuery_Node_Client() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_ClientChangeLog + { + public ListMcpFeatureCollectionCommandQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_ClientDeployment : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_ClientDeployment + { + public ListMcpFeatureCollectionCommandQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_ClientVersion : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_ClientVersion + { + public ListMcpFeatureCollectionCommandQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_CoordinateClientUsageMetrics + { + public ListMcpFeatureCollectionCommandQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_Environment : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_Environment + { + public ListMcpFeatureCollectionCommandQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationChangeLog + { + public ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationDeployment + { + public ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumTypeDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumValueDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLScalarTypeDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_GraphQLUnionTypeDefinition + { + public ListMcpFeatureCollectionCommandQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_Group : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_Group + { + public ListMcpFeatureCollectionCommandQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollection : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollection + { + public ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionChangeLog + { + public ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionDeployment + { + public ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionVersion + { + public ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_OpenApiCollection + { + public ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionChangeLog + { + public ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionDeployment + { + public ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionVersion + { + public ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_Organization : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_Organization + { + public ListMcpFeatureCollectionCommandQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_OrganizationMember : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_OrganizationMember + { + public ListMcpFeatureCollectionCommandQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_SchemaChangeLog + { + public ListMcpFeatureCollectionCommandQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_SchemaDeployment + { + public ListMcpFeatureCollectionCommandQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_Stage : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_Stage + { + public ListMcpFeatureCollectionCommandQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_User : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_User + { + public ListMcpFeatureCollectionCommandQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_Workspace : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_Workspace + { + public ListMcpFeatureCollectionCommandQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_WorkspaceDocument + { + public ListMcpFeatureCollectionCommandQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_ApiMcpFeatureCollectionsConnection : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_ApiMcpFeatureCollectionsConnection + { + public ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_ApiMcpFeatureCollectionsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_ApiMcpFeatureCollectionsConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_ApiMcpFeatureCollectionsConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge + { + public ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo_PageInfo : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo_PageInfo + { + public ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node_McpFeatureCollection : global::System.IEquatable, IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node_McpFeatureCollection + { + public ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQueryResult + { + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node? Node { get; } + } + + /// + /// The node interface is implemented by entities that have a global unique identifier. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_Api : IListMcpFeatureCollectionCommandQuery_Node + { + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections? McpFeatureCollections { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_ApiDocument : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_ApiKey : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_Client : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_ClientChangeLog : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_ClientDeployment : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_ClientVersion : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_CoordinateClientUsageMetrics : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_Environment : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationChangeLog : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationDeployment : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumTypeDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumValueDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLScalarTypeDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_GraphQLUnionTypeDefinition : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_Group : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollection : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionChangeLog : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionDeployment : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionVersion : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_OpenApiCollection : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionChangeLog : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionDeployment : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionVersion : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_Organization : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_OrganizationMember : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_SchemaChangeLog : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_SchemaDeployment : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_Stage : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_User : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_Workspace : IListMcpFeatureCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_WorkspaceDocument : IListMcpFeatureCollectionCommandQuery_Node + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_ApiMcpFeatureCollectionsConnection : IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges : IListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge : IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo_PageInfo : IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_McpFeatureCollection : IMcpFeatureCollectionDetailPrompt_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node : IListMcpFeatureCollectionCommandQuery_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node_McpFeatureCollection : IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutationResult : global::System.IEquatable, IPublishMcpFeatureCollectionCommandMutationResult + { + public PublishMcpFeatureCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection publishMcpFeatureCollection) + { + PublishMcpFeatureCollection = publishMcpFeatureCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection PublishMcpFeatureCollection { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (PublishMcpFeatureCollection.Equals(other.PublishMcpFeatureCollection)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * PublishMcpFeatureCollection.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_PublishMcpFeatureCollectionPayload : global::System.IEquatable, IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_PublishMcpFeatureCollectionPayload + { + public PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_PublishMcpFeatureCollectionPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) + { + Id = id; + Errors = errors; + } + + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_PublishMcpFeatureCollectionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_PublishMcpFeatureCollectionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Id != null) + { + hash ^= 397 * Id.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_StageNotFoundError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_StageNotFoundError + { + public PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError + { + public PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError(global::System.String mcpFeatureCollectionId, global::System.String message) + { + McpFeatureCollectionId = mcpFeatureCollectionId; + Message = message; + } + + public global::System.String McpFeatureCollectionId { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (McpFeatureCollectionId.Equals(other.McpFeatureCollectionId)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_UnauthorizedOperation + { + public PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionVersionNotFoundError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionVersionNotFoundError + { + public PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionVersionNotFoundError(global::System.String tag, global::System.String message, global::System.String mcpFeatureCollectionId) + { + Tag = tag; + Message = message; + McpFeatureCollectionId = mcpFeatureCollectionId; + } + + public global::System.String Tag { get; } + public global::System.String Message { get; } + public global::System.String McpFeatureCollectionId { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionVersionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Tag.Equals(other.Tag)) && Message.Equals(other.Message) && McpFeatureCollectionId.Equals(other.McpFeatureCollectionId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionVersionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Tag.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection PublishMcpFeatureCollection { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection + { + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_PublishMcpFeatureCollectionPayload : IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_StageNotFoundError : IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError : IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors, IMcpFeatureCollectionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_UnauthorizedOperation : IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionNotFoundError : IError + { + public global::System.String Tag { get; } + public global::System.String McpFeatureCollectionId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionVersionNotFoundError : IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors, IMcpFeatureCollectionVersionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscriptionResult : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscriptionResult + { + public PublishMcpFeatureCollectionCommandSubscriptionResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate onMcpFeatureCollectionVersionPublishingUpdate) + { + OnMcpFeatureCollectionVersionPublishingUpdate = onMcpFeatureCollectionVersionPublishingUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate OnMcpFeatureCollectionVersionPublishingUpdate { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscriptionResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnMcpFeatureCollectionVersionPublishingUpdate.Equals(other.OnMcpFeatureCollectionVersionPublishingUpdate)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscriptionResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnMcpFeatureCollectionVersionPublishingUpdate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishFailed : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishFailed + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + State = state; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishSuccess : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishSuccess + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_OperationInProgress : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_OperationInProgress + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskApproved : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskApproved + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskApproved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskApproved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskApproved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsQueued : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsQueued + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsQueued(global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) + { + this.__typename = __typename; + Queued = queued; + QueuePosition = queuePosition; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Queued { get; } + public global::System.Int32 QueuePosition { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsQueued? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsQueued)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Queued.GetHashCode(); + hash ^= 397 * QueuePosition.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsReady : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsReady + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsReady(global::System.String __typename, global::System.String ready) + { + this.__typename = __typename; + Ready = ready; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Ready { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsReady? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Ready.Equals(other.Ready); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsReady)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Ready.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_WaitForApproval : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_WaitForApproval + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_WaitForApproval(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) + { + this.__typename = __typename; + State = state; + Deployment = deployment; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_WaitForApproval? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_WaitForApproval)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + if (Deployment != null) + { + hash ^= 397 * Deployment.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError() + { + } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_ClientDeployment : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_ClientDeployment + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_SchemaDeployment : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_SchemaDeployment + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) + { + this.__typename = __typename; + Message = message; + Column = column; + Position = position; + Line = line; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Int32 Column { get; } + public global::System.Int32 Position { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Position.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) + { + Message = message; + Code = code; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Message = message; + Code = code; + Path = path; + Locations = locations; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) + { + Errors = errors; + HttpMethod = httpMethod; + Route = route; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * HttpMethod.GetHashCode(); + hash ^= 397 * Route.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + this.__typename = __typename; + Changes = changes; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation + { + public PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscriptionResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate OnMcpFeatureCollectionVersionPublishingUpdate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionPublishFailed + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishFailed : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate, IMcpFeatureCollectionVersionPublishFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionPublishSuccess + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishSuccess : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate, IMcpFeatureCollectionVersionPublishSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_OperationInProgress : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskApproved : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate, IProcessingTaskApproved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsQueued : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate, IProcessingTaskIsQueued + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsReady : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate, IProcessingTaskIsReady + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_WaitForApproval : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate, IWaitForApproval + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors, IProcessingTimeoutError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_ClientDeployment : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_SchemaDeployment : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_1, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_1, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_1, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_1, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_1, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_2, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_3, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_4 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_4, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_4, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_4, IOperationsAreNotAllowedError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_4, ISchemaVersionSyntaxError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_4, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_4, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_4, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_1 + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutationResult : global::System.IEquatable, IUploadMcpFeatureCollectionCommandMutationResult + { + public UploadMcpFeatureCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection uploadMcpFeatureCollection) + { + UploadMcpFeatureCollection = uploadMcpFeatureCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection UploadMcpFeatureCollection { get; } + + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UploadMcpFeatureCollection.Equals(other.UploadMcpFeatureCollection)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadMcpFeatureCollectionCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UploadMcpFeatureCollection.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_UploadMcpFeatureCollectionPayload : global::System.IEquatable, IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_UploadMcpFeatureCollectionPayload + { + public UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_UploadMcpFeatureCollectionPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion? mcpFeatureCollectionVersion, global::System.Collections.Generic.IReadOnlyList? errors) + { + McpFeatureCollectionVersion = mcpFeatureCollectionVersion; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion? McpFeatureCollectionVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_UploadMcpFeatureCollectionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollectionVersion is null && other.McpFeatureCollectionVersion is null) || McpFeatureCollectionVersion != null && McpFeatureCollectionVersion.Equals(other.McpFeatureCollectionVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_UploadMcpFeatureCollectionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollectionVersion != null) + { + hash ^= 397 * McpFeatureCollectionVersion.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion_McpFeatureCollectionVersion : global::System.IEquatable, IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion_McpFeatureCollectionVersion + { + public UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion_McpFeatureCollectionVersion(global::System.String id) + { + Id = id; + } + + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError : global::System.IEquatable, IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError + { + public UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError(global::System.String mcpFeatureCollectionId, global::System.String message) + { + McpFeatureCollectionId = mcpFeatureCollectionId; + Message = message; + } + + public global::System.String McpFeatureCollectionId { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (McpFeatureCollectionId.Equals(other.McpFeatureCollectionId)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_ConcurrentOperationError + { + public UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_UnauthorizedOperation + { + public UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_DuplicatedTagError : global::System.IEquatable, IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_DuplicatedTagError + { + public UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_DuplicatedTagError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_DuplicatedTagError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_InvalidMcpFeatureCollectionArchiveError : global::System.IEquatable, IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_InvalidMcpFeatureCollectionArchiveError + { + public UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_InvalidMcpFeatureCollectionArchiveError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_InvalidMcpFeatureCollectionArchiveError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_InvalidMcpFeatureCollectionArchiveError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection UploadMcpFeatureCollection { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion? McpFeatureCollectionVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_UploadMcpFeatureCollectionPayload : IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion + { + public global::System.String Id { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion_McpFeatureCollectionVersion : IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError : IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors, IMcpFeatureCollectionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_ConcurrentOperationError : IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_UnauthorizedOperation : IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_DuplicatedTagError : IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors, IDuplicatedTagError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInvalidMcpFeatureCollectionArchiveError + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_InvalidMcpFeatureCollectionArchiveError : IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors, IInvalidMcpFeatureCollectionArchiveError, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutationResult : global::System.IEquatable, IValidateMcpFeatureCollectionCommandMutationResult + { + public ValidateMcpFeatureCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection validateMcpFeatureCollection) + { + ValidateMcpFeatureCollection = validateMcpFeatureCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection ValidateMcpFeatureCollection { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ValidateMcpFeatureCollection.Equals(other.ValidateMcpFeatureCollection)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ValidateMcpFeatureCollection.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ValidateMcpFeatureCollectionPayload : global::System.IEquatable, IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ValidateMcpFeatureCollectionPayload + { + public ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ValidateMcpFeatureCollectionPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) + { + Id = id; + Errors = errors; + } + + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ValidateMcpFeatureCollectionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ValidateMcpFeatureCollectionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Id != null) + { + hash ^= 397 * Id.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_StageNotFoundError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_StageNotFoundError + { + public ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError + { + public ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError(global::System.String mcpFeatureCollectionId, global::System.String message) + { + McpFeatureCollectionId = mcpFeatureCollectionId; + Message = message; + } + + public global::System.String McpFeatureCollectionId { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (McpFeatureCollectionId.Equals(other.McpFeatureCollectionId)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_UnauthorizedOperation + { + public ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection ValidateMcpFeatureCollection { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection + { + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ValidateMcpFeatureCollectionPayload : IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_StageNotFoundError : IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError : IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors, IMcpFeatureCollectionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_UnauthorizedOperation : IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscriptionResult : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscriptionResult + { + public ValidateMcpFeatureCollectionCommandSubscriptionResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate onMcpFeatureCollectionVersionValidationUpdate) + { + OnMcpFeatureCollectionVersionValidationUpdate = onMcpFeatureCollectionVersionValidationUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate OnMcpFeatureCollectionVersionValidationUpdate { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscriptionResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnMcpFeatureCollectionVersionValidationUpdate.Equals(other.OnMcpFeatureCollectionVersionValidationUpdate)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscriptionResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnMcpFeatureCollectionVersionValidationUpdate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationFailed : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationFailed + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + State = state; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationSuccess : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationSuccess + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_OperationInProgress : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_OperationInProgress + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ValidationInProgress : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ValidationInProgress + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ValidationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ValidationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ValidationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationArchiveError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationArchiveError + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationArchiveError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationArchiveError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationArchiveError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationError + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ReadyTimeoutError + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ReadyTimeoutError() + { + } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : global::System.IEquatable, IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation + { + public ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscriptionResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate OnMcpFeatureCollectionVersionValidationUpdate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionValidationFailed + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationFailed : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate, IMcpFeatureCollectionVersionValidationFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionValidationSuccess + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationSuccess : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate, IMcpFeatureCollectionVersionValidationSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_OperationInProgress : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ValidationInProgress : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate, IValidationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionValidationArchiveError + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationArchiveError : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors, IMcpFeatureCollectionValidationArchiveError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationError : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors, IProcessingTimeoutError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ReadyTimeoutError : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchemaResult : global::System.IEquatable, ICreateMockSchemaResult + { + public CreateMockSchemaResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema createMockSchema) + { + CreateMockSchema = createMockSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema CreateMockSchema { get; } + + public virtual global::System.Boolean Equals(CreateMockSchemaResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CreateMockSchema.Equals(other.CreateMockSchema)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchemaResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CreateMockSchema.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_CreateMockSchemaPayload + { + public CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema? mockSchema, global::System.Collections.Generic.IReadOnlyList? errors) + { + MockSchema = mockSchema; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema? MockSchema { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((MockSchema is null && other.MockSchema is null) || MockSchema != null && MockSchema.Equals(other.MockSchema))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (MockSchema != null) + { + hash ^= 397 * MockSchema.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchema_CreateMockSchema_MockSchema_MockSchema : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_MockSchema_MockSchema + { + public CreateMockSchema_CreateMockSchema_MockSchema_MockSchema(global::System.String id, global::System.String name, global::System.DateTimeOffset createdAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy createdBy, global::System.DateTimeOffset modifiedAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy modifiedBy, global::System.Uri downstreamUrl, global::System.String url) + { + Id = id; + Name = name; + CreatedAt = createdAt; + CreatedBy = createdBy; + ModifiedAt = modifiedAt; + ModifiedBy = modifiedBy; + DownstreamUrl = downstreamUrl; + Url = url; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } + public global::System.DateTimeOffset ModifiedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } + public global::System.Uri DownstreamUrl { get; } + public global::System.String Url { get; } + + public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_MockSchema_MockSchema? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && CreatedAt.Equals(other.CreatedAt) && CreatedBy.Equals(other.CreatedBy) && ModifiedAt.Equals(other.ModifiedAt) && ModifiedBy.Equals(other.ModifiedBy) && DownstreamUrl.Equals(other.DownstreamUrl) && Url.Equals(other.Url); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchema_CreateMockSchema_MockSchema_MockSchema)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * CreatedBy.GetHashCode(); + hash ^= 397 * ModifiedAt.GetHashCode(); + hash ^= 397 * ModifiedBy.GetHashCode(); + hash ^= 397 * DownstreamUrl.GetHashCode(); + hash ^= 397 * Url.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError + { + public CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) + { + this.__typename = __typename; + Message = message; + ApiId = apiId; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError + { + public CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation + { + public CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation() + { + } + + public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchema_CreateMockSchema_Errors_ValidationError : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_Errors_ValidationError + { + public CreateMockSchema_CreateMockSchema_Errors_ValidationError() + { + } + + public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_Errors_ValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchema_CreateMockSchema_Errors_ValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo + { + public CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(global::System.String username) + { + Username = username; + } + + public global::System.String Username { get; } + + public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Username.Equals(other.Username)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Username.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo : global::System.IEquatable, ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo + { + public CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(global::System.String username) + { + Username = username; + } + + public global::System.String Username { get; } + + public virtual global::System.Boolean Equals(CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Username.Equals(other.Username)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Username.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchemaResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema CreateMockSchema { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema? MockSchema { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_CreateMockSchemaPayload : ICreateMockSchema_CreateMockSchema + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMockSchemaDetailPrompt + { + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } + public global::System.DateTimeOffset ModifiedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } + public global::System.Uri DownstreamUrl { get; } + public global::System.String Url { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_MockSchema : IMockSchemaDetailPrompt + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_MockSchema : ICreateMockSchema_CreateMockSchema_MockSchema + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError : ICreateMockSchema_CreateMockSchema_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMockSchemaNonUniqueNameError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError : ICreateMockSchema_CreateMockSchema_Errors, IMockSchemaNonUniqueNameError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation : ICreateMockSchema_CreateMockSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_Errors_ValidationError : ICreateMockSchema_CreateMockSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy + { + public global::System.String Username { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo : ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy + { + public global::System.String Username { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo : ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQueryResult : global::System.IEquatable, IListMockCommandQueryResult + { + public ListMockCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById? ApiById { get; } + + public virtual global::System.Boolean Equals(ListMockCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMockCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ApiById != null) + { + hash ^= 397 * ApiById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQuery_ApiById_Api : global::System.IEquatable, IListMockCommandQuery_ApiById_Api + { + public ListMockCommandQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas? mockSchemas) + { + MockSchemas = mockSchemas; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas? MockSchemas { get; } + + public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((MockSchemas is null && other.MockSchemas is null) || MockSchemas != null && MockSchemas.Equals(other.MockSchemas))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMockCommandQuery_ApiById_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (MockSchemas != null) + { + hash ^= 397 * MockSchemas.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection + { + public ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge + { + public ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo + { + public ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema + { + public ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema(global::System.String id, global::System.String name, global::System.DateTimeOffset createdAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy createdBy, global::System.DateTimeOffset modifiedAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy modifiedBy, global::System.Uri downstreamUrl, global::System.String url) + { + Id = id; + Name = name; + CreatedAt = createdAt; + CreatedBy = createdBy; + ModifiedAt = modifiedAt; + ModifiedBy = modifiedBy; + DownstreamUrl = downstreamUrl; + Url = url; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } + public global::System.DateTimeOffset ModifiedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } + public global::System.Uri DownstreamUrl { get; } + public global::System.String Url { get; } + + public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && CreatedAt.Equals(other.CreatedAt) && CreatedBy.Equals(other.CreatedBy) && ModifiedAt.Equals(other.ModifiedAt) && ModifiedBy.Equals(other.ModifiedBy) && DownstreamUrl.Equals(other.DownstreamUrl) && Url.Equals(other.Url); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * CreatedBy.GetHashCode(); + hash ^= 397 * ModifiedAt.GetHashCode(); + hash ^= 397 * ModifiedBy.GetHashCode(); + hash ^= 397 * DownstreamUrl.GetHashCode(); + hash ^= 397 * Url.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo + { + public ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo(global::System.String username) + { + Username = username; + } + + public global::System.String Username { get; } + + public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Username.Equals(other.Username)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Username.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo : global::System.IEquatable, IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo + { + public ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo(global::System.String username) + { + Username = username; + } + + public global::System.String Username { get; } + + public virtual global::System.Boolean Equals(ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Username.Equals(other.Username)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Username.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById? ApiById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById + { + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas? MockSchemas { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_Api : IListMockCommandQuery_ApiById + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection : IListMockCommandQuery_ApiById_MockSchemas + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommand_MockEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges : IListMockCommand_MockEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge : IListMockCommandQuery_ApiById_MockSchemas_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo : IListMockCommandQuery_ApiById_MockSchemas_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommand_Mock : IMockSchemaDetailPrompt + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node : IListMockCommand_Mock + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema : IListMockCommandQuery_ApiById_MockSchemas_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy + { + public global::System.String Username { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo : IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_CreatedBy + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy + { + public global::System.String Username { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo : IListMockCommandQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchemaResult : global::System.IEquatable, IUpdateMockSchemaResult + { + public UpdateMockSchemaResult(global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema updateMockSchema) + { + UpdateMockSchema = updateMockSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema UpdateMockSchema { get; } + + public virtual global::System.Boolean Equals(UpdateMockSchemaResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UpdateMockSchema.Equals(other.UpdateMockSchema)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchemaResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UpdateMockSchema.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload + { + public UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload(global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_MockSchema? mockSchema, global::System.Collections.Generic.IReadOnlyList? errors) + { + MockSchema = mockSchema; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_MockSchema? MockSchema { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((MockSchema is null && other.MockSchema is null) || MockSchema != null && MockSchema.Equals(other.MockSchema))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (MockSchema != null) + { + hash ^= 397 * MockSchema.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema + { + public UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema(global::System.String id, global::System.String name, global::System.DateTimeOffset createdAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy createdBy, global::System.DateTimeOffset modifiedAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy modifiedBy, global::System.Uri downstreamUrl, global::System.String url) + { + Id = id; + Name = name; + CreatedAt = createdAt; + CreatedBy = createdBy; + ModifiedAt = modifiedAt; + ModifiedBy = modifiedBy; + DownstreamUrl = downstreamUrl; + Url = url; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } + public global::System.DateTimeOffset ModifiedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } + public global::System.Uri DownstreamUrl { get; } + public global::System.String Url { get; } + + public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && CreatedAt.Equals(other.CreatedAt) && CreatedBy.Equals(other.CreatedBy) && ModifiedAt.Equals(other.ModifiedAt) && ModifiedBy.Equals(other.ModifiedBy) && DownstreamUrl.Equals(other.DownstreamUrl) && Url.Equals(other.Url); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * CreatedBy.GetHashCode(); + hash ^= 397 * ModifiedAt.GetHashCode(); + hash ^= 397 * ModifiedBy.GetHashCode(); + hash ^= 397 * DownstreamUrl.GetHashCode(); + hash ^= 397 * Url.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError + { + public UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError + { + public UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation + { + public UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation() + { + } + + public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchema_UpdateMockSchema_Errors_ValidationError : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_Errors_ValidationError + { + public UpdateMockSchema_UpdateMockSchema_Errors_ValidationError() + { + } + + public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_Errors_ValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchema_UpdateMockSchema_Errors_ValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo + { + public UpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo(global::System.String username) + { + Username = username; + } + + public global::System.String Username { get; } + + public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Username.Equals(other.Username)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Username.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo : global::System.IEquatable, IUpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo + { + public UpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo(global::System.String username) + { + Username = username; + } + + public global::System.String Username { get; } + + public virtual global::System.Boolean Equals(UpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Username.Equals(other.Username)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Username.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchemaResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema UpdateMockSchema { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema + { + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_MockSchema? MockSchema { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload : IUpdateMockSchema_UpdateMockSchema + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema : IMockSchemaDetailPrompt + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema : IUpdateMockSchema_UpdateMockSchema_MockSchema + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError : IUpdateMockSchema_UpdateMockSchema_Errors, IMockSchemaNonUniqueNameError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMockSchemaNotFoundError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError : IUpdateMockSchema_UpdateMockSchema_Errors, IMockSchemaNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation : IUpdateMockSchema_UpdateMockSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_Errors_ValidationError : IUpdateMockSchema_UpdateMockSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy + { + public global::System.String Username { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy_UserInfo : IUpdateMockSchema_UpdateMockSchema_MockSchema_CreatedBy + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy + { + public global::System.String Username { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy_UserInfo : IUpdateMockSchema_UpdateMockSchema_MockSchema_ModifiedBy + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutationResult : global::System.IEquatable, ICreateOpenApiCollectionCommandMutationResult + { + public CreateOpenApiCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection createOpenApiCollection) + { + CreateOpenApiCollection = createOpenApiCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection CreateOpenApiCollection { get; } + + public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CreateOpenApiCollection.Equals(other.CreateOpenApiCollection)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateOpenApiCollectionCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CreateOpenApiCollection.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload : global::System.IEquatable, ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload + { + public CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList? errors) + { + OpenApiCollection = openApiCollection; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection : global::System.IEquatable, ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection + { + public CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection(global::System.String name, global::System.String id) + { + Name = name; + Id = id; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError : global::System.IEquatable, ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError + { + public CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError(global::System.String message, global::System.String __typename, global::System.String apiId) + { + Message = message; + this.__typename = __typename; + ApiId = apiId; + } + + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation + { + public CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) + { + Message = message; + this.__typename = __typename; + } + + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection CreateOpenApiCollection { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload : ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionDetailPrompt_OpenApiCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutation_OpenApiCollection : IOpenApiCollectionDetailPrompt_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection : ICreateOpenApiCollectionCommandMutation_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection : ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError : ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation : ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutationResult : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutationResult + { + public DeleteOpenApiCollectionByIdCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById deleteOpenApiCollectionById) + { + DeleteOpenApiCollectionById = deleteOpenApiCollectionById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById DeleteOpenApiCollectionById { get; } + + public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (DeleteOpenApiCollectionById.Equals(other.DeleteOpenApiCollectionById)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteOpenApiCollectionByIdCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * DeleteOpenApiCollectionById.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload + { + public DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload(global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList? errors) + { + OpenApiCollection = openApiCollection; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection + { + public DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection(global::System.String name, global::System.String id) + { + Name = name; + Id = id; + } + + public global::System.String Name { get; } + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && Id.Equals(other.Id); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError + { + public DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError(global::System.String message, global::System.String openApiCollectionId) + { + Message = message; + OpenApiCollectionId = openApiCollectionId; + } + + public global::System.String Message { get; } + public global::System.String OpenApiCollectionId { get; } + + public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && OpenApiCollectionId.Equals(other.OpenApiCollectionId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation : global::System.IEquatable, IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation + { + public DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation(global::System.String message, global::System.String __typename) + { + Message = message; + this.__typename = __typename; + } + + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById DeleteOpenApiCollectionById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById + { + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload : IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection : IOpenApiCollectionDetailPrompt_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection : IDeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection : IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionNotFoundError : IError + { + public global::System.String OpenApiCollectionId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError : IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors, IOpenApiCollectionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation : IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQueryResult : global::System.IEquatable, IListOpenApiCollectionCommandQueryResult + { + public ListOpenApiCollectionCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node? node) + { + Node = node; + } + + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_Api : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Api + { + public ListOpenApiCollectionCommandQuery_Node_Api(global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections? openApiCollections) + { + OpenApiCollections = openApiCollections; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections? OpenApiCollections { get; } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollections is null && other.OpenApiCollections is null) || OpenApiCollections != null && OpenApiCollections.Equals(other.OpenApiCollections))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollections != null) + { + hash ^= 397 * OpenApiCollections.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_ApiDocument : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ApiDocument + { + public ListOpenApiCollectionCommandQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_ApiKey : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ApiKey + { + public ListOpenApiCollectionCommandQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_Client : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Client + { + public ListOpenApiCollectionCommandQuery_Node_Client() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ClientChangeLog + { + public ListOpenApiCollectionCommandQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_ClientDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ClientDeployment + { + public ListOpenApiCollectionCommandQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_ClientVersion : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_ClientVersion + { + public ListOpenApiCollectionCommandQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics + { + public ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_Environment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Environment + { + public ListOpenApiCollectionCommandQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog + { + public ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment + { + public ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition + { + public ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_Group : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Group + { + public ListOpenApiCollectionCommandQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_McpFeatureCollection : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_McpFeatureCollection + { + public ListOpenApiCollectionCommandQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionChangeLog + { + public ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionDeployment + { + public ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionVersion + { + public ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollection + { + public ListOpenApiCollectionCommandQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog + { + public ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment + { + public ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion + { + public ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_Organization : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Organization + { + public ListOpenApiCollectionCommandQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OrganizationMember : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OrganizationMember + { + public ListOpenApiCollectionCommandQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_SchemaChangeLog + { + public ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_SchemaDeployment + { + public ListOpenApiCollectionCommandQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_Stage : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Stage + { + public ListOpenApiCollectionCommandQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_User : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_User + { + public ListOpenApiCollectionCommandQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_Workspace : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_Workspace + { + public ListOpenApiCollectionCommandQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_WorkspaceDocument + { + public ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection + { + public ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge + { + public ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo + { + public ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection : global::System.IEquatable, IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection + { + public ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQueryResult + { + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node? Node { get; } + } + + /// + /// The node interface is implemented by entities that have a global unique identifier. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_Api : IListOpenApiCollectionCommandQuery_Node + { + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections? OpenApiCollections { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_ApiDocument : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_ApiKey : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_Client : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_ClientChangeLog : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_ClientDeployment : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_ClientVersion : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_Environment : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_Group : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_McpFeatureCollection : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionChangeLog : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionDeployment : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionVersion : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollection : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_Organization : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OrganizationMember : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_SchemaChangeLog : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_SchemaDeployment : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_Stage : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_User : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_Workspace : IListOpenApiCollectionCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_WorkspaceDocument : IListOpenApiCollectionCommandQuery_Node + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection : IListOpenApiCollectionCommandQuery_Node_OpenApiCollections + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_OpenApiCollectionEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges : IListOpenApiCollectionCommandQuery_OpenApiCollectionEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge : IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo : IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_OpenApiCollection : IOpenApiCollectionDetailPrompt_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node : IListOpenApiCollectionCommandQuery_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection : IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutationResult : global::System.IEquatable, IPublishOpenApiCollectionCommandMutationResult + { + public PublishOpenApiCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection publishOpenApiCollection) + { + PublishOpenApiCollection = publishOpenApiCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection PublishOpenApiCollection { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (PublishOpenApiCollection.Equals(other.PublishOpenApiCollection)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * PublishOpenApiCollection.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload + { + public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) + { + Id = id; + Errors = errors; + } + + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Id != null) + { + hash ^= 397 * Id.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError + { + public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError + { + public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError(global::System.String openApiCollectionId, global::System.String message) + { + OpenApiCollectionId = openApiCollectionId; + Message = message; + } + + public global::System.String OpenApiCollectionId { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OpenApiCollectionId.Equals(other.OpenApiCollectionId)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation + { + public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError : global::System.IEquatable, IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError + { + public PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError(global::System.String tag, global::System.String message, global::System.String openApiCollectionId) + { + Tag = tag; + Message = message; + OpenApiCollectionId = openApiCollectionId; + } + + public global::System.String Tag { get; } + public global::System.String Message { get; } + public global::System.String OpenApiCollectionId { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Tag.Equals(other.Tag)) && Message.Equals(other.Message) && OpenApiCollectionId.Equals(other.OpenApiCollectionId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Tag.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection PublishOpenApiCollection { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection + { + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors, IOpenApiCollectionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionNotFoundError : IError + { + public global::System.String Tag { get; } + public global::System.String OpenApiCollectionId { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError : IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors, IOpenApiCollectionVersionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscriptionResult : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscriptionResult + { + public PublishOpenApiCollectionCommandSubscriptionResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate onOpenApiCollectionVersionPublishingUpdate) + { + OnOpenApiCollectionVersionPublishingUpdate = onOpenApiCollectionVersionPublishingUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate OnOpenApiCollectionVersionPublishingUpdate { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscriptionResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnOpenApiCollectionVersionPublishingUpdate.Equals(other.OnOpenApiCollectionVersionPublishingUpdate)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscriptionResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnOpenApiCollectionVersionPublishingUpdate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + State = state; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued(global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) + { + this.__typename = __typename; + Queued = queued; + QueuePosition = queuePosition; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Queued { get; } + public global::System.Int32 QueuePosition { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Queued.GetHashCode(); + hash ^= 397 * QueuePosition.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady(global::System.String __typename, global::System.String ready) + { + this.__typename = __typename; + Ready = ready; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Ready { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Ready.Equals(other.Ready); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Ready.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) + { + this.__typename = __typename; + State = state; + Deployment = deployment; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + if (Deployment != null) + { + hash ^= 397 * Deployment.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError() + { + } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) + { + this.__typename = __typename; + Message = message; + Column = column; + Position = position; + Line = line; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Int32 Column { get; } + public global::System.Int32 Position { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Position.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) + { + Errors = errors; + HttpMethod = httpMethod; + Route = route; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * HttpMethod.GetHashCode(); + hash ^= 397 * Route.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) + { + Message = message; + Code = code; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Message = message; + Code = code; + Path = path; + Locations = locations; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + this.__typename = __typename; + Changes = changes; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : global::System.IEquatable, IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation + { + public PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscriptionResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate OnOpenApiCollectionVersionPublishingUpdate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionPublishFailed + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IOpenApiCollectionVersionPublishFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionPublishSuccess + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IOpenApiCollectionVersionPublishSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IProcessingTaskApproved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IProcessingTaskIsQueued + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IProcessingTaskIsReady + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate, IWaitForApproval + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors, IProcessingTimeoutError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_ClientDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_SchemaDeployment : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_1, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_2, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_3, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_4 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_4, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_4, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_4, IOperationsAreNotAllowedError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_4, ISchemaVersionSyntaxError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_4, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_4, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_4, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client_Client : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_1 + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_PersistedQueryError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Queries_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2 : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes_TypeChanged : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutationResult : global::System.IEquatable, IUploadOpenApiCollectionCommandMutationResult + { + public UploadOpenApiCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection uploadOpenApiCollection) + { + UploadOpenApiCollection = uploadOpenApiCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection UploadOpenApiCollection { get; } + + public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UploadOpenApiCollection.Equals(other.UploadOpenApiCollection)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadOpenApiCollectionCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UploadOpenApiCollection.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload + { + public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion? openApiCollectionVersion, global::System.Collections.Generic.IReadOnlyList? errors) + { + OpenApiCollectionVersion = openApiCollectionVersion; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion? OpenApiCollectionVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollectionVersion is null && other.OpenApiCollectionVersion is null) || OpenApiCollectionVersion != null && OpenApiCollectionVersion.Equals(other.OpenApiCollectionVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollectionVersion != null) + { + hash ^= 397 * OpenApiCollectionVersion.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion + { + public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion(global::System.String id) + { + Id = id; + } + + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError + { + public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError(global::System.String openApiCollectionId, global::System.String message) + { + OpenApiCollectionId = openApiCollectionId; + Message = message; + } + + public global::System.String OpenApiCollectionId { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OpenApiCollectionId.Equals(other.OpenApiCollectionId)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError + { + public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation + { + public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError + { + public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError : global::System.IEquatable, IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError + { + public UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection UploadOpenApiCollection { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion? OpenApiCollectionVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion + { + public global::System.String Id { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IOpenApiCollectionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IDuplicatedTagError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInvalidOpenApiCollectionArchiveError + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError : IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors, IInvalidOpenApiCollectionArchiveError, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutationResult : global::System.IEquatable, IValidateOpenApiCollectionCommandMutationResult + { + public ValidateOpenApiCollectionCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection validateOpenApiCollection) + { + ValidateOpenApiCollection = validateOpenApiCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection ValidateOpenApiCollection { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ValidateOpenApiCollection.Equals(other.ValidateOpenApiCollection)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ValidateOpenApiCollection.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload : global::System.IEquatable, IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload + { + public ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) + { + Id = id; + Errors = errors; + } + + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Id != null) + { + hash ^= 397 * Id.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError : global::System.IEquatable, IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError + { + public ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError : global::System.IEquatable, IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError + { + public ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError(global::System.String openApiCollectionId, global::System.String message) + { + OpenApiCollectionId = openApiCollectionId; + Message = message; + } + + public global::System.String OpenApiCollectionId { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OpenApiCollectionId.Equals(other.OpenApiCollectionId)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation + { + public ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection ValidateOpenApiCollection { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection + { + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload : IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError : IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError : IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors, IOpenApiCollectionNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation : IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscriptionResult : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscriptionResult + { + public ValidateOpenApiCollectionCommandSubscriptionResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate onOpenApiCollectionVersionValidationUpdate) + { + OnOpenApiCollectionVersionValidationUpdate = onOpenApiCollectionVersionValidationUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate OnOpenApiCollectionVersionValidationUpdate { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscriptionResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnOpenApiCollectionVersionValidationUpdate.Equals(other.OnOpenApiCollectionVersionValidationUpdate)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscriptionResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnOpenApiCollectionVersionValidationUpdate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + State = state; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError() + { + } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) + { + Errors = errors; + HttpMethod = httpMethod; + Route = route; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * HttpMethod.GetHashCode(); + hash ^= 397 * Route.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation + { + public ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscriptionResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate OnOpenApiCollectionVersionValidationUpdate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionValidationFailed + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate, IOpenApiCollectionVersionValidationFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionValidationSuccess + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate, IOpenApiCollectionVersionValidationSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate, IValidationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionValidationArchiveError + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors, IOpenApiCollectionValidationArchiveError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors, IProcessingTimeoutError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors, IOpenApiCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutationResult : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutationResult + { + public CreatePersonalAccessTokenCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken createPersonalAccessToken) + { + CreatePersonalAccessToken = createPersonalAccessToken; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken CreatePersonalAccessToken { get; } + + public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CreatePersonalAccessToken.Equals(other.CreatePersonalAccessToken)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreatePersonalAccessTokenCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CreatePersonalAccessToken.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload + { + public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload(global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result? result, global::System.Collections.Generic.IReadOnlyList? errors) + { + Result = result; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result? Result { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Result is null && other.Result is null) || Result != null && Result.Equals(other.Result))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Result != null) + { + hash ^= 397 * Result.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret + { + public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret(global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token token, global::System.String secret) + { + Token = token; + Secret = secret; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token Token { get; } + public global::System.String Secret { get; } + + public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Token.Equals(other.Token)) && Secret.Equals(other.Secret); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Token.GetHashCode(); + hash ^= 397 * Secret.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError + { + public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation + { + public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken : global::System.IEquatable, ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken + { + public CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken(global::System.String id, global::System.String description, global::System.DateTimeOffset createdAt, global::System.DateTimeOffset expiresAt) + { + Id = id; + Description = description; + CreatedAt = createdAt; + ExpiresAt = expiresAt; + } + + public global::System.String Id { get; } + public global::System.String Description { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.DateTimeOffset ExpiresAt { get; } + + public virtual global::System.Boolean Equals(CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Description.Equals(other.Description) && CreatedAt.Equals(other.CreatedAt) && ExpiresAt.Equals(other.ExpiresAt); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Description.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * ExpiresAt.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken CreatePersonalAccessToken { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result? Result { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token Token { get; } + public global::System.String Secret { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPersonalAccessTokenDetailPrompt_PersonalAccessToken + { + public global::System.String Id { get; } + public global::System.String Description { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.DateTimeOffset ExpiresAt { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_PersonalAccessToken : IPersonalAccessTokenDetailPrompt_PersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token : ICreatePersonalAccessTokenCommandMutation_PersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken : ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQueryResult : global::System.IEquatable, IListPersonalAccessTokenCommandQueryResult + { + public ListPersonalAccessTokenCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me? me) + { + Me = me; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me? Me { get; } + + public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Me is null && other.Me is null) || Me != null && Me.Equals(other.Me))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListPersonalAccessTokenCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Me != null) + { + hash ^= 397 * Me.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQuery_Me_Viewer : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_Viewer + { + public ListPersonalAccessTokenCommandQuery_Me_Viewer(global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens? personalAccessTokens) + { + PersonalAccessTokens = personalAccessTokens; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens? PersonalAccessTokens { get; } + + public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_Viewer? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((PersonalAccessTokens is null && other.PersonalAccessTokens is null) || PersonalAccessTokens != null && PersonalAccessTokens.Equals(other.PersonalAccessTokens))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListPersonalAccessTokenCommandQuery_Me_Viewer)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (PersonalAccessTokens != null) + { + hash ^= 397 * PersonalAccessTokens.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection + { + public ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge + { + public ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo + { + public ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken : global::System.IEquatable, IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken + { + public ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken(global::System.String id, global::System.String description, global::System.DateTimeOffset expiresAt, global::System.DateTimeOffset createdAt) + { + Id = id; + Description = description; + ExpiresAt = expiresAt; + CreatedAt = createdAt; + } + + public global::System.String Id { get; } + public global::System.String Description { get; } + public global::System.DateTimeOffset ExpiresAt { get; } + public global::System.DateTimeOffset CreatedAt { get; } + + public virtual global::System.Boolean Equals(ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Description.Equals(other.Description) && ExpiresAt.Equals(other.ExpiresAt) && CreatedAt.Equals(other.CreatedAt); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Description.GetHashCode(); + hash ^= 397 * ExpiresAt.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me? Me { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me + { + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens? PersonalAccessTokens { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_Viewer : IListPersonalAccessTokenCommandQuery_Me + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection : IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommand_PersonalAccessTokenEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges : IListPersonalAccessTokenCommand_PersonalAccessTokenEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge : IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo : IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommand_PersonalAccessToken : IPersonalAccessTokenDetailPrompt_PersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node : IListPersonalAccessTokenCommand_PersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken : IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutationResult : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutationResult + { + public RevokePersonalAccessTokenCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken revokePersonalAccessToken) + { + RevokePersonalAccessToken = revokePersonalAccessToken; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken RevokePersonalAccessToken { get; } + + public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (RevokePersonalAccessToken.Equals(other.RevokePersonalAccessToken)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((RevokePersonalAccessTokenCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * RevokePersonalAccessToken.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload + { + public RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload(global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken? personalAccessToken, global::System.Collections.Generic.IReadOnlyList? errors) + { + PersonalAccessToken = personalAccessToken; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken? PersonalAccessToken { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((PersonalAccessToken is null && other.PersonalAccessToken is null) || PersonalAccessToken != null && PersonalAccessToken.Equals(other.PersonalAccessToken))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (PersonalAccessToken != null) + { + hash ^= 397 * PersonalAccessToken.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken + { + public RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken(global::System.String id, global::System.String description, global::System.DateTimeOffset createdAt, global::System.DateTimeOffset expiresAt) + { + Id = id; + Description = description; + CreatedAt = createdAt; + ExpiresAt = expiresAt; + } + + public global::System.String Id { get; } + public global::System.String Description { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.DateTimeOffset ExpiresAt { get; } + + public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Description.Equals(other.Description) && CreatedAt.Equals(other.CreatedAt) && ExpiresAt.Equals(other.ExpiresAt); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Description.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * ExpiresAt.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation + { + public RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError : global::System.IEquatable, IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError + { + public RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken RevokePersonalAccessToken { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken + { + public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken? PersonalAccessToken { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload : IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommand_PersonalAccessToken : IPersonalAccessTokenDetailPrompt_PersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken : IRevokePersonalAccessTokenCommand_PersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken : IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation : IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors, IError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPersonalAccessTokenNotFoundError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError : IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors, IPersonalAccessTokenNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersionResult : global::System.IEquatable, IPublishSchemaVersionResult + { + public PublishSchemaVersionResult(global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema publishSchema) + { + PublishSchema = publishSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema PublishSchema { get; } + + public virtual global::System.Boolean Equals(PublishSchemaVersionResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (PublishSchema.Equals(other.PublishSchema)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishSchemaVersionResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * PublishSchema.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersion_PublishSchema_PublishSchemaPayload : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_PublishSchemaPayload + { + public PublishSchemaVersion_PublishSchema_PublishSchemaPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) + { + Id = id; + Errors = errors; + } + + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_PublishSchemaPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishSchemaVersion_PublishSchema_PublishSchemaPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Id != null) + { + hash ^= 397 * Id.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_Errors_StageNotFoundError + { + public PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError + { + public PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) + { + this.__typename = __typename; + Message = message; + ApiId = apiId; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError + { + public PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError(global::System.String message, global::System.String apiId, global::System.String tag) + { + Message = message; + ApiId = apiId; + Tag = tag; + } + + public global::System.String Message { get; } + public global::System.String ApiId { get; } + public global::System.String Tag { get; } + + public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ApiId.Equals(other.ApiId) && Tag.Equals(other.Tag); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation : global::System.IEquatable, IPublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation + { + public PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersionResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema PublishSchema { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersion_PublishSchema + { + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersion_PublishSchema_PublishSchemaPayload : IPublishSchemaVersion_PublishSchema + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersion_PublishSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersion_PublishSchema_Errors_StageNotFoundError : IPublishSchemaVersion_PublishSchema_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError : IPublishSchemaVersion_PublishSchema_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaNotFoundError : IError + { + public global::System.String ApiId { get; } + public global::System.String Tag { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError : IPublishSchemaVersion_PublishSchema_Errors, ISchemaNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation : IPublishSchemaVersion_PublishSchema_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdatedResult : global::System.IEquatable, IOnSchemaVersionPublishUpdatedResult + { + public OnSchemaVersionPublishUpdatedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate onSchemaVersionPublishingUpdate) + { + OnSchemaVersionPublishingUpdate = onSchemaVersionPublishingUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate OnSchemaVersionPublishingUpdate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdatedResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnSchemaVersionPublishingUpdate.Equals(other.OnSchemaVersionPublishingUpdate)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdatedResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnSchemaVersionPublishingUpdate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued(global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) + { + this.__typename = __typename; + Queued = queued; + QueuePosition = queuePosition; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Queued { get; } + public global::System.Int32 QueuePosition { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Queued.GetHashCode(); + hash ^= 397 * QueuePosition.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady(global::System.String __typename, global::System.String ready) + { + this.__typename = __typename; + Ready = ready; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Ready { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Ready.Equals(other.Ready); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Ready.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + State = state; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) + { + this.__typename = __typename; + State = state; + Deployment = deployment; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + if (Deployment != null) + { + hash ^= 397 * Deployment.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError() + { + } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) + { + this.__typename = __typename; + Message = message; + Column = column; + Position = position; + Line = line; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Int32 Column { get; } + public global::System.Int32 Position { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Position.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) + { + Message = message; + Code = code; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) + { + this.__typename = __typename; + Message = message; + Column = column; + Position = position; + Line = line; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Int32 Column { get; } + public global::System.Int32 Position { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Position.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) + { + Errors = errors; + HttpMethod = httpMethod; + Route = route; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * HttpMethod.GetHashCode(); + hash ^= 397 * Route.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Message = message; + Code = code; + Path = path; + Locations = locations; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) + { + Message = message; + Code = code; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + this.__typename = __typename; + Changes = changes; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged + { + public OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdatedResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate OnSchemaVersionPublishingUpdate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IProcessingTaskApproved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IProcessingTaskIsQueued + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IProcessingTaskIsReady + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionPublishFailed + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, ISchemaVersionPublishFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionPublishSuccess + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, ISchemaVersionPublishSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate, IWaitForApproval + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IOperationsAreNotAllowedError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IProcessingTimeoutError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionChangeViolationError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, ISchemaVersionChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, ISchemaVersionSyntaxError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_ClientDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_FusionConfigurationDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_SchemaDeployment : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors_GraphQLSchemaError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollectionValidationCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_1 + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollectionValidationCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client_Client : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_1, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_2, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_3, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_4 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_4, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_4, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_4, IOperationsAreNotAllowedError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_4, ISchemaVersionSyntaxError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_4, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_4, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_4, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_1 + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_1 + { + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_1 + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_ArgumentRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DirectiveLocationRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_EnumValueRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InputFieldChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_PossibleTypeRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_4 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldAddedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_FieldRemovedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_OutputFieldChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_5 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_DescriptionChanged_6 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_UnionMemberRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client_Client : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries_PersistedQueryValidationFailed : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_1 + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Collections_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_1, IOpenApiCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_1, IOpenApiCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Queries_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_1, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_2, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_2, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_ArgumentRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DeprecatedChange_3 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_TypeChanged_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_3, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_1 + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Collections_Entities_Errors_Locations_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DeprecatedChange : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_DescriptionChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes_TypeChanged : IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchemaResult : global::System.IEquatable, IUploadSchemaResult + { + public UploadSchemaResult(global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema uploadSchema) + { + UploadSchema = uploadSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema UploadSchema { get; } + + public virtual global::System.Boolean Equals(UploadSchemaResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UploadSchema.Equals(other.UploadSchema)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadSchemaResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UploadSchema.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchema_UploadSchema_UploadSchemaPayload : global::System.IEquatable, IUploadSchema_UploadSchema_UploadSchemaPayload + { + public UploadSchema_UploadSchema_UploadSchemaPayload(global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_SchemaVersion? schemaVersion, global::System.Collections.Generic.IReadOnlyList? errors) + { + SchemaVersion = schemaVersion; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_SchemaVersion? SchemaVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_UploadSchemaPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((SchemaVersion is null && other.SchemaVersion is null) || SchemaVersion != null && SchemaVersion.Equals(other.SchemaVersion))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadSchema_UploadSchema_UploadSchemaPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (SchemaVersion != null) + { + hash ^= 397 * SchemaVersion.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchema_UploadSchema_SchemaVersion_SchemaVersion : global::System.IEquatable, IUploadSchema_UploadSchema_SchemaVersion_SchemaVersion + { + public UploadSchema_UploadSchema_SchemaVersion_SchemaVersion(global::System.String id) + { + Id = id; + } + + public global::System.String Id { get; } + + public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_SchemaVersion_SchemaVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadSchema_UploadSchema_SchemaVersion_SchemaVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchema_UploadSchema_Errors_ApiNotFoundError : global::System.IEquatable, IUploadSchema_UploadSchema_Errors_ApiNotFoundError + { + public UploadSchema_UploadSchema_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) + { + this.__typename = __typename; + Message = message; + ApiId = apiId; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadSchema_UploadSchema_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchema_UploadSchema_Errors_ConcurrentOperationError : global::System.IEquatable, IUploadSchema_UploadSchema_Errors_ConcurrentOperationError + { + public UploadSchema_UploadSchema_Errors_ConcurrentOperationError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadSchema_UploadSchema_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchema_UploadSchema_Errors_DuplicatedTagError : global::System.IEquatable, IUploadSchema_UploadSchema_Errors_DuplicatedTagError + { + public UploadSchema_UploadSchema_Errors_DuplicatedTagError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_Errors_DuplicatedTagError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadSchema_UploadSchema_Errors_DuplicatedTagError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchema_UploadSchema_Errors_UnauthorizedOperation : global::System.IEquatable, IUploadSchema_UploadSchema_Errors_UnauthorizedOperation + { + public UploadSchema_UploadSchema_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(UploadSchema_UploadSchema_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UploadSchema_UploadSchema_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchemaResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema UploadSchema { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema + { + public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_SchemaVersion? SchemaVersion { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema_UploadSchemaPayload : IUploadSchema_UploadSchema + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema_SchemaVersion + { + public global::System.String Id { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema_SchemaVersion_SchemaVersion : IUploadSchema_UploadSchema_SchemaVersion + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema_Errors_ApiNotFoundError : IUploadSchema_UploadSchema_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema_Errors_ConcurrentOperationError : IUploadSchema_UploadSchema_Errors, IConcurrentOperationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema_Errors_DuplicatedTagError : IUploadSchema_UploadSchema_Errors, IDuplicatedTagError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchema_UploadSchema_Errors_UnauthorizedOperation : IUploadSchema_UploadSchema_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersionResult : global::System.IEquatable, IValidateSchemaVersionResult + { + public ValidateSchemaVersionResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema validateSchema) + { + ValidateSchema = validateSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema ValidateSchema { get; } + + public virtual global::System.Boolean Equals(ValidateSchemaVersionResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ValidateSchema.Equals(other.ValidateSchema)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateSchemaVersionResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ValidateSchema.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload + { + public ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload(global::System.String? id, global::System.Collections.Generic.IReadOnlyList? errors) + { + Id = id; + Errors = errors; + } + + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Id is null && other.Id is null) || Id != null && Id.Equals(other.Id))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Id != null) + { + hash ^= 397 * Id.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError + { + public ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError + { + public ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError(global::System.String message, global::System.String apiId, global::System.String tag) + { + Message = message; + ApiId = apiId; + Tag = tag; + } + + public global::System.String Message { get; } + public global::System.String ApiId { get; } + public global::System.String Tag { get; } + + public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ApiId.Equals(other.ApiId) && Tag.Equals(other.Tag); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError + { + public ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) + { + this.__typename = __typename; + Message = message; + ApiId = apiId; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation + { + public ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersionResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema ValidateSchema { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersion_ValidateSchema + { + public global::System.String? Id { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload : IValidateSchemaVersion_ValidateSchema + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersion_ValidateSchema_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError : IValidateSchemaVersion_ValidateSchema_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError : IValidateSchemaVersion_ValidateSchema_Errors, ISchemaNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError : IValidateSchemaVersion_ValidateSchema_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation : IValidateSchemaVersion_ValidateSchema_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdatedResult : global::System.IEquatable, IOnSchemaVersionValidationUpdatedResult + { + public OnSchemaVersionValidationUpdatedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate onSchemaVersionValidationUpdate) + { + OnSchemaVersionValidationUpdate = onSchemaVersionValidationUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate OnSchemaVersionValidationUpdate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdatedResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnSchemaVersionValidationUpdate.Equals(other.OnSchemaVersionValidationUpdate)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdatedResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnSchemaVersionValidationUpdate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + State = state; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + State = state; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state) + { + this.__typename = __typename; + State = state; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && State.Equals(other.State); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * State.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_McpFeatureCollectionValidationError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError() + { + } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) + { + this.__typename = __typename; + Message = message; + Column = column; + Position = position; + Line = line; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Int32 Column { get; } + public global::System.Int32 Position { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Position.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) + { + Message = message; + Code = code; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) + { + Errors = errors; + HttpMethod = httpMethod; + Route = route; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * HttpMethod.GetHashCode(); + hash ^= 397 * Route.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Message = message; + Code = code; + Path = path; + Locations = locations; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + this.__typename = __typename; + Changes = changes; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2 + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation + { + public OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdatedResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate OnSchemaVersionValidationUpdate { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionValidationFailed + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate, ISchemaVersionValidationFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionValidationSuccess + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate, ISchemaVersionValidationSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate, IValidationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_McpFeatureCollectionValidationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IOperationsAreNotAllowedError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IProcessingTimeoutError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, ISchemaVersionChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, ISchemaVersionSyntaxError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors_GraphQLSchemaError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollectionValidationCollection : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_1 + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollectionValidationCollection : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client_Client : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_DirectiveModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_EnumModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InputObjectModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_InterfaceModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ObjectModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_ScalarModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberAddedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_TypeSystemMemberRemovedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_UnionModifiedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_ArgumentRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DirectiveLocationRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_EnumValueRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InputFieldChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_PossibleTypeRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_4 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldAddedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_FieldRemovedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationAdded_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_InterfaceImplementationRemoved_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_OutputFieldChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_5 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_DescriptionChanged_6 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_UnionMemberRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollection_McpFeatureCollection : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_McpFeatureCollectionValidationTool : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection_OpenApiCollection : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_1 + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_1 + { + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_OpenApiCollectionValidationModel : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_1 + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_ArgumentRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DirectiveLocationRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_EnumValueRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InputFieldChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_PossibleTypeRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_4 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldAddedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_FieldRemovedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_OutputFieldChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_5 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_DescriptionChanged_6 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_UnionMemberRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_1, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_2, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_1 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_2, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentAdded : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_ArgumentRemoved : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DeprecatedChange_3 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_DescriptionChanged_3 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_TypeChanged_2 : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_3, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_1, IOpenApiCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_1, IOpenApiCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Queries_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DeprecatedChange : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_DescriptionChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes_TypeChanged : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_1 + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_Collections_Entities_Errors_Locations_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStagesResult : global::System.IEquatable, IUpdateStagesResult + { + public UpdateStagesResult(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages updateStages) + { + UpdateStages = updateStages; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages UpdateStages { get; } + + public virtual global::System.Boolean Equals(UpdateStagesResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (UpdateStages.Equals(other.UpdateStages)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStagesResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * UpdateStages.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_UpdateStagesPayload : global::System.IEquatable, IUpdateStages_UpdateStages_UpdateStagesPayload + { + public UpdateStages_UpdateStages_UpdateStagesPayload(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api? api, global::System.Collections.Generic.IReadOnlyList? errors) + { + Api = api; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api? Api { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_UpdateStagesPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_UpdateStagesPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Api != null) + { + hash ^= 397 * Api.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Api_Api : global::System.IEquatable, IUpdateStages_UpdateStages_Api_Api + { + public UpdateStages_UpdateStages_Api_Api(global::System.Collections.Generic.IReadOnlyList stages) + { + Stages = stages; + } + + public global::System.Collections.Generic.IReadOnlyList Stages { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Api_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Stages, other.Stages)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Api_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Stages_elm in Stages) + { + hash ^= 397 * Stages_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_ApiNotFoundError : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_ApiNotFoundError + { + public UpdateStages_UpdateStages_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) + { + this.__typename = __typename; + Message = message; + ApiId = apiId; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_StageNotFoundError : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_StageNotFoundError + { + public UpdateStages_UpdateStages_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError + { + public UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList stages) + { + this.__typename = __typename; + Message = message; + Stages = stages; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Stages { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Stages, other.Stages); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Stages_elm in Stages) + { + hash ^= 397 * Stages_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_StageValidationError : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_StageValidationError + { + public UpdateStages_UpdateStages_Errors_StageValidationError(global::System.String message, global::System.String __typename) + { + Message = message; + this.__typename = __typename; + } + + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_StageValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_StageValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Api_Stages_Stage : global::System.IEquatable, IUpdateStages_UpdateStages_Api_Stages_Stage + { + public UpdateStages_UpdateStages_Api_Stages_Stage(global::System.String id, global::System.String name, global::System.String displayName, global::System.Collections.Generic.IReadOnlyList conditions) + { + Id = id; + Name = name; + DisplayName = displayName; + Conditions = conditions; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.String DisplayName { get; } + public global::System.Collections.Generic.IReadOnlyList Conditions { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Api_Stages_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && DisplayName.Equals(other.DisplayName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Conditions, other.Conditions); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Api_Stages_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * DisplayName.GetHashCode(); + foreach (var Conditions_elm in Conditions) + { + hash ^= 397 * Conditions_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_Stages_Stage : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_Stage + { + public UpdateStages_UpdateStages_Errors_Stages_Stage(global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema? publishedSchema, global::System.Collections.Generic.IReadOnlyList publishedClients) + { + Name = name; + PublishedSchema = publishedSchema; + PublishedClients = publishedClients; + } + + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema? PublishedSchema { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedClients { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && ((PublishedSchema is null && other.PublishedSchema is null) || PublishedSchema != null && PublishedSchema.Equals(other.PublishedSchema)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedClients, other.PublishedClients); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_Stages_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + if (PublishedSchema != null) + { + hash ^= 397 * PublishedSchema.GetHashCode(); + } + + foreach (var PublishedClients_elm in PublishedClients) + { + hash ^= 397 * PublishedClients_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition : global::System.IEquatable, IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition + { + public UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? afterStage) + { + AfterStage = afterStage; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? AfterStage { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((AfterStage is null && other.AfterStage is null) || AfterStage != null && AfterStage.Equals(other.AfterStage))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (AfterStage != null) + { + hash ^= 397 * AfterStage.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion + { + public UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version? version) + { + Version = version; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version? Version { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Version is null && other.Version is null) || Version != null && Version.Equals(other.Version))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Version != null) + { + hash ^= 397 * Version.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient + { + public UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client client, global::System.Collections.Generic.IReadOnlyList publishedVersions) + { + Client = client; + PublishedVersions = publishedVersions; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client Client { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedVersions { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedVersions, other.PublishedVersions); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Client.GetHashCode(); + foreach (var PublishedVersions_elm in PublishedVersions) + { + hash ^= 397 * PublishedVersions_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage : global::System.IEquatable, IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage + { + public UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion + { + public UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion(global::System.String tag) + { + Tag = tag; + } + + public global::System.String Tag { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Tag.Equals(other.Tag)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client + { + public UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion + { + public UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version? version) + { + Version = version; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version? Version { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Version is null && other.Version is null) || Version != null && Version.Equals(other.Version))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Version != null) + { + hash ^= 397 * Version.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion : global::System.IEquatable, IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion + { + public UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion(global::System.String tag) + { + Tag = tag; + } + + public global::System.String Tag { get; } + + public virtual global::System.Boolean Equals(UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Tag.Equals(other.Tag)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStagesResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages UpdateStages { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages + { + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api? Api { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_UpdateStagesPayload : IUpdateStages_UpdateStages + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Api + { + public global::System.Collections.Generic.IReadOnlyList Stages { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Api_Api : IUpdateStages_UpdateStages_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_ApiNotFoundError : IUpdateStages_UpdateStages_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_StageNotFoundError : IUpdateStages_UpdateStages_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStagesHavePublishedDependenciesError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Stages { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError : IUpdateStages_UpdateStages_Errors, IStagesHavePublishedDependenciesError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_StageValidationError : IUpdateStages_UpdateStages_Errors + { + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStageDetailPrompt_Stage + { + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.String DisplayName { get; } + public global::System.Collections.Generic.IReadOnlyList Conditions { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Api_Stages : IStageDetailPrompt_Stage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Api_Stages_Stage : IUpdateStages_UpdateStages_Api_Stages + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages + { + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema? PublishedSchema { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedClients { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_Stage : IUpdateStages_UpdateStages_Errors_Stages + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStageCondition + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Api_Stages_Conditions : IStageCondition + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IAfterStageCondition + { + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? AfterStage { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition : IUpdateStages_UpdateStages_Api_Stages_Conditions, IAfterStageCondition + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema + { + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version? Version { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion : IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients + { + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client Client { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedVersions { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient : IUpdateStages_UpdateStages_Errors_Stages_PublishedClients + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage : IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version + { + public global::System.String Tag { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion : IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client : IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions + { + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version? Version { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion : IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version + { + public global::System.String Tag { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion : IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQueryResult : global::System.IEquatable, IListStagesQueryResult + { + public ListStagesQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node? node) + { + Node = node; + } + + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(ListStagesQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Api : global::System.IEquatable, IListStagesQuery_Node_Api + { + public ListStagesQuery_Node_Api(global::System.Collections.Generic.IReadOnlyList stages) + { + Stages = stages; + } + + public global::System.Collections.Generic.IReadOnlyList Stages { get; } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Stages, other.Stages)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Stages_elm in Stages) + { + hash ^= 397 * Stages_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_ApiDocument : global::System.IEquatable, IListStagesQuery_Node_ApiDocument + { + public ListStagesQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_ApiKey : global::System.IEquatable, IListStagesQuery_Node_ApiKey + { + public ListStagesQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Client : global::System.IEquatable, IListStagesQuery_Node_Client + { + public ListStagesQuery_Node_Client() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_ClientChangeLog : global::System.IEquatable, IListStagesQuery_Node_ClientChangeLog + { + public ListStagesQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_ClientDeployment : global::System.IEquatable, IListStagesQuery_Node_ClientDeployment + { + public ListStagesQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_ClientVersion : global::System.IEquatable, IListStagesQuery_Node_ClientVersion + { + public ListStagesQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IListStagesQuery_Node_CoordinateClientUsageMetrics + { + public ListStagesQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Environment : global::System.IEquatable, IListStagesQuery_Node_Environment + { + public ListStagesQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IListStagesQuery_Node_FusionConfigurationChangeLog + { + public ListStagesQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IListStagesQuery_Node_FusionConfigurationDeployment + { + public ListStagesQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLDirectiveArgumentDefinition + { + public ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLDirectiveDefinition + { + public ListStagesQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLEnumTypeDefinition + { + public ListStagesQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLEnumValueDefinition + { + public ListStagesQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInputObjectFieldDefinition + { + public ListStagesQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInputObjectTypeDefinition + { + public ListStagesQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInterfaceFieldDefinition + { + public ListStagesQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLInterfaceTypeDefinition + { + public ListStagesQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLObjectFieldDefinition + { + public ListStagesQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLScalarTypeDefinition + { + public ListStagesQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IListStagesQuery_Node_GraphQLUnionTypeDefinition + { + public ListStagesQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Group : global::System.IEquatable, IListStagesQuery_Node_Group + { + public ListStagesQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_McpFeatureCollection : global::System.IEquatable, IListStagesQuery_Node_McpFeatureCollection + { + public ListStagesQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IListStagesQuery_Node_McpFeatureCollectionChangeLog + { + public ListStagesQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IListStagesQuery_Node_McpFeatureCollectionDeployment + { + public ListStagesQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IListStagesQuery_Node_McpFeatureCollectionVersion + { + public ListStagesQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_OpenApiCollection : global::System.IEquatable, IListStagesQuery_Node_OpenApiCollection + { + public ListStagesQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IListStagesQuery_Node_OpenApiCollectionChangeLog + { + public ListStagesQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IListStagesQuery_Node_OpenApiCollectionDeployment + { + public ListStagesQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IListStagesQuery_Node_OpenApiCollectionVersion + { + public ListStagesQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Organization : global::System.IEquatable, IListStagesQuery_Node_Organization + { + public ListStagesQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_OrganizationMember : global::System.IEquatable, IListStagesQuery_Node_OrganizationMember + { + public ListStagesQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_SchemaChangeLog : global::System.IEquatable, IListStagesQuery_Node_SchemaChangeLog + { + public ListStagesQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_SchemaDeployment : global::System.IEquatable, IListStagesQuery_Node_SchemaDeployment + { + public ListStagesQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Stage : global::System.IEquatable, IListStagesQuery_Node_Stage + { + public ListStagesQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_User : global::System.IEquatable, IListStagesQuery_Node_User + { + public ListStagesQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Workspace : global::System.IEquatable, IListStagesQuery_Node_Workspace + { + public ListStagesQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_WorkspaceDocument : global::System.IEquatable, IListStagesQuery_Node_WorkspaceDocument + { + public ListStagesQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Stages_Stage : global::System.IEquatable, IListStagesQuery_Node_Stages_Stage + { + public ListStagesQuery_Node_Stages_Stage(global::System.String id, global::System.String name, global::System.String displayName, global::System.Collections.Generic.IReadOnlyList conditions) + { + Id = id; + Name = name; + DisplayName = displayName; + Conditions = conditions; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.String DisplayName { get; } + public global::System.Collections.Generic.IReadOnlyList Conditions { get; } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Stages_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && DisplayName.Equals(other.DisplayName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Conditions, other.Conditions); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Stages_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * DisplayName.GetHashCode(); + foreach (var Conditions_elm in Conditions) + { + hash ^= 397 * Conditions_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Stages_Conditions_AfterStageCondition : global::System.IEquatable, IListStagesQuery_Node_Stages_Conditions_AfterStageCondition + { + public ListStagesQuery_Node_Stages_Conditions_AfterStageCondition(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? afterStage) + { + AfterStage = afterStage; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? AfterStage { get; } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Stages_Conditions_AfterStageCondition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((AfterStage is null && other.AfterStage is null) || AfterStage != null && AfterStage.Equals(other.AfterStage))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Stages_Conditions_AfterStageCondition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (AfterStage != null) + { + hash ^= 397 * AfterStage.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQuery_Node_Stages_Conditions_AfterStage_Stage : global::System.IEquatable, IListStagesQuery_Node_Stages_Conditions_AfterStage_Stage + { + public ListStagesQuery_Node_Stages_Conditions_AfterStage_Stage(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(ListStagesQuery_Node_Stages_Conditions_AfterStage_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListStagesQuery_Node_Stages_Conditions_AfterStage_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQueryResult + { + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node? Node { get; } + } + + /// + /// The node interface is implemented by entities that have a global unique identifier. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Api : IListStagesQuery_Node + { + public global::System.Collections.Generic.IReadOnlyList Stages { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_ApiDocument : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_ApiKey : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Client : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_ClientChangeLog : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_ClientDeployment : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_ClientVersion : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_CoordinateClientUsageMetrics : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Environment : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_FusionConfigurationChangeLog : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_FusionConfigurationDeployment : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLDirectiveArgumentDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLDirectiveDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLEnumTypeDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLEnumValueDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLInputObjectFieldDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLInputObjectTypeDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLInterfaceFieldDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLInterfaceTypeDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLObjectFieldDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLScalarTypeDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_GraphQLUnionTypeDefinition : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Group : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_McpFeatureCollection : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_McpFeatureCollectionChangeLog : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_McpFeatureCollectionDeployment : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_McpFeatureCollectionVersion : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_OpenApiCollection : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_OpenApiCollectionChangeLog : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_OpenApiCollectionDeployment : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_OpenApiCollectionVersion : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Organization : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_OrganizationMember : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_SchemaChangeLog : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_SchemaDeployment : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Stage : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_User : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Workspace : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_WorkspaceDocument : IListStagesQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Stages : IStageDetailPrompt_Stage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Stages_Stage : IListStagesQuery_Node_Stages + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Stages_Conditions : IStageCondition + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Stages_Conditions_AfterStageCondition : IListStagesQuery_Node_Stages_Conditions, IAfterStageCondition + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Stages_Conditions_AfterStage + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQuery_Node_Stages_Conditions_AfterStage_Stage : IListStagesQuery_Node_Stages_Conditions_AfterStage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutationResult : global::System.IEquatable, ICreateWorkspaceCommandMutationResult + { + public CreateWorkspaceCommandMutationResult(global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace createWorkspace) + { + CreateWorkspace = createWorkspace; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace CreateWorkspace { get; } + + public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutationResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CreateWorkspace.Equals(other.CreateWorkspace)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateWorkspaceCommandMutationResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CreateWorkspace.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload : global::System.IEquatable, ICreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload + { + public CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload(global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace? workspace, global::System.Collections.Generic.IReadOnlyList? errors) + { + Workspace = workspace; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace? Workspace { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace : global::System.IEquatable, ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace + { + public CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace(global::System.String id, global::System.String name, global::System.Boolean personal) + { + Id = id; + Name = name; + Personal = personal; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Boolean Personal { get; } + + public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::System.Object.Equals(Personal, other.Personal); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Personal.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation : global::System.IEquatable, ICreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation + { + public CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError : global::System.IEquatable, ICreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError + { + public CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutationResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace CreateWorkspace { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace? Workspace { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload : ICreateWorkspaceCommandMutation_CreateWorkspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IWorkspaceDetailPrompt_Workspace + { + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Boolean Personal { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace : IWorkspaceDetailPrompt_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace : ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation : ICreateWorkspaceCommandMutation_CreateWorkspace_Errors + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError : ICreateWorkspaceCommandMutation_CreateWorkspace_Errors + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQueryResult : global::System.IEquatable, IListWorkspaceCommandQueryResult + { + public ListWorkspaceCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me? me) + { + Me = me; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me? Me { get; } + + public virtual global::System.Boolean Equals(ListWorkspaceCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Me is null && other.Me is null) || Me != null && Me.Equals(other.Me))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListWorkspaceCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Me != null) + { + hash ^= 397 * Me.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQuery_Me_Viewer : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Viewer + { + public ListWorkspaceCommandQuery_Me_Viewer(global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces? workspaces) + { + Workspaces = workspaces; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces? Workspaces { get; } + + public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Viewer? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Workspaces is null && other.Workspaces is null) || Workspaces != null && Workspaces.Equals(other.Workspaces))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListWorkspaceCommandQuery_Me_Viewer)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Workspaces != null) + { + hash ^= 397 * Workspaces.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection + { + public ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge + { + public ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo + { + public ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace : global::System.IEquatable, IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace + { + public ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace(global::System.String id, global::System.String name, global::System.Boolean personal) + { + Id = id; + Name = name; + Personal = personal; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Boolean Personal { get; } + + public virtual global::System.Boolean Equals(ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::System.Object.Equals(Personal, other.Personal); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Personal.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me? Me { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me + { + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces? Workspaces { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Viewer : IListWorkspaceCommandQuery_Me + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Workspaces + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection : IListWorkspaceCommandQuery_Me_Workspaces + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommand_WorkspaceEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Workspaces_Edges : IListWorkspaceCommand_WorkspaceEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge : IListWorkspaceCommandQuery_Me_Workspaces_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Workspaces_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo : IListWorkspaceCommandQuery_Me_Workspaces_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommand_Workspace : IWorkspaceDetailPrompt_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node : IListWorkspaceCommand_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace : IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_QueryResult + { + public SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me? me) + { + Me = me; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me? Me { get; } + + public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Me is null && other.Me is null) || Me != null && Me.Equals(other.Me))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Me != null) + { + hash ^= 397 * Me.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer + { + public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer(global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces? workspaces) + { + Workspaces = workspaces; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces? Workspaces { get; } + + public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Workspaces is null && other.Workspaces is null) || Workspaces != null && Workspaces.Equals(other.Workspaces))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Workspaces != null) + { + hash ^= 397 * Workspaces.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection + { + public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge + { + public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo + { + public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace : global::System.IEquatable, ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace + { + public SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace(global::System.String id, global::System.String name, global::System.Boolean personal) + { + Id = id; + Name = name; + Personal = personal; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Boolean Personal { get; } + + public virtual global::System.Boolean Equals(SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::System.Object.Equals(Personal, other.Personal); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Personal.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_QueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me? Me { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me + { + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces? Workspaces { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_Workspace + { + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Boolean Personal { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node : ISetDefaultWorkspaceCommand_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace : ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQueryResult : global::System.IEquatable, IShowWorkspaceCommandQueryResult + { + public ShowWorkspaceCommandQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQuery_Node? node) + { + Node = node; + } + + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_Api : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Api + { + public ShowWorkspaceCommandQuery_Node_Api() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_ApiDocument : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ApiDocument + { + public ShowWorkspaceCommandQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_ApiKey : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ApiKey + { + public ShowWorkspaceCommandQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_Client : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Client + { + public ShowWorkspaceCommandQuery_Node_Client() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_ClientChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ClientChangeLog + { + public ShowWorkspaceCommandQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_ClientDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ClientDeployment + { + public ShowWorkspaceCommandQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_ClientVersion : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_ClientVersion + { + public ShowWorkspaceCommandQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics + { + public ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_Environment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Environment + { + public ShowWorkspaceCommandQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog + { + public ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment + { + public ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition + { + public ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_Group : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Group + { + public ShowWorkspaceCommandQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_McpFeatureCollection : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_McpFeatureCollection + { + public ShowWorkspaceCommandQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_McpFeatureCollectionChangeLog + { + public ShowWorkspaceCommandQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_McpFeatureCollectionDeployment + { + public ShowWorkspaceCommandQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_McpFeatureCollectionVersion + { + public ShowWorkspaceCommandQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_OpenApiCollection : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OpenApiCollection + { + public ShowWorkspaceCommandQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog + { + public ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment + { + public ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion + { + public ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_Organization : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Organization + { + public ShowWorkspaceCommandQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_OrganizationMember : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_OrganizationMember + { + public ShowWorkspaceCommandQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_SchemaChangeLog : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_SchemaChangeLog + { + public ShowWorkspaceCommandQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_SchemaDeployment : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_SchemaDeployment + { + public ShowWorkspaceCommandQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_Stage : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Stage + { + public ShowWorkspaceCommandQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_User : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_User + { + public ShowWorkspaceCommandQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_Workspace : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_Workspace + { + public ShowWorkspaceCommandQuery_Node_Workspace(global::System.String id, global::System.String name, global::System.Boolean personal) + { + Id = id; + Name = name; + Personal = personal; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Boolean Personal { get; } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::System.Object.Equals(Personal, other.Personal); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * Personal.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQuery_Node_WorkspaceDocument : global::System.IEquatable, IShowWorkspaceCommandQuery_Node_WorkspaceDocument + { + public ShowWorkspaceCommandQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(ShowWorkspaceCommandQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ShowWorkspaceCommandQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQueryResult + { + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQuery_Node? Node { get; } + } + + /// + /// The node interface is implemented by entities that have a global unique identifier. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_Api : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_ApiDocument : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_ApiKey : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_Client : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_ClientChangeLog : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_ClientDeployment : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_ClientVersion : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_Environment : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_Group : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_McpFeatureCollection : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_McpFeatureCollectionChangeLog : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_McpFeatureCollectionDeployment : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_McpFeatureCollectionVersion : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_OpenApiCollection : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_Organization : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_OrganizationMember : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_SchemaChangeLog : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_SchemaDeployment : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_Stage : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_User : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_Workspace : IShowWorkspaceCommandQuery_Node, IWorkspaceDetailPrompt_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQuery_Node_WorkspaceDocument : IShowWorkspaceCommandQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQueryResult : global::System.IEquatable, ISelectApiPromptQueryResult + { + public SelectApiPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById? workspaceById) + { + WorkspaceById = workspaceById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById? WorkspaceById { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((WorkspaceById is null && other.WorkspaceById is null) || WorkspaceById != null && WorkspaceById.Equals(other.WorkspaceById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (WorkspaceById != null) + { + hash ^= 397 * WorkspaceById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQuery_WorkspaceById_Workspace : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Workspace + { + public SelectApiPromptQuery_WorkspaceById_Workspace(global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis? apis) + { + Apis = apis; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis? Apis { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Apis is null && other.Apis is null) || Apis != null && Apis.Equals(other.Apis))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQuery_WorkspaceById_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Apis != null) + { + hash ^= 397 * Apis.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_ApisConnection + { + public SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge + { + public SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo + { + public SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api + { + public SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api(global::System.String id, global::System.String name, global::System.Collections.Generic.IReadOnlyList path, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? workspace, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings settings) + { + Id = id; + Name = name; + Path = path; + Workspace = workspace; + Settings = settings; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? Workspace { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings Settings { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path) && ((Workspace is null && other.Workspace is null) || Workspace != null && Workspace.Equals(other.Workspace)) && Settings.Equals(other.Settings); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + if (Workspace != null) + { + hash ^= 397 * Workspace.GetHashCode(); + } + + hash ^= 397 * Settings.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace + { + public SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings + { + public SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry schemaRegistry) + { + SchemaRegistry = schemaRegistry; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (SchemaRegistry.Equals(other.SchemaRegistry)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * SchemaRegistry.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings : global::System.IEquatable, ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings + { + public SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings(global::System.Boolean treatDangerousAsBreaking, global::System.Boolean allowBreakingSchemaChanges) + { + TreatDangerousAsBreaking = treatDangerousAsBreaking; + AllowBreakingSchemaChanges = allowBreakingSchemaChanges; + } + + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + + public virtual global::System.Boolean Equals(SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking)) && global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); + hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById? WorkspaceById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis? Apis { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Workspace : ISelectApiPromptQuery_WorkspaceById + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_ApisConnection : ISelectApiPromptQuery_WorkspaceById_Apis + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPrompt_ApiEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges : ISelectApiPrompt_ApiEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge : ISelectApiPromptQuery_WorkspaceById_Apis_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo : ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node : ISelectApiPrompt_Api + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api : ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace_Workspace : ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Workspace + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry SchemaRegistry { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_ApiSettings : ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry + { + public global::System.Boolean TreatDangerousAsBreaking { get; } + public global::System.Boolean AllowBreakingSchemaChanges { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry_SchemaRegistrySettings : ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Settings_SchemaRegistry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQueryResult : global::System.IEquatable, IPageClientVersionDetailQueryResult + { + public PageClientVersionDetailQueryResult(global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node? node) + { + Node = node; + } + + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node? Node { get; } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Node is null && other.Node is null) || Node != null && Node.Equals(other.Node))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Node != null) + { + hash ^= 397 * Node.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Api : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Api + { + public PageClientVersionDetailQuery_Node_Api() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_ApiDocument : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ApiDocument + { + public PageClientVersionDetailQuery_Node_ApiDocument() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ApiDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_ApiDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_ApiKey : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ApiKey + { + public PageClientVersionDetailQuery_Node_ApiKey() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ApiKey? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_ApiKey)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Client : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Client + { + public PageClientVersionDetailQuery_Node_Client(global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions? versions) + { + Versions = versions; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions? Versions { get; } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Versions != null) + { + hash ^= 397 * Versions.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_ClientChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ClientChangeLog + { + public PageClientVersionDetailQuery_Node_ClientChangeLog() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ClientChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_ClientChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_ClientDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ClientDeployment + { + public PageClientVersionDetailQuery_Node_ClientDeployment() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_ClientVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_ClientVersion + { + public PageClientVersionDetailQuery_Node_ClientVersion() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics : global::System.IEquatable, IPageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics + { + public PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Environment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Environment + { + public PageClientVersionDetailQuery_Node_Environment() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Environment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Environment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_FusionConfigurationChangeLog + { + public PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_FusionConfigurationDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_FusionConfigurationDeployment + { + public PageClientVersionDetailQuery_Node_FusionConfigurationDeployment() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition : global::System.IEquatable, IPageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition + { + public PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Group : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Group + { + public PageClientVersionDetailQuery_Node_Group() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Group? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Group)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_McpFeatureCollection : global::System.IEquatable, IPageClientVersionDetailQuery_Node_McpFeatureCollection + { + public PageClientVersionDetailQuery_Node_McpFeatureCollection() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_McpFeatureCollectionChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_McpFeatureCollectionChangeLog + { + public PageClientVersionDetailQuery_Node_McpFeatureCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_McpFeatureCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_McpFeatureCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_McpFeatureCollectionDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_McpFeatureCollectionDeployment + { + public PageClientVersionDetailQuery_Node_McpFeatureCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_McpFeatureCollectionVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_McpFeatureCollectionVersion + { + public PageClientVersionDetailQuery_Node_McpFeatureCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_McpFeatureCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_McpFeatureCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_OpenApiCollection : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OpenApiCollection + { + public PageClientVersionDetailQuery_Node_OpenApiCollection() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog + { + public PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OpenApiCollectionDeployment + { + public PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_OpenApiCollectionVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OpenApiCollectionVersion + { + public PageClientVersionDetailQuery_Node_OpenApiCollectionVersion() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OpenApiCollectionVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_OpenApiCollectionVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Organization : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Organization + { + public PageClientVersionDetailQuery_Node_Organization() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Organization? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Organization)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_OrganizationMember : global::System.IEquatable, IPageClientVersionDetailQuery_Node_OrganizationMember + { + public PageClientVersionDetailQuery_Node_OrganizationMember() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_OrganizationMember? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_OrganizationMember)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_SchemaChangeLog : global::System.IEquatable, IPageClientVersionDetailQuery_Node_SchemaChangeLog + { + public PageClientVersionDetailQuery_Node_SchemaChangeLog() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_SchemaChangeLog? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_SchemaChangeLog)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_SchemaDeployment : global::System.IEquatable, IPageClientVersionDetailQuery_Node_SchemaDeployment + { + public PageClientVersionDetailQuery_Node_SchemaDeployment() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Stage : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Stage + { + public PageClientVersionDetailQuery_Node_Stage() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_User : global::System.IEquatable, IPageClientVersionDetailQuery_Node_User + { + public PageClientVersionDetailQuery_Node_User() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_User? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_User)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Workspace : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Workspace + { + public PageClientVersionDetailQuery_Node_Workspace() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Workspace? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Workspace)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_WorkspaceDocument : global::System.IEquatable, IPageClientVersionDetailQuery_Node_WorkspaceDocument + { + public PageClientVersionDetailQuery_Node_WorkspaceDocument() + { + } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_WorkspaceDocument? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return true; + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_WorkspaceDocument)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_ClientVersionConnection + { + public PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection(global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_PageInfo pageInfo, global::System.Collections.Generic.IReadOnlyList? edges) + { + PageInfo = pageInfo; + Edges = edges; + } + + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_PageInfo PageInfo { get; } + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (PageInfo.Equals(other.PageInfo)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * PageInfo.GetHashCode(); + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo + { + public PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) + { + HasNextPage = hasNextPage; + EndCursor = endCursor; + } + + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge + { + public PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion + { + public PageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) + { + Id = id; + CreatedAt = createdAt; + Tag = tag; + PublishedTo = publishedTo; + } + + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + foreach (var PublishedTo_elm in PublishedTo) + { + hash ^= 397 * PublishedTo_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion + { + public PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? stage) + { + Stage = stage; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Stage != null) + { + hash ^= 397 * Stage.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage + { + public PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((PageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQueryResult + { + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node? Node { get; } + } + + /// + /// The node interface is implemented by entities that have a global unique identifier. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Api : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_ApiDocument : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_ApiKey : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Client : IPageClientVersionDetailQuery_Node + { + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions? Versions { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_ClientChangeLog : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_ClientDeployment : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_ClientVersion : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Environment : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_FusionConfigurationChangeLog : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_FusionConfigurationDeployment : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Group : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_McpFeatureCollection : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_McpFeatureCollectionChangeLog : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_McpFeatureCollectionDeployment : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_McpFeatureCollectionVersion : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_OpenApiCollection : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_OpenApiCollectionDeployment : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_OpenApiCollectionVersion : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Organization : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_OrganizationMember : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_SchemaChangeLog : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_SchemaDeployment : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Stage : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_User : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Workspace : IPageClientVersionDetailQuery_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_WorkspaceDocument : IPageClientVersionDetailQuery_Node + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions + { + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_PageInfo PageInfo { get; } + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_ClientVersionConnection : IPageClientVersionDetailQuery_Node_Versions + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_PageInfo + { + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo : IPageClientVersionDetailQuery_Node_Versions_PageInfo + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges : IClientDetailPrompt_ClientVersionEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge : IPageClientVersionDetailQuery_Node_Versions_Edges + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node + { + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_ClientVersion : IPageClientVersionDetailQuery_Node_Versions_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : IPageClientVersionDetailQuery_Node_Versions_Edges_Node_PublishedTo_Stage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQueryResult : global::System.IEquatable, ISelectClientPromptQueryResult + { + public SelectClientPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById? ApiById { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ApiById != null) + { + hash ^= 397 * ApiById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Api : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Api + { + public SelectClientPromptQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients? clients) + { + Clients = clients; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients? Clients { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Clients is null && other.Clients is null) || Clients != null && Clients.Equals(other.Clients))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Clients != null) + { + hash ^= 397 * Clients.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_ClientsConnection : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_ClientsConnection + { + public SelectClientPromptQuery_ApiById_Clients_ClientsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_ClientsConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_ClientsConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge + { + public SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo + { + public SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Client + { + public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client(global::System.String id, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? api, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? versions) + { + Id = id; + Name = name; + Api = api; + Versions = versions; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? Api { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? Versions { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && ((Api is null && other.Api is null) || Api != null && Api.Equals(other.Api)) && ((Versions is null && other.Versions is null) || Versions != null && Versions.Equals(other.Versions)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + if (Api != null) + { + hash ^= 397 * Api.GetHashCode(); + } + + if (Versions != null) + { + hash ^= 397 * Versions.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api + { + public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api(global::System.String name, global::System.Collections.Generic.IReadOnlyList path) + { + Name = name; + Path = path; + } + + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Path, other.Path); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + foreach (var Path_elm in Path) + { + hash ^= 397 * Path_elm.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection + { + public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge + { + public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo + { + public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo(global::System.Boolean hasNextPage, global::System.String? endCursor) + { + HasNextPage = hasNextPage; + EndCursor = endCursor; + } + + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasNextPage, other.HasNextPage)) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion + { + public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion(global::System.String id, global::System.DateTimeOffset createdAt, global::System.String tag, global::System.Collections.Generic.IReadOnlyList publishedTo) + { + Id = id; + CreatedAt = createdAt; + Tag = tag; + PublishedTo = publishedTo; + } + + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && CreatedAt.Equals(other.CreatedAt) && Tag.Equals(other.Tag) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(PublishedTo, other.PublishedTo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + foreach (var PublishedTo_elm in PublishedTo) + { + hash ^= 397 * PublishedTo_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion + { + public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? stage) + { + Stage = stage; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Stage is null && other.Stage is null) || Stage != null && Stage.Equals(other.Stage))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Stage != null) + { + hash ^= 397 * Stage.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : global::System.IEquatable, ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage + { + public SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(global::System.String name) + { + Name = name; + } + + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById? ApiById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients? Clients { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Api : ISelectClientPromptQuery_ApiById + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_ClientsConnection : ISelectClientPromptQuery_ApiById_Clients + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPrompt_ClientEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges : ISelectClientPrompt_ClientEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge : ISelectClientPromptQuery_ApiById_Clients_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo : ISelectClientPromptQuery_ApiById_Clients_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPrompt_Client : IClientDetailPrompt_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node : ISelectClientPrompt_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Client : ISelectClientPromptQuery_ApiById_Clients_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Api + { + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Path { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Api_Api : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Api + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_ClientVersionConnection : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges : IClientDetailPrompt_ClientVersionEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_ClientVersionEdge : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo + { + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo_PageInfo : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node + { + public global::System.String Id { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::System.String Tag { get; } + public global::System.Collections.Generic.IReadOnlyList PublishedTo { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_ClientVersion : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo + { + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? Stage { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage_Stage : ISelectClientPromptQuery_ApiById_Clients_Edges_Node_Versions_Edges_Node_PublishedTo_Stage + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublishResult : global::System.IEquatable, IBeginFusionConfigurationPublishResult + { + public BeginFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish beginFusionConfigurationPublish) + { + BeginFusionConfigurationPublish = beginFusionConfigurationPublish; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish BeginFusionConfigurationPublish { get; } + + public virtual global::System.Boolean Equals(BeginFusionConfigurationPublishResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (BeginFusionConfigurationPublish.Equals(other.BeginFusionConfigurationPublish)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((BeginFusionConfigurationPublishResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * BeginFusionConfigurationPublish.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload + { + public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload(global::System.String? requestId, global::System.Collections.Generic.IReadOnlyList? errors) + { + RequestId = requestId; + Errors = errors; + } + + public global::System.String? RequestId { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((RequestId is null && other.RequestId is null) || RequestId != null && RequestId.Equals(other.RequestId))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (RequestId != null) + { + hash ^= 397 * RequestId.GetHashCode(); + } + + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation + { + public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError + { + public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError(global::System.String __typename, global::System.String message, global::System.String apiId) + { + this.__typename = __typename; + Message = message; + ApiId = apiId; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String ApiId { get; } + + public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && ApiId.Equals(other.ApiId); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * ApiId.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError + { + public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError(global::System.String __typename, global::System.String message, global::System.String name) + { + this.__typename = __typename; + Message = message; + Name = name; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError + { + public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError + { + public BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublishResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish BeginFusionConfigurationPublish { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish + { + public global::System.String? RequestId { get; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, IApiNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, IStageNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISubgraphInvalidError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, ISubgraphInvalidError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInvalidProcessingStateTransitionError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError : IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors, IInvalidProcessingStateTransitionError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChangedResult : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChangedResult + { + public OnFusionConfigurationPublishingTaskChangedResult(global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged onFusionConfigurationPublishingTaskChanged) + { + OnFusionConfigurationPublishingTaskChanged = onFusionConfigurationPublishingTaskChanged; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged OnFusionConfigurationPublishingTaskChanged { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChangedResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OnFusionConfigurationPublishingTaskChanged.Equals(other.OnFusionConfigurationPublishingTaskChanged)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChangedResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OnFusionConfigurationPublishingTaskChanged.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String failed, global::System.Collections.Generic.IReadOnlyList errors) + { + State = state; + this.__typename = __typename; + Failed = failed; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Failed { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Failed.Equals(other.Failed) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Failed.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String success) + { + State = state; + this.__typename = __typename; + Success = success; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Success { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Success.Equals(other.Success); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Success.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String failed, global::System.Collections.Generic.IReadOnlyList errors) + { + State = state; + this.__typename = __typename; + Failed = failed; + Errors = errors; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Failed { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Failed.Equals(other.Failed) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Failed.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String success, global::System.Collections.Generic.IReadOnlyList changes) + { + State = state; + this.__typename = __typename; + Success = success; + Changes = changes; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Success { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Success.Equals(other.Success) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Success.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename) + { + State = state; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename) + { + State = state; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String queued, global::System.Int32 queuePosition) + { + State = state; + this.__typename = __typename; + Queued = queued; + QueuePosition = queuePosition; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Queued { get; } + public global::System.Int32 QueuePosition { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Queued.Equals(other.Queued) && global::System.Object.Equals(QueuePosition, other.QueuePosition); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Queued.GetHashCode(); + hash ^= 397 * QueuePosition.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::System.String ready) + { + State = state; + this.__typename = __typename; + Ready = ready; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Ready { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename) && Ready.Equals(other.Ready); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Ready.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename) + { + State = state; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval(global::ChilliCream.Nitro.CommandLine.Client.ProcessingState state, global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? deployment) + { + State = state; + this.__typename = __typename; + Deployment = deployment; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? Deployment { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (State.Equals(other.State)) && __typename.Equals(other.__typename) && ((Deployment is null && other.Deployment is null) || Deployment != null && Deployment.Equals(other.Deployment)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * State.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + if (Deployment != null) + { + hash ^= 397 * Deployment.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError(global::System.String message, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList errors) + { + Message = message; + this.__typename = __typename; + Errors = errors; + } + + public global::System.String Message { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_McpFeatureCollectionValidationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_McpFeatureCollectionDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_McpFeatureCollectionDeployment + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_McpFeatureCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_McpFeatureCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_McpFeatureCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment(global::System.Collections.Generic.IReadOnlyList errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) + { + Message = message; + Code = code; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollectionValidationCollection + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2(global::System.String message, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? client, global::System.Collections.Generic.IReadOnlyList queries) + { + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String Message { get; } + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? Client { get; } + public global::System.Collections.Generic.IReadOnlyList Queries { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Client is null && other.Client is null) || Client != null && Client.Equals(other.Client)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Queries, other.Queries); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Client != null) + { + hash ^= 397 * Client.GetHashCode(); + } + + foreach (var Queries_elm in Queries) + { + hash ^= 397 * Queries_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1(global::System.String message, global::System.Collections.Generic.IReadOnlyList changes) + { + Message = message; + Changes = changes; + } + + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError(global::System.String __typename, global::System.String message, global::System.Int32 column, global::System.Int32 position, global::System.Int32 line) + { + this.__typename = __typename; + Message = message; + Column = column; + Position = position; + Line = line; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Int32 Column { get; } + public global::System.Int32 Position { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::System.Object.Equals(Column, other.Column) && global::System.Object.Equals(Position, other.Position) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Position.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1(global::System.String __typename, global::System.String message, global::System.Collections.Generic.IReadOnlyList errors) + { + this.__typename = __typename; + Message = message; + Errors = errors; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_2(global::System.Collections.Generic.IReadOnlyList collections) + { + Collections = collections; + } + + public global::System.Collections.Generic.IReadOnlyList Collections { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Collections, other.Collections)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Collections_elm in Collections) + { + hash ^= 397 * Collections_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollection_McpFeatureCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollection_McpFeatureCollection + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollection_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollection_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollection_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationTool : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationTool + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationTool(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationTool? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationTool)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(global::System.Collections.Generic.IReadOnlyList errors, global::System.String httpMethod, global::System.String route) + { + Errors = errors; + HttpMethod = httpMethod; + Route = route; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && HttpMethod.Equals(other.HttpMethod) && Route.Equals(other.Route); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * HttpMethod.GetHashCode(); + hash ^= 397 * Route.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel(global::System.Collections.Generic.IReadOnlyList errors, global::System.String name) + { + Errors = errors; + Name = name; + } + + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError(global::System.String message, global::System.String? code, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Message = message; + Code = code; + Path = path; + Locations = locations; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String __typename, global::System.Collections.Generic.IReadOnlyList changes) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + this.__typename = __typename; + Changes = changes; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && __typename.Equals(other.__typename) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName, global::System.String __typename) + { + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new, global::System.String __typename) + { + Severity = severity; + Old = old; + New = @new; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2(global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType, global::System.String __typename) + { + Severity = severity; + OldType = oldType; + NewType = newType; + this.__typename = __typename; + } + + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Severity.Equals(other.Severity)) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType) && __typename.Equals(other.__typename); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + hash ^= 397 * __typename.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed(global::System.Collections.Generic.IReadOnlyList deployedTags, global::System.String message, global::System.String hash, global::System.Collections.Generic.IReadOnlyList errors) + { + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(DeployedTags, other.DeployedTags)) && Message.Equals(other.Message) && Hash.Equals(other.Hash) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + foreach (var DeployedTags_elm in DeployedTags) + { + hash ^= 397 * DeployedTags_elm.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + hash ^= 397 * Hash.GetHashCode(); + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity) + { + this.__typename = __typename; + Severity = severity; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError(global::System.String message, global::System.String? code) + { + Message = message; + Code = code; + } + + public global::System.String Message { get; } + public global::System.String? Code { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)) && ((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? openApiCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollection is null && other.OpenApiCollection is null) || OpenApiCollection != null && OpenApiCollection.Equals(other.OpenApiCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollection != null) + { + hash ^= 397 * OpenApiCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? mcpFeatureCollection, global::System.Collections.Generic.IReadOnlyList entities) + { + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollection is null && other.McpFeatureCollection is null) || McpFeatureCollection != null && McpFeatureCollection.Equals(other.McpFeatureCollection))) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Entities, other.Entities); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollection != null) + { + hash ^= 397 * McpFeatureCollection.GetHashCode(); + } + + foreach (var Entities_elm in Entities) + { + hash ^= 397 * Entities_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(global::System.String? code, global::System.String message, global::System.String? path, global::System.Collections.Generic.IReadOnlyList? locations) + { + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String? Code { get; } + public global::System.String Message { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Code is null && other.Code is null) || Code != null && Code.Equals(other.Code))) && Message.Equals(other.Message) && ((Path is null && other.Path is null) || Path != null && Path.Equals(other.Path)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Locations, other.Locations); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Code != null) + { + hash ^= 397 * Code.GetHashCode(); + } + + hash ^= 397 * Message.GetHashCode(); + if (Path != null) + { + hash ^= 397 * Path.GetHashCode(); + } + + if (Locations != null) + { + foreach (var Locations_elm in Locations) + { + hash ^= 397 * Locations_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(global::System.String message) + { + Message = message; + } + + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Message.Equals(other.Message)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? deprecationReason) + { + this.__typename = __typename; + Severity = severity; + DeprecationReason = deprecationReason; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? DeprecationReason { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((DeprecationReason is null && other.DeprecationReason is null) || DeprecationReason != null && DeprecationReason.Equals(other.DeprecationReason)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (DeprecationReason != null) + { + hash ^= 397 * DeprecationReason.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String oldType, global::System.String newType) + { + this.__typename = __typename; + Severity = severity; + OldType = oldType; + NewType = newType; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String OldType { get; } + public global::System.String NewType { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && OldType.Equals(other.OldType) && NewType.Equals(other.NewType); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * OldType.GetHashCode(); + hash ^= 397 * NewType.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String name, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String Name { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && Name.Equals(other.Name) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation location) + { + this.__typename = __typename; + Severity = severity; + Location = location; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Location { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Location.Equals(other.Location); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Location.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String typeName, global::System.String fieldName) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String TypeName { get; } + public global::System.String FieldName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && TypeName.Equals(other.TypeName) && FieldName.Equals(other.FieldName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String interfaceName) + { + this.__typename = __typename; + Severity = severity; + InterfaceName = interfaceName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String InterfaceName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && InterfaceName.Equals(other.InterfaceName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * InterfaceName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String coordinate, global::System.String fieldName, global::System.Collections.Generic.IReadOnlyList changes) + { + this.__typename = __typename; + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String Coordinate { get; } + public global::System.String FieldName { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && Coordinate.Equals(other.Coordinate) && FieldName.Equals(other.FieldName) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Changes, other.Changes); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * Coordinate.GetHashCode(); + hash ^= 397 * FieldName.GetHashCode(); + foreach (var Changes_elm in Changes) + { + hash ^= 397 * Changes_elm.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6 + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String? old, global::System.String? @new) + { + this.__typename = __typename; + Severity = severity; + Old = old; + New = @new; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String? Old { get; } + public global::System.String? New { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && ((Old is null && other.Old is null) || Old != null && Old.Equals(other.Old)) && ((New is null && other.New is null) || New != null && New.Equals(other.New)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + if (Old != null) + { + hash ^= 397 * Old.GetHashCode(); + } + + if (New != null) + { + hash ^= 397 * New.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity severity, global::System.String typeName) + { + this.__typename = __typename; + Severity = severity; + TypeName = typeName; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Severity { get; } + public global::System.String TypeName { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Severity.Equals(other.Severity) && TypeName.Equals(other.TypeName); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Severity.GetHashCode(); + hash ^= 397 * TypeName.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : global::System.IEquatable, IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation + { + public OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(global::System.Int32 column, global::System.Int32 line) + { + Column = column; + Line = line; + } + + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + + public virtual global::System.Boolean Equals(OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Column, other.Column)) && global::System.Object.Equals(Line, other.Line); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Column.GetHashCode(); + hash ^= 397 * Line.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChangedResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged OnFusionConfigurationPublishingTaskChanged { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged + { + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState State { get; } + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationPublishingFailed + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Failed { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IFusionConfigurationPublishingFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationPublishingSuccess + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Success { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IFusionConfigurationPublishingSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationValidationFailed + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Failed { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IFusionConfigurationValidationFailed + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationValidationSuccess + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String Success { get; } + public global::System.Collections.Generic.IReadOnlyList Changes { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IFusionConfigurationValidationSuccess + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IOperationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IProcessingTaskApproved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IProcessingTaskIsQueued + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IProcessingTaskIsReady + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IValidationInProgress + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged, IWaitForApproval + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors + { + public global::System.String Message { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_McpFeatureCollectionValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, ISchemaVersionChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1, IUnexpectedProcessingError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_ClientDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_FusionConfigurationDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_McpFeatureCollectionDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_OpenApiCollectionDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_SchemaDeployment : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors_GraphQLSchemaError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollectionValidationCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_1 + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollectionValidationCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client_Client : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_PersistedQueryValidationFailed : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_DirectiveModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_EnumModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InputObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_InterfaceModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_ScalarModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_TypeSystemMemberRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_UnionModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_ArgumentRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DirectiveLocationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_EnumValueRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_PossibleTypeRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_4 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldAddedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_FieldRemovedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationAdded_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_InterfaceImplementationRemoved_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_OutputFieldChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_5 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_DescriptionChanged_6 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_UnionMemberRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_1, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_2, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_3, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_4 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_PersistedQueryValidationError_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_4, IPersistedQueryValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaChangeViolationError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_4, ISchemaChangeViolationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OperationsAreNotAllowedError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_4, IOperationsAreNotAllowedError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_SchemaVersionSyntaxError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_4, ISchemaVersionSyntaxError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_InvalidGraphQLSchemaError_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_4, IInvalidGraphQLSchemaError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_OpenApiCollectionValidationError_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_4, IOpenApiCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_McpFeatureCollectionValidationError_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_4, IMcpFeatureCollectionValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollection_McpFeatureCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_McpFeatureCollectionValidationTool : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection_OpenApiCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_1 + { + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_1 + { + public global::System.String HttpMethod { get; } + public global::System.String Route { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_OpenApiCollectionValidationModel : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_1 + { + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + public global::System.String? Path { get; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_PersistedQueryError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_ArgumentRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DirectiveLocationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_EnumValueRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_PossibleTypeRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_4 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldAddedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_FieldRemovedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_OutputFieldChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_5 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_DescriptionChanged_6 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_UnionMemberRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_1, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_2 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_2, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_2, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_ArgumentRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DeprecatedChange_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_DescriptionChanged_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_TypeChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_3, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client + { + public global::System.String Id { get; } + public global::System.String Name { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client_Client : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Client + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries + { + public global::System.Collections.Generic.IReadOnlyList DeployedTags { get; } + public global::System.String Message { get; } + public global::System.String Hash { get; } + public global::System.Collections.Generic.IReadOnlyList Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries_PersistedQueryValidationFailed : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Queries + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes : ISchemaChangeLogEntry + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_DirectiveModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IDirectiveModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_EnumModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IEnumModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InputObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IInputObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_InterfaceModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IInterfaceModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ObjectModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IObjectModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_ScalarModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IScalarModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, ITypeSystemMemberAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, ISchemaChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_TypeSystemMemberRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, ITypeSystemMemberRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_UnionModifiedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes, IUnionModifiedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors + { + public global::System.String Message { get; } + public global::System.String? Code { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors_GraphQLSchemaError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? OpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_OpenApiCollectionValidationCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_1 + { + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? McpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyList Entities { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Collections_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors, IMcpFeatureCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_1, IOpenApiCollectionValidationDocumentError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_1, IOpenApiCollectionValidationEntityValidationError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Queries_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DeprecatedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes, IDeprecatedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes_TypeChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_Changes_Changes_Changes, ITypeChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IArgumentAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IArgumentChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_ArgumentRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IArgumentRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IDirectiveLocationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes, IDirectiveLocationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1, IEnumValueAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1, IEnumValueChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_EnumValueRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_1, IEnumValueRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_2, IInputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_3 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IPossibleTypeAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_PossibleTypeRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_3, IPossibleTypeRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_4 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldAddedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IFieldAddedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_FieldRemovedChange_2 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IFieldRemovedChange + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IInterfaceImplementationRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_OutputFieldChanged_1 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_4, IOutputFieldChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_5 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_5 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_5, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_6 + { + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_DescriptionChanged_6 : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_6, IDescriptionChanged + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberAdded : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_6, IUnionMemberAdded + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_UnionMemberRemoved : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Deployment_Errors_Changes_Changes_6, IUnionMemberRemoved + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_1 + { + public global::System.Int32 Column { get; } + public global::System.Int32 Line { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation : IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_Collections_Entities_Errors_Locations_1 + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublishResult : global::System.IEquatable, ICancelFusionConfigurationPublishResult + { + public CancelFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition cancelFusionConfigurationComposition) + { + CancelFusionConfigurationComposition = cancelFusionConfigurationComposition; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition CancelFusionConfigurationComposition { get; } + + public virtual global::System.Boolean Equals(CancelFusionConfigurationPublishResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CancelFusionConfigurationComposition.Equals(other.CancelFusionConfigurationComposition)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CancelFusionConfigurationPublishResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CancelFusionConfigurationComposition.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload : global::System.IEquatable, ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload + { + public CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload(global::System.Collections.Generic.IReadOnlyList? errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation : global::System.IEquatable, ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation + { + public CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : global::System.IEquatable, ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError + { + public CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError + { + public CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationPublishResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition CancelFusionConfigurationComposition { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition + { + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload : ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation : ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationRequestNotFoundError : IError + { + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors, IFusionConfigurationRequestNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors, IInvalidProcessingStateTransitionError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublishResult : global::System.IEquatable, ICommitFusionConfigurationPublishResult + { + public CommitFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish commitFusionConfigurationPublish) + { + CommitFusionConfigurationPublish = commitFusionConfigurationPublish; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish CommitFusionConfigurationPublish { get; } + + public virtual global::System.Boolean Equals(CommitFusionConfigurationPublishResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (CommitFusionConfigurationPublish.Equals(other.CommitFusionConfigurationPublish)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CommitFusionConfigurationPublishResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * CommitFusionConfigurationPublish.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload : global::System.IEquatable, ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload + { + public CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload(global::System.Collections.Generic.IReadOnlyList? errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation : global::System.IEquatable, ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation + { + public CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError : global::System.IEquatable, ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError + { + public CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError + { + public CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublishResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish CommitFusionConfigurationPublish { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish + { + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload : ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation : ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError : ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors, IFusionConfigurationRequestNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError : ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors, IInvalidProcessingStateTransitionError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublishResult : global::System.IEquatable, IStartFusionConfigurationPublishResult + { + public StartFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition startFusionConfigurationComposition) + { + StartFusionConfigurationComposition = startFusionConfigurationComposition; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition StartFusionConfigurationComposition { get; } + + public virtual global::System.Boolean Equals(StartFusionConfigurationPublishResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (StartFusionConfigurationComposition.Equals(other.StartFusionConfigurationComposition)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((StartFusionConfigurationPublishResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * StartFusionConfigurationComposition.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload : global::System.IEquatable, IStartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload + { + public StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload(global::System.Collections.Generic.IReadOnlyList? errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation : global::System.IEquatable, IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation + { + public StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : global::System.IEquatable, IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError + { + public StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError + { + public StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationPublishResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition StartFusionConfigurationComposition { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition + { + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload : IStartFusionConfigurationPublish_StartFusionConfigurationComposition + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation : IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors, IFusionConfigurationRequestNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors, IInvalidProcessingStateTransitionError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublishResult : global::System.IEquatable, IValidateFusionConfigurationPublishResult + { + public ValidateFusionConfigurationPublishResult(global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition validateFusionConfigurationComposition) + { + ValidateFusionConfigurationComposition = validateFusionConfigurationComposition; + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition ValidateFusionConfigurationComposition { get; } + + public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublishResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ValidateFusionConfigurationComposition.Equals(other.ValidateFusionConfigurationComposition)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateFusionConfigurationPublishResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ValidateFusionConfigurationComposition.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload : global::System.IEquatable, IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload + { + public ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload(global::System.Collections.Generic.IReadOnlyList? errors) + { + Errors = errors; + } + + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + + public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Errors, other.Errors)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Errors != null) + { + foreach (var Errors_elm in Errors) + { + hash ^= 397 * Errors_elm.GetHashCode(); + } + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation : global::System.IEquatable, IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation + { + public ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : global::System.IEquatable, IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError + { + public ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : global::System.IEquatable, IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError + { + public ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(global::System.String __typename, global::System.String message) + { + this.__typename = __typename; + Message = message; + } + + /// + /// The name of the current Object type at runtime. + /// + public global::System.String __typename { get; } + public global::System.String Message { get; } + + public virtual global::System.Boolean Equals(ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (__typename.Equals(other.__typename)) && Message.Equals(other.Message); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * __typename.GetHashCode(); + hash ^= 397 * Message.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationPublishResult + { + public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition ValidateFusionConfigurationComposition { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition + { + public global::System.Collections.Generic.IReadOnlyList? Errors { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload : IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation : IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors, IUnauthorizedOperation + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError : IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors, IFusionConfigurationRequestNotFoundError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError : IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors, IInvalidProcessingStateTransitionError + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQueryResult : global::System.IEquatable, ISelectMcpFeatureCollectionPromptQueryResult + { + public SelectMcpFeatureCollectionPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById? ApiById { get; } + + public virtual global::System.Boolean Equals(SelectMcpFeatureCollectionPromptQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMcpFeatureCollectionPromptQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ApiById != null) + { + hash ^= 397 * ApiById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQuery_ApiById_Api : global::System.IEquatable, ISelectMcpFeatureCollectionPromptQuery_ApiById_Api + { + public SelectMcpFeatureCollectionPromptQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections? mcpFeatureCollections) + { + McpFeatureCollections = mcpFeatureCollections; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections? McpFeatureCollections { get; } + + public virtual global::System.Boolean Equals(SelectMcpFeatureCollectionPromptQuery_ApiById_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((McpFeatureCollections is null && other.McpFeatureCollections is null) || McpFeatureCollections != null && McpFeatureCollections.Equals(other.McpFeatureCollections))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMcpFeatureCollectionPromptQuery_ApiById_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (McpFeatureCollections != null) + { + hash ^= 397 * McpFeatureCollections.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_ApiMcpFeatureCollectionsConnection : global::System.IEquatable, ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_ApiMcpFeatureCollectionsConnection + { + public SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_ApiMcpFeatureCollectionsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_ApiMcpFeatureCollectionsConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_ApiMcpFeatureCollectionsConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge : global::System.IEquatable, ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge + { + public SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo_PageInfo : global::System.IEquatable, ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo_PageInfo + { + public SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node_McpFeatureCollection : global::System.IEquatable, ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node_McpFeatureCollection + { + public SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node_McpFeatureCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node_McpFeatureCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node_McpFeatureCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById? ApiById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections? McpFeatureCollections { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_Api : ISelectMcpFeatureCollectionPromptQuery_ApiById + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_ApiMcpFeatureCollectionsConnection : ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges : ISelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge : ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo_PageInfo : ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPrompt_McpFeatureCollection : IMcpFeatureCollectionDetailPrompt_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node : ISelectMcpFeatureCollectionPrompt_McpFeatureCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node_McpFeatureCollection : ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQueryResult : global::System.IEquatable, ISelectMockSchemaPromptQueryResult + { + public SelectMockSchemaPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById? ApiById { get; } + + public virtual global::System.Boolean Equals(SelectMockSchemaPromptQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMockSchemaPromptQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ApiById != null) + { + hash ^= 397 * ApiById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQuery_ApiById_Api : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_Api + { + public SelectMockSchemaPromptQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas? mockSchemas) + { + MockSchemas = mockSchemas; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas? MockSchemas { get; } + + public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((MockSchemas is null && other.MockSchemas is null) || MockSchemas != null && MockSchemas.Equals(other.MockSchemas))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMockSchemaPromptQuery_ApiById_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (MockSchemas != null) + { + hash ^= 397 * MockSchemas.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection + { + public SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge + { + public SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo + { + public SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema + { + public SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema(global::System.String id, global::System.String name, global::System.DateTimeOffset createdAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy createdBy, global::System.DateTimeOffset modifiedAt, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy modifiedBy, global::System.Uri downstreamUrl, global::System.String url) + { + Id = id; + Name = name; + CreatedAt = createdAt; + CreatedBy = createdBy; + ModifiedAt = modifiedAt; + ModifiedBy = modifiedBy; + DownstreamUrl = downstreamUrl; + Url = url; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + public global::System.DateTimeOffset CreatedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy CreatedBy { get; } + public global::System.DateTimeOffset ModifiedAt { get; } + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy ModifiedBy { get; } + public global::System.Uri DownstreamUrl { get; } + public global::System.String Url { get; } + + public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name) && CreatedAt.Equals(other.CreatedAt) && CreatedBy.Equals(other.CreatedBy) && ModifiedAt.Equals(other.ModifiedAt) && ModifiedBy.Equals(other.ModifiedBy) && DownstreamUrl.Equals(other.DownstreamUrl) && Url.Equals(other.Url); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + hash ^= 397 * CreatedAt.GetHashCode(); + hash ^= 397 * CreatedBy.GetHashCode(); + hash ^= 397 * ModifiedAt.GetHashCode(); + hash ^= 397 * ModifiedBy.GetHashCode(); + hash ^= 397 * DownstreamUrl.GetHashCode(); + hash ^= 397 * Url.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo + { + public SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo(global::System.String username) + { + Username = username; + } + + public global::System.String Username { get; } + + public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Username.Equals(other.Username)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Username.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo : global::System.IEquatable, ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo + { + public SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo(global::System.String username) + { + Username = username; + } + + public global::System.String Username { get; } + + public virtual global::System.Boolean Equals(SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Username.Equals(other.Username)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Username.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById? ApiById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas? MockSchemas { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_Api : ISelectMockSchemaPromptQuery_ApiById + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection : ISelectMockSchemaPromptQuery_ApiById_MockSchemas + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockCommand_MockEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges : ISelectMockCommand_MockEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockCommand_Mock : IMockSchemaDetailPrompt + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node : ISelectMockCommand_Mock + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy + { + public global::System.String Username { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy_UserInfo : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_CreatedBy + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy + { + public global::System.String Username { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy_UserInfo : ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_ModifiedBy + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQueryResult : global::System.IEquatable, ISelectOpenApiCollectionPromptQueryResult + { + public SelectOpenApiCollectionPromptQueryResult(global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById? ApiById { get; } + + public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQueryResult? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ApiById is null && other.ApiById is null) || ApiById != null && ApiById.Equals(other.ApiById))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectOpenApiCollectionPromptQueryResult)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ApiById != null) + { + hash ^= 397 * ApiById.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQuery_ApiById_Api : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_Api + { + public SelectOpenApiCollectionPromptQuery_ApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections? openApiCollections) + { + OpenApiCollections = openApiCollections; + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections? OpenApiCollections { get; } + + public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_Api? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((OpenApiCollections is null && other.OpenApiCollections is null) || OpenApiCollections != null && OpenApiCollections.Equals(other.OpenApiCollections))); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectOpenApiCollectionPromptQuery_ApiById_Api)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (OpenApiCollections != null) + { + hash ^= 397 * OpenApiCollections.GetHashCode(); + } + + return hash; + } + } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection + { + public SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection(global::System.Collections.Generic.IReadOnlyList? edges, global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo pageInfo) + { + Edges = edges; + PageInfo = pageInfo; + } + + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo PageInfo { get; } + + public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Edges, other.Edges)) && PageInfo.Equals(other.PageInfo); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Edges != null) + { + foreach (var Edges_elm in Edges) + { + hash ^= 397 * Edges_elm.GetHashCode(); + } + } + + hash ^= 397 * PageInfo.GetHashCode(); + return hash; + } + } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge + { + public SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge(global::System.String cursor, global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node node) + { + Cursor = cursor; + Node = node; + } + + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node Node { get; } + + public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Cursor.Equals(other.Cursor)) && Node.Equals(other.Node); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Cursor.GetHashCode(); + hash ^= 397 * Node.GetHashCode(); + return hash; + } + } + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo + { + public SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo(global::System.Boolean hasPreviousPage, global::System.Boolean hasNextPage, global::System.String? endCursor, global::System.String? startCursor) + { + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + /// + /// Indicates whether more edges exist prior the set defined by the clients arguments. + /// + public global::System.Boolean HasPreviousPage { get; } + /// + /// Indicates whether more edges exist following the set defined by the clients arguments. + /// + public global::System.Boolean HasNextPage { get; } + /// + /// When paginating forwards, the cursor to continue. + /// + public global::System.String? EndCursor { get; } + /// + /// When paginating backwards, the cursor to continue. + /// + public global::System.String? StartCursor { get; } + + public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(HasPreviousPage, other.HasPreviousPage)) && global::System.Object.Equals(HasNextPage, other.HasNextPage) && ((EndCursor is null && other.EndCursor is null) || EndCursor != null && EndCursor.Equals(other.EndCursor)) && ((StartCursor is null && other.StartCursor is null) || StartCursor != null && StartCursor.Equals(other.StartCursor)); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * HasPreviousPage.GetHashCode(); + hash ^= 397 * HasNextPage.GetHashCode(); + if (EndCursor != null) + { + hash ^= 397 * EndCursor.GetHashCode(); + } + + if (StartCursor != null) + { + hash ^= 397 * StartCursor.GetHashCode(); + } + + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection : global::System.IEquatable, ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection + { + public SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection(global::System.String id, global::System.String name) + { + Id = id; + Name = name; + } + + public global::System.String Id { get; } + public global::System.String Name { get; } + + public virtual global::System.Boolean Equals(SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)) && Name.Equals(other.Name); + } + + public override global::System.Boolean Equals(global::System.Object? obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + + if (ReferenceEquals(this, obj)) + { + return true; + } + + if (obj.GetType() != GetType()) + { + return false; + } + + return Equals((SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection)obj); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQueryResult + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById? ApiById { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById + { + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections? OpenApiCollections { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_Api : ISelectOpenApiCollectionPromptQuery_ApiById + { + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections + { + /// + /// A list of edges. + /// + public global::System.Collections.Generic.IReadOnlyList? Edges { get; } + /// + /// Information to aid in pagination. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo PageInfo { get; } + } + + /// + /// A connection to a list of items. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection : ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPrompt_OpenApiCollectionEdge + { + /// + /// A cursor for use in pagination. + /// + public global::System.String Cursor { get; } + /// + /// The item at the end of the edge. + /// + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node Node { get; } + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges : ISelectOpenApiCollectionPrompt_OpenApiCollectionEdge + { + } + + /// + /// An edge in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge : ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo : IPageInfo + { + } + + /// + /// Information about pagination in a connection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo : ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPrompt_OpenApiCollection : IOpenApiCollectionDetailPrompt_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node : ISelectOpenApiCollectionPrompt_OpenApiCollection + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection : ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node + { + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _apiKeyPermissionScopeInputFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _roleAssigmentConditionInputFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "CreateApiKeyInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _apiKeyPermissionScopeInputFormatter = serializerResolver.GetInputValueFormatter("ApiKeyPermissionScopeInput"); + _roleAssigmentConditionInputFormatter = serializerResolver.GetInputValueFormatter("RoleAssigmentConditionInput"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); + } + + if (inputInfo.IsPermissionScopeSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("permissionScope", FormatPermissionScope(input.PermissionScope))); + } + + if (inputInfo.IsRoleAssigmentConditionSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("roleAssigmentCondition", FormatRoleAssigmentCondition(input.RoleAssigmentCondition))); + } + + if (inputInfo.IsWorkspaceIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("workspaceId", FormatWorkspaceId(input.WorkspaceId))); + } + + return fields; + } + + private global::System.Object? FormatName(global::System.String? input) + { + if (input is null) + { + return input; + } + else + { + return _stringFormatter.Format(input); + } + } + + private global::System.Object? FormatPermissionScope(global::ChilliCream.Nitro.CommandLine.Client.ApiKeyPermissionScopeInput input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _apiKeyPermissionScopeInputFormatter.Format(input); + } + + private global::System.Object? FormatRoleAssigmentCondition(global::ChilliCream.Nitro.CommandLine.Client.RoleAssigmentConditionInput? input) + { + if (input is null) + { + return input; + } + else + { + return _roleAssigmentConditionInputFormatter.Format(input); + } + } + + private global::System.Object? FormatWorkspaceId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateApiKeyInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo + { + public virtual global::System.Boolean Equals(CreateApiKeyInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((Name is null && other.Name is null) || Name != null && Name.Equals(other.Name))) && PermissionScope.Equals(other.PermissionScope) && ((RoleAssigmentCondition is null && other.RoleAssigmentCondition is null) || RoleAssigmentCondition != null && RoleAssigmentCondition.Equals(other.RoleAssigmentCondition)) && WorkspaceId.Equals(other.WorkspaceId); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Name != null) + { + hash ^= 397 * Name.GetHashCode(); + } + + hash ^= 397 * PermissionScope.GetHashCode(); + if (RoleAssigmentCondition != null) + { + hash ^= 397 * RoleAssigmentCondition.GetHashCode(); + } + + hash ^= 397 * WorkspaceId.GetHashCode(); + return hash; + } + } + + private global::System.String? _value_name; + private global::System.Boolean _set_name; + private global::ChilliCream.Nitro.CommandLine.Client.ApiKeyPermissionScopeInput _value_permissionScope = default !; + private global::System.Boolean _set_permissionScope; + private global::ChilliCream.Nitro.CommandLine.Client.RoleAssigmentConditionInput? _value_roleAssigmentCondition; + private global::System.Boolean _set_roleAssigmentCondition; + private global::System.String _value_workspaceId = default !; + private global::System.Boolean _set_workspaceId; + public global::System.String? Name + { + get => _value_name; + init + { + _set_name = true; + _value_name = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo.IsNameSet => _set_name; + + public global::ChilliCream.Nitro.CommandLine.Client.ApiKeyPermissionScopeInput PermissionScope + { + get => _value_permissionScope; + init + { + _set_permissionScope = true; + _value_permissionScope = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo.IsPermissionScopeSet => _set_permissionScope; + + public global::ChilliCream.Nitro.CommandLine.Client.RoleAssigmentConditionInput? RoleAssigmentCondition + { + get => _value_roleAssigmentCondition; + init + { + _set_roleAssigmentCondition = true; + _value_roleAssigmentCondition = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo.IsRoleAssigmentConditionSet => _set_roleAssigmentCondition; + + public global::System.String WorkspaceId + { + get => _value_workspaceId; + init + { + _set_workspaceId = true; + _value_workspaceId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyInputInfo.IsWorkspaceIdSet => _set_workspaceId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ApiKeyPermissionScopeInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "ApiKeyPermissionScopeInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ApiKeyPermissionScopeInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IApiKeyPermissionScopeInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsWorkspaceIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("workspaceId", FormatWorkspaceId(input.WorkspaceId))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String? input) + { + if (input is null) + { + return input; + } + else + { + return _iDFormatter.Format(input); + } + } + + private global::System.Object? FormatWorkspaceId(global::System.String? input) + { + if (input is null) + { + return input; + } + else + { + return _iDFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiKeyPermissionScopeInput : global::ChilliCream.Nitro.CommandLine.Client.State.IApiKeyPermissionScopeInputInfo + { + public virtual global::System.Boolean Equals(ApiKeyPermissionScopeInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((ApiId is null && other.ApiId is null) || ApiId != null && ApiId.Equals(other.ApiId))) && ((WorkspaceId is null && other.WorkspaceId is null) || WorkspaceId != null && WorkspaceId.Equals(other.WorkspaceId)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (ApiId != null) + { + hash ^= 397 * ApiId.GetHashCode(); + } + + if (WorkspaceId != null) + { + hash ^= 397 * WorkspaceId.GetHashCode(); + } + + return hash; + } + } + + private global::System.String? _value_apiId; + private global::System.Boolean _set_apiId; + private global::System.String? _value_workspaceId; + private global::System.Boolean _set_workspaceId; + public global::System.String? ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IApiKeyPermissionScopeInputInfo.IsApiIdSet => _set_apiId; + + public global::System.String? WorkspaceId + { + get => _value_workspaceId; + init + { + _set_workspaceId = true; + _value_workspaceId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IApiKeyPermissionScopeInputInfo.IsWorkspaceIdSet => _set_workspaceId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RoleAssigmentConditionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _roleAssignmentStageAuthorizationConditionInputFormatter = default !; + public global::System.String TypeName => "RoleAssigmentConditionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _roleAssignmentStageAuthorizationConditionInputFormatter = serializerResolver.GetInputValueFormatter("RoleAssignmentStageAuthorizationConditionInput"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.RoleAssigmentConditionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssigmentConditionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsStageAuthorizationConditionSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stageAuthorizationCondition", FormatStageAuthorizationCondition(input.StageAuthorizationCondition))); + } + + return fields; + } + + private global::System.Object? FormatStageAuthorizationCondition(global::ChilliCream.Nitro.CommandLine.Client.RoleAssignmentStageAuthorizationConditionInput? input) + { + if (input is null) + { + return input; + } + else + { + return _roleAssignmentStageAuthorizationConditionInputFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record RoleAssigmentConditionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssigmentConditionInputInfo + { + public virtual global::System.Boolean Equals(RoleAssigmentConditionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((StageAuthorizationCondition is null && other.StageAuthorizationCondition is null) || StageAuthorizationCondition != null && StageAuthorizationCondition.Equals(other.StageAuthorizationCondition))); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (StageAuthorizationCondition != null) + { + hash ^= 397 * StageAuthorizationCondition.GetHashCode(); + } + + return hash; + } + } + + private global::ChilliCream.Nitro.CommandLine.Client.RoleAssignmentStageAuthorizationConditionInput? _value_stageAuthorizationCondition; + private global::System.Boolean _set_stageAuthorizationCondition; + public global::ChilliCream.Nitro.CommandLine.Client.RoleAssignmentStageAuthorizationConditionInput? StageAuthorizationCondition + { + get => _value_stageAuthorizationCondition; + init + { + _set_stageAuthorizationCondition = true; + _value_stageAuthorizationCondition = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssigmentConditionInputInfo.IsStageAuthorizationConditionSet => _set_stageAuthorizationCondition; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RoleAssignmentStageAuthorizationConditionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "RoleAssignmentStageAuthorizationConditionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.RoleAssignmentStageAuthorizationConditionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssignmentStageAuthorizationConditionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); + } + + return fields; + } + + private global::System.Object? FormatName(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record RoleAssignmentStageAuthorizationConditionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssignmentStageAuthorizationConditionInputInfo + { + public virtual global::System.Boolean Equals(RoleAssignmentStageAuthorizationConditionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + + private global::System.String _value_name = default !; + private global::System.Boolean _set_name; + public global::System.String Name + { + get => _value_name; + init + { + _set_name = true; + _value_name = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IRoleAssignmentStageAuthorizationConditionInputInfo.IsNameSet => _set_name; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "DeleteApiKeyInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiKeyIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiKeyId", FormatApiKeyId(input.ApiKeyId))); + } + + return fields; + } + + private global::System.Object? FormatApiKeyId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteApiKeyInput : global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyInputInfo + { + public virtual global::System.Boolean Equals(DeleteApiKeyInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiKeyId.Equals(other.ApiKeyId)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiKeyId.GetHashCode(); + return hash; + } + } + + private global::System.String _value_apiKeyId = default !; + private global::System.Boolean _set_apiKeyId; + public global::System.String ApiKeyId + { + get => _value_apiKeyId; + init + { + _set_apiKeyId = true; + _value_apiKeyId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyInputInfo.IsApiKeyIdSet => _set_apiKeyId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateApiSettingsInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _partialApiSettingsInputFormatter = default !; + public global::System.String TypeName => "UpdateApiSettingsInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _partialApiSettingsInputFormatter = serializerResolver.GetInputValueFormatter("PartialApiSettingsInput"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsSettingsSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("settings", FormatSettings(input.Settings))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatSettings(global::ChilliCream.Nitro.CommandLine.Client.PartialApiSettingsInput input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _partialApiSettingsInputFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UpdateApiSettingsInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsInputInfo + { + public virtual global::System.Boolean Equals(UpdateApiSettingsInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && Settings.Equals(other.Settings); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Settings.GetHashCode(); + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::ChilliCream.Nitro.CommandLine.Client.PartialApiSettingsInput _value_settings = default !; + private global::System.Boolean _set_settings; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsInputInfo.IsApiIdSet => _set_apiId; + + public global::ChilliCream.Nitro.CommandLine.Client.PartialApiSettingsInput Settings + { + get => _value_settings; + init + { + _set_settings = true; + _value_settings = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsInputInfo.IsSettingsSet => _set_settings; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PartialApiSettingsInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _partialSchemaRegistrySettingsInputFormatter = default !; + public global::System.String TypeName => "PartialApiSettingsInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _partialSchemaRegistrySettingsInputFormatter = serializerResolver.GetInputValueFormatter("PartialSchemaRegistrySettingsInput"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PartialApiSettingsInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPartialApiSettingsInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsSchemaRegistrySet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("schemaRegistry", FormatSchemaRegistry(input.SchemaRegistry))); + } + + return fields; + } + + private global::System.Object? FormatSchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.PartialSchemaRegistrySettingsInput? input) + { + if (input is null) + { + return input; + } + else + { + return _partialSchemaRegistrySettingsInputFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PartialApiSettingsInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPartialApiSettingsInputInfo + { + public virtual global::System.Boolean Equals(PartialApiSettingsInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (((SchemaRegistry is null && other.SchemaRegistry is null) || SchemaRegistry != null && SchemaRegistry.Equals(other.SchemaRegistry))); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (SchemaRegistry != null) + { + hash ^= 397 * SchemaRegistry.GetHashCode(); + } + + return hash; + } + } + + private global::ChilliCream.Nitro.CommandLine.Client.PartialSchemaRegistrySettingsInput? _value_schemaRegistry; + private global::System.Boolean _set_schemaRegistry; + public global::ChilliCream.Nitro.CommandLine.Client.PartialSchemaRegistrySettingsInput? SchemaRegistry + { + get => _value_schemaRegistry; + init + { + _set_schemaRegistry = true; + _value_schemaRegistry = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPartialApiSettingsInputInfo.IsSchemaRegistrySet => _set_schemaRegistry; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PartialSchemaRegistrySettingsInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; + public global::System.String TypeName => "PartialSchemaRegistrySettingsInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PartialSchemaRegistrySettingsInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPartialSchemaRegistrySettingsInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsAllowBreakingSchemaChangesSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("allowBreakingSchemaChanges", FormatAllowBreakingSchemaChanges(input.AllowBreakingSchemaChanges))); + } + + if (inputInfo.IsTreatDangerousAsBreakingSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("treatDangerousAsBreaking", FormatTreatDangerousAsBreaking(input.TreatDangerousAsBreaking))); + } + + return fields; + } + + private global::System.Object? FormatAllowBreakingSchemaChanges(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + + private global::System.Object? FormatTreatDangerousAsBreaking(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PartialSchemaRegistrySettingsInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPartialSchemaRegistrySettingsInputInfo + { + public virtual global::System.Boolean Equals(PartialSchemaRegistrySettingsInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(AllowBreakingSchemaChanges, other.AllowBreakingSchemaChanges)) && global::System.Object.Equals(TreatDangerousAsBreaking, other.TreatDangerousAsBreaking); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (AllowBreakingSchemaChanges != null) + { + hash ^= 397 * AllowBreakingSchemaChanges.GetHashCode(); + } + + if (TreatDangerousAsBreaking != null) + { + hash ^= 397 * TreatDangerousAsBreaking.GetHashCode(); + } + + return hash; + } + } + + private global::System.Boolean? _value_allowBreakingSchemaChanges; + private global::System.Boolean _set_allowBreakingSchemaChanges; + private global::System.Boolean? _value_treatDangerousAsBreaking; + private global::System.Boolean _set_treatDangerousAsBreaking; + public global::System.Boolean? AllowBreakingSchemaChanges + { + get => _value_allowBreakingSchemaChanges; + init + { + _set_allowBreakingSchemaChanges = true; + _value_allowBreakingSchemaChanges = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPartialSchemaRegistrySettingsInputInfo.IsAllowBreakingSchemaChangesSet => _set_allowBreakingSchemaChanges; + + public global::System.Boolean? TreatDangerousAsBreaking + { + get => _value_treatDangerousAsBreaking; + init + { + _set_treatDangerousAsBreaking = true; + _value_treatDangerousAsBreaking = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPartialSchemaRegistrySettingsInputInfo.IsTreatDangerousAsBreakingSet => _set_treatDangerousAsBreaking; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "CreateClientInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatName(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientInputInfo + { + public virtual global::System.Boolean Equals(CreateClientInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && Name.Equals(other.Name); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::System.String _value_name = default !; + private global::System.Boolean _set_name; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientInputInfo.IsApiIdSet => _set_apiId; + + public global::System.String Name + { + get => _value_name; + init + { + _set_name = true; + _value_name = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientInputInfo.IsNameSet => _set_name; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "DeleteClientByIdInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsClientIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); + } + + return fields; + } + + private global::System.Object? FormatClientId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteClientByIdInput : global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdInputInfo + { + public virtual global::System.Boolean Equals(DeleteClientByIdInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ClientId.Equals(other.ClientId)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ClientId.GetHashCode(); + return hash; + } + } + + private global::System.String _value_clientId = default !; + private global::System.Boolean _set_clientId; + public global::System.String ClientId + { + get => _value_clientId; + init + { + _set_clientId = true; + _value_clientId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdInputInfo.IsClientIdSet => _set_clientId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "PublishClientInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsClientIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); + } + + if (inputInfo.IsForceSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("force", FormatForce(input.Force))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + if (inputInfo.IsWaitForApprovalSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); + } + + return fields; + } + + private global::System.Object? FormatClientId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatForce(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo + { + public virtual global::System.Boolean Equals(PublishClientInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ClientId.Equals(other.ClientId)) && global::System.Object.Equals(Force, other.Force) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ClientId.GetHashCode(); + if (Force != null) + { + hash ^= 397 * Force.GetHashCode(); + } + + hash ^= 397 * Stage.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + if (WaitForApproval != null) + { + hash ^= 397 * WaitForApproval.GetHashCode(); + } + + return hash; + } + } + + private global::System.String _value_clientId = default !; + private global::System.Boolean _set_clientId; + private global::System.Boolean? _value_force; + private global::System.Boolean _set_force; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + private global::System.Boolean? _value_waitForApproval; + private global::System.Boolean _set_waitForApproval; + public global::System.String ClientId + { + get => _value_clientId; + init + { + _set_clientId = true; + _value_clientId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsClientIdSet => _set_clientId; + + public global::System.Boolean? Force + { + get => _value_force; + init + { + _set_force = true; + _value_force = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsForceSet => _set_force; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsStageSet => _set_stage; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsTagSet => _set_tag; + + public global::System.Boolean? WaitForApproval + { + get => _value_waitForApproval; + init + { + _set_waitForApproval = true; + _value_waitForApproval = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientInputInfo.IsWaitForApprovalSet => _set_waitForApproval; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "UnpublishClientInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsClientIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + return fields; + } + + private global::System.Object? FormatClientId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UnpublishClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo + { + public virtual global::System.Boolean Equals(UnpublishClientInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ClientId.Equals(other.ClientId)) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ClientId.GetHashCode(); + hash ^= 397 * Stage.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + + private global::System.String _value_clientId = default !; + private global::System.Boolean _set_clientId; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + public global::System.String ClientId + { + get => _value_clientId; + init + { + _set_clientId = true; + _value_clientId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo.IsClientIdSet => _set_clientId; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo.IsStageSet => _set_stage; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientInputInfo.IsTagSet => _set_tag; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "UploadClientInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsClientIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); + } + + if (inputInfo.IsOperationsSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("operations", FormatOperations(input.Operations))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + return fields; + } + + private global::System.Object? FormatClientId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatOperations(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo + { + public virtual global::System.Boolean Equals(UploadClientInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ClientId.Equals(other.ClientId)) && Operations.Equals(other.Operations) && Tag.Equals(other.Tag); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ClientId.GetHashCode(); + hash ^= 397 * Operations.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + + private global::System.String _value_clientId = default !; + private global::System.Boolean _set_clientId; + private global::StrawberryShake.Upload _value_operations; + private global::System.Boolean _set_operations; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + public global::System.String ClientId + { + get => _value_clientId; + init + { + _set_clientId = true; + _value_clientId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo.IsClientIdSet => _set_clientId; + + public global::StrawberryShake.Upload Operations + { + get => _value_operations; + init + { + _set_operations = true; + _value_operations = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo.IsOperationsSet => _set_operations; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientInputInfo.IsTagSet => _set_tag; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "ValidateClientInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsClientIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("clientId", FormatClientId(input.ClientId))); + } + + if (inputInfo.IsOperationsSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("operations", FormatOperations(input.Operations))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + return fields; + } + + private global::System.Object? FormatClientId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatOperations(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateClientInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo + { + public virtual global::System.Boolean Equals(ValidateClientInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ClientId.Equals(other.ClientId)) && Operations.Equals(other.Operations) && Stage.Equals(other.Stage); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ClientId.GetHashCode(); + hash ^= 397 * Operations.GetHashCode(); + hash ^= 397 * Stage.GetHashCode(); + return hash; + } + } + + private global::System.String _value_clientId = default !; + private global::System.Boolean _set_clientId; + private global::StrawberryShake.Upload _value_operations; + private global::System.Boolean _set_operations; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + public global::System.String ClientId + { + get => _value_clientId; + init + { + _set_clientId = true; + _value_clientId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo.IsClientIdSet => _set_clientId; + + public global::StrawberryShake.Upload Operations + { + get => _value_operations; + init + { + _set_operations = true; + _value_operations = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo.IsOperationsSet => _set_operations; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientInputInfo.IsStageSet => _set_stage; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraphInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "UploadFusionSubgraphInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsArchiveSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("archive", FormatArchive(input.Archive))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatArchive(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadFusionSubgraphInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo + { + public virtual global::System.Boolean Equals(UploadFusionSubgraphInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && Archive.Equals(other.Archive) && Tag.Equals(other.Tag); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Archive.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::StrawberryShake.Upload _value_archive; + private global::System.Boolean _set_archive; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo.IsApiIdSet => _set_apiId; + + public global::StrawberryShake.Upload Archive + { + get => _value_archive; + init + { + _set_archive = true; + _value_archive = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo.IsArchiveSet => _set_archive; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphInputInfo.IsTagSet => _set_tag; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "CreateMcpFeatureCollectionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMcpFeatureCollectionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatName(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateMcpFeatureCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMcpFeatureCollectionInputInfo + { + public virtual global::System.Boolean Equals(CreateMcpFeatureCollectionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && Name.Equals(other.Name); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::System.String _value_name = default !; + private global::System.Boolean _set_name; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMcpFeatureCollectionInputInfo.IsApiIdSet => _set_apiId; + + public global::System.String Name + { + get => _value_name; + init + { + _set_name = true; + _value_name = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMcpFeatureCollectionInputInfo.IsNameSet => _set_name; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "DeleteMcpFeatureCollectionByIdInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteMcpFeatureCollectionByIdInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsMcpFeatureCollectionIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("mcpFeatureCollectionId", FormatMcpFeatureCollectionId(input.McpFeatureCollectionId))); + } + + return fields; + } + + private global::System.Object? FormatMcpFeatureCollectionId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteMcpFeatureCollectionByIdInput : global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteMcpFeatureCollectionByIdInputInfo + { + public virtual global::System.Boolean Equals(DeleteMcpFeatureCollectionByIdInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (McpFeatureCollectionId.Equals(other.McpFeatureCollectionId)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + return hash; + } + } + + private global::System.String _value_mcpFeatureCollectionId = default !; + private global::System.Boolean _set_mcpFeatureCollectionId; + public global::System.String McpFeatureCollectionId + { + get => _value_mcpFeatureCollectionId; + init + { + _set_mcpFeatureCollectionId = true; + _value_mcpFeatureCollectionId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteMcpFeatureCollectionByIdInputInfo.IsMcpFeatureCollectionIdSet => _set_mcpFeatureCollectionId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "PublishMcpFeatureCollectionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsForceSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("force", FormatForce(input.Force))); + } + + if (inputInfo.IsMcpFeatureCollectionIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("mcpFeatureCollectionId", FormatMcpFeatureCollectionId(input.McpFeatureCollectionId))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + if (inputInfo.IsWaitForApprovalSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); + } + + return fields; + } + + private global::System.Object? FormatForce(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + + private global::System.Object? FormatMcpFeatureCollectionId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishMcpFeatureCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionInputInfo + { + public virtual global::System.Boolean Equals(PublishMcpFeatureCollectionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Force, other.Force)) && McpFeatureCollectionId.Equals(other.McpFeatureCollectionId) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Force != null) + { + hash ^= 397 * Force.GetHashCode(); + } + + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + hash ^= 397 * Stage.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + if (WaitForApproval != null) + { + hash ^= 397 * WaitForApproval.GetHashCode(); + } + + return hash; + } + } + + private global::System.Boolean? _value_force; + private global::System.Boolean _set_force; + private global::System.String _value_mcpFeatureCollectionId = default !; + private global::System.Boolean _set_mcpFeatureCollectionId; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + private global::System.Boolean? _value_waitForApproval; + private global::System.Boolean _set_waitForApproval; + public global::System.Boolean? Force + { + get => _value_force; + init + { + _set_force = true; + _value_force = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionInputInfo.IsForceSet => _set_force; + + public global::System.String McpFeatureCollectionId + { + get => _value_mcpFeatureCollectionId; + init + { + _set_mcpFeatureCollectionId = true; + _value_mcpFeatureCollectionId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionInputInfo.IsMcpFeatureCollectionIdSet => _set_mcpFeatureCollectionId; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionInputInfo.IsStageSet => _set_stage; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionInputInfo.IsTagSet => _set_tag; + + public global::System.Boolean? WaitForApproval + { + get => _value_waitForApproval; + init + { + _set_waitForApproval = true; + _value_waitForApproval = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionInputInfo.IsWaitForApprovalSet => _set_waitForApproval; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "UploadMcpFeatureCollectionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadMcpFeatureCollectionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsCollectionSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("collection", FormatCollection(input.Collection))); + } + + if (inputInfo.IsMcpFeatureCollectionIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("mcpFeatureCollectionId", FormatMcpFeatureCollectionId(input.McpFeatureCollectionId))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + return fields; + } + + private global::System.Object? FormatCollection(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatMcpFeatureCollectionId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadMcpFeatureCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadMcpFeatureCollectionInputInfo + { + public virtual global::System.Boolean Equals(UploadMcpFeatureCollectionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Collection.Equals(other.Collection)) && McpFeatureCollectionId.Equals(other.McpFeatureCollectionId) && Tag.Equals(other.Tag); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Collection.GetHashCode(); + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + + private global::StrawberryShake.Upload _value_collection; + private global::System.Boolean _set_collection; + private global::System.String _value_mcpFeatureCollectionId = default !; + private global::System.Boolean _set_mcpFeatureCollectionId; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + public global::StrawberryShake.Upload Collection + { + get => _value_collection; + init + { + _set_collection = true; + _value_collection = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadMcpFeatureCollectionInputInfo.IsCollectionSet => _set_collection; + + public global::System.String McpFeatureCollectionId + { + get => _value_mcpFeatureCollectionId; + init + { + _set_mcpFeatureCollectionId = true; + _value_mcpFeatureCollectionId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadMcpFeatureCollectionInputInfo.IsMcpFeatureCollectionIdSet => _set_mcpFeatureCollectionId; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadMcpFeatureCollectionInputInfo.IsTagSet => _set_tag; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "ValidateMcpFeatureCollectionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateMcpFeatureCollectionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsCollectionSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("collection", FormatCollection(input.Collection))); + } + + if (inputInfo.IsMcpFeatureCollectionIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("mcpFeatureCollectionId", FormatMcpFeatureCollectionId(input.McpFeatureCollectionId))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + return fields; + } + + private global::System.Object? FormatCollection(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatMcpFeatureCollectionId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateMcpFeatureCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateMcpFeatureCollectionInputInfo + { + public virtual global::System.Boolean Equals(ValidateMcpFeatureCollectionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Collection.Equals(other.Collection)) && McpFeatureCollectionId.Equals(other.McpFeatureCollectionId) && Stage.Equals(other.Stage); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Collection.GetHashCode(); + hash ^= 397 * McpFeatureCollectionId.GetHashCode(); + hash ^= 397 * Stage.GetHashCode(); + return hash; + } + } + + private global::StrawberryShake.Upload _value_collection; + private global::System.Boolean _set_collection; + private global::System.String _value_mcpFeatureCollectionId = default !; + private global::System.Boolean _set_mcpFeatureCollectionId; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + public global::StrawberryShake.Upload Collection + { + get => _value_collection; + init + { + _set_collection = true; + _value_collection = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateMcpFeatureCollectionInputInfo.IsCollectionSet => _set_collection; + + public global::System.String McpFeatureCollectionId + { + get => _value_mcpFeatureCollectionId; + init + { + _set_mcpFeatureCollectionId = true; + _value_mcpFeatureCollectionId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateMcpFeatureCollectionInputInfo.IsMcpFeatureCollectionIdSet => _set_mcpFeatureCollectionId; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateMcpFeatureCollectionInputInfo.IsStageSet => _set_stage; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "CreateOpenApiCollectionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatName(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateOpenApiCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionInputInfo + { + public virtual global::System.Boolean Equals(CreateOpenApiCollectionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && Name.Equals(other.Name); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::System.String _value_name = default !; + private global::System.Boolean _set_name; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionInputInfo.IsApiIdSet => _set_apiId; + + public global::System.String Name + { + get => _value_name; + init + { + _set_name = true; + _value_name = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionInputInfo.IsNameSet => _set_name; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "DeleteOpenApiCollectionByIdInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsOpenApiCollectionIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("openApiCollectionId", FormatOpenApiCollectionId(input.OpenApiCollectionId))); + } + + return fields; + } + + private global::System.Object? FormatOpenApiCollectionId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteOpenApiCollectionByIdInput : global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdInputInfo + { + public virtual global::System.Boolean Equals(DeleteOpenApiCollectionByIdInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (OpenApiCollectionId.Equals(other.OpenApiCollectionId)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + return hash; + } + } + + private global::System.String _value_openApiCollectionId = default !; + private global::System.Boolean _set_openApiCollectionId; + public global::System.String OpenApiCollectionId + { + get => _value_openApiCollectionId; + init + { + _set_openApiCollectionId = true; + _value_openApiCollectionId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdInputInfo.IsOpenApiCollectionIdSet => _set_openApiCollectionId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "PublishOpenApiCollectionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsForceSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("force", FormatForce(input.Force))); + } + + if (inputInfo.IsOpenApiCollectionIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("openApiCollectionId", FormatOpenApiCollectionId(input.OpenApiCollectionId))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + if (inputInfo.IsWaitForApprovalSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); + } + + return fields; + } + + private global::System.Object? FormatForce(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + + private global::System.Object? FormatOpenApiCollectionId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishOpenApiCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo + { + public virtual global::System.Boolean Equals(PublishOpenApiCollectionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::System.Object.Equals(Force, other.Force)) && OpenApiCollectionId.Equals(other.OpenApiCollectionId) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Force != null) + { + hash ^= 397 * Force.GetHashCode(); + } + + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + hash ^= 397 * Stage.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + if (WaitForApproval != null) + { + hash ^= 397 * WaitForApproval.GetHashCode(); + } + + return hash; + } + } + + private global::System.Boolean? _value_force; + private global::System.Boolean _set_force; + private global::System.String _value_openApiCollectionId = default !; + private global::System.Boolean _set_openApiCollectionId; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + private global::System.Boolean? _value_waitForApproval; + private global::System.Boolean _set_waitForApproval; + public global::System.Boolean? Force + { + get => _value_force; + init + { + _set_force = true; + _value_force = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsForceSet => _set_force; + + public global::System.String OpenApiCollectionId + { + get => _value_openApiCollectionId; + init + { + _set_openApiCollectionId = true; + _value_openApiCollectionId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsOpenApiCollectionIdSet => _set_openApiCollectionId; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsStageSet => _set_stage; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsTagSet => _set_tag; + + public global::System.Boolean? WaitForApproval + { + get => _value_waitForApproval; + init + { + _set_waitForApproval = true; + _value_waitForApproval = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionInputInfo.IsWaitForApprovalSet => _set_waitForApproval; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "UploadOpenApiCollectionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsCollectionSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("collection", FormatCollection(input.Collection))); + } + + if (inputInfo.IsOpenApiCollectionIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("openApiCollectionId", FormatOpenApiCollectionId(input.OpenApiCollectionId))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + return fields; + } + + private global::System.Object? FormatCollection(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatOpenApiCollectionId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadOpenApiCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo + { + public virtual global::System.Boolean Equals(UploadOpenApiCollectionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Collection.Equals(other.Collection)) && OpenApiCollectionId.Equals(other.OpenApiCollectionId) && Tag.Equals(other.Tag); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Collection.GetHashCode(); + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + + private global::StrawberryShake.Upload _value_collection; + private global::System.Boolean _set_collection; + private global::System.String _value_openApiCollectionId = default !; + private global::System.Boolean _set_openApiCollectionId; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + public global::StrawberryShake.Upload Collection + { + get => _value_collection; + init + { + _set_collection = true; + _value_collection = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo.IsCollectionSet => _set_collection; + + public global::System.String OpenApiCollectionId + { + get => _value_openApiCollectionId; + init + { + _set_openApiCollectionId = true; + _value_openApiCollectionId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo.IsOpenApiCollectionIdSet => _set_openApiCollectionId; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionInputInfo.IsTagSet => _set_tag; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "ValidateOpenApiCollectionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsCollectionSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("collection", FormatCollection(input.Collection))); + } + + if (inputInfo.IsOpenApiCollectionIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("openApiCollectionId", FormatOpenApiCollectionId(input.OpenApiCollectionId))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + return fields; + } + + private global::System.Object? FormatCollection(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatOpenApiCollectionId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateOpenApiCollectionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo + { + public virtual global::System.Boolean Equals(ValidateOpenApiCollectionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Collection.Equals(other.Collection)) && OpenApiCollectionId.Equals(other.OpenApiCollectionId) && Stage.Equals(other.Stage); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Collection.GetHashCode(); + hash ^= 397 * OpenApiCollectionId.GetHashCode(); + hash ^= 397 * Stage.GetHashCode(); + return hash; + } + } + + private global::StrawberryShake.Upload _value_collection; + private global::System.Boolean _set_collection; + private global::System.String _value_openApiCollectionId = default !; + private global::System.Boolean _set_openApiCollectionId; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + public global::StrawberryShake.Upload Collection + { + get => _value_collection; + init + { + _set_collection = true; + _value_collection = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo.IsCollectionSet => _set_collection; + + public global::System.String OpenApiCollectionId + { + get => _value_openApiCollectionId; + init + { + _set_openApiCollectionId = true; + _value_openApiCollectionId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo.IsOpenApiCollectionIdSet => _set_openApiCollectionId; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionInputInfo.IsStageSet => _set_stage; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _dateTimeFormatter = default !; + public global::System.String TypeName => "CreatePersonalAccessTokenInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _dateTimeFormatter = serializerResolver.GetInputValueFormatter("DateTime"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsDescriptionSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("description", FormatDescription(input.Description))); + } + + if (inputInfo.IsExpiresAtSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("expiresAt", FormatExpiresAt(input.ExpiresAt))); + } + + return fields; + } + + private global::System.Object? FormatDescription(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatExpiresAt(global::System.DateTimeOffset input) + { + return _dateTimeFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreatePersonalAccessTokenInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenInputInfo + { + public virtual global::System.Boolean Equals(CreatePersonalAccessTokenInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Description.Equals(other.Description)) && ExpiresAt.Equals(other.ExpiresAt); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Description.GetHashCode(); + hash ^= 397 * ExpiresAt.GetHashCode(); + return hash; + } + } + + private global::System.String _value_description = default !; + private global::System.Boolean _set_description; + private global::System.DateTimeOffset _value_expiresAt; + private global::System.Boolean _set_expiresAt; + public global::System.String Description + { + get => _value_description; + init + { + _set_description = true; + _value_description = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenInputInfo.IsDescriptionSet => _set_description; + + public global::System.DateTimeOffset ExpiresAt + { + get => _value_expiresAt; + init + { + _set_expiresAt = true; + _value_expiresAt = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenInputInfo.IsExpiresAtSet => _set_expiresAt; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "RevokePersonalAccessTokenInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("id", FormatId(input.Id))); + } + + return fields; + } + + private global::System.Object? FormatId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record RevokePersonalAccessTokenInput : global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenInputInfo + { + public virtual global::System.Boolean Equals(RevokePersonalAccessTokenInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Id.Equals(other.Id)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Id.GetHashCode(); + return hash; + } + } + + private global::System.String _value_id = default !; + private global::System.Boolean _set_id; + public global::System.String Id + { + get => _value_id; + init + { + _set_id = true; + _value_id = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenInputInfo.IsIdSet => _set_id; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "PublishSchemaInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsForceSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("force", FormatForce(input.Force))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + if (inputInfo.IsWaitForApprovalSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatForce(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishSchemaInput : global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo + { + public virtual global::System.Boolean Equals(PublishSchemaInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && global::System.Object.Equals(Force, other.Force) && Stage.Equals(other.Stage) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + if (Force != null) + { + hash ^= 397 * Force.GetHashCode(); + } + + hash ^= 397 * Stage.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + if (WaitForApproval != null) + { + hash ^= 397 * WaitForApproval.GetHashCode(); + } + + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::System.Boolean? _value_force; + private global::System.Boolean _set_force; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + private global::System.Boolean? _value_waitForApproval; + private global::System.Boolean _set_waitForApproval; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsApiIdSet => _set_apiId; + + public global::System.Boolean? Force + { + get => _value_force; + init + { + _set_force = true; + _value_force = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsForceSet => _set_force; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsStageSet => _set_stage; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsTagSet => _set_tag; + + public global::System.Boolean? WaitForApproval + { + get => _value_waitForApproval; + init + { + _set_waitForApproval = true; + _value_waitForApproval = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaInputInfo.IsWaitForApprovalSet => _set_waitForApproval; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchemaInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "UploadSchemaInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsSchemaSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("schema", FormatSchema(input.Schema))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatSchema(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadSchemaInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo + { + public virtual global::System.Boolean Equals(UploadSchemaInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && Schema.Equals(other.Schema) && Tag.Equals(other.Tag); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Schema.GetHashCode(); + hash ^= 397 * Tag.GetHashCode(); + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::StrawberryShake.Upload _value_schema; + private global::System.Boolean _set_schema; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo.IsApiIdSet => _set_apiId; + + public global::StrawberryShake.Upload Schema + { + get => _value_schema; + init + { + _set_schema = true; + _value_schema = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo.IsSchemaSet => _set_schema; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaInputInfo.IsTagSet => _set_tag; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "ValidateSchemaInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsSchemaSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("schema", FormatSchema(input.Schema))); + } + + if (inputInfo.IsStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stage", FormatStage(input.Stage))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatSchema(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateSchemaInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo + { + public virtual global::System.Boolean Equals(ValidateSchemaInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && Schema.Equals(other.Schema) && Stage.Equals(other.Stage); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * Schema.GetHashCode(); + hash ^= 397 * Stage.GetHashCode(); + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::StrawberryShake.Upload _value_schema; + private global::System.Boolean _set_schema; + private global::System.String _value_stage = default !; + private global::System.Boolean _set_stage; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo.IsApiIdSet => _set_apiId; + + public global::StrawberryShake.Upload Schema + { + get => _value_schema; + init + { + _set_schema = true; + _value_schema = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo.IsSchemaSet => _set_schema; + + public global::System.String Stage + { + get => _value_stage; + init + { + _set_stage = true; + _value_stage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaInputInfo.IsStageSet => _set_stage; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStagesInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stageUpdateInputFormatter = default !; + public global::System.String TypeName => "UpdateStagesInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stageUpdateInputFormatter = serializerResolver.GetInputValueFormatter("StageUpdateInput"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsUpdatedStagesSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("updatedStages", FormatUpdatedStages(input.UpdatedStages))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatUpdatedStages(global::System.Collections.Generic.IReadOnlyList input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + var input_list = new global::System.Collections.Generic.List(); + foreach (var input_elm in input) + { + if (input_elm is null) + { + throw new global::System.ArgumentNullException(nameof(input_elm)); + } + + input_list.Add(_stageUpdateInputFormatter.Format(input_elm)); + } + + return input_list; + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UpdateStagesInput : global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesInputInfo + { + public virtual global::System.Boolean Equals(UpdateStagesInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(UpdatedStages, other.UpdatedStages); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + foreach (var UpdatedStages_elm in UpdatedStages) + { + hash ^= 397 * UpdatedStages_elm.GetHashCode(); + } + + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::System.Collections.Generic.IReadOnlyList _value_updatedStages = default !; + private global::System.Boolean _set_updatedStages; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesInputInfo.IsApiIdSet => _set_apiId; + + public global::System.Collections.Generic.IReadOnlyList UpdatedStages + { + get => _value_updatedStages; + init + { + _set_updatedStages = true; + _value_updatedStages = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesInputInfo.IsUpdatedStagesSet => _set_updatedStages; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StageUpdateInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _stageConditionUpdateInputFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "StageUpdateInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _stageConditionUpdateInputFormatter = serializerResolver.GetInputValueFormatter("StageConditionUpdateInput"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.StageUpdateInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsConditionsSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("conditions", FormatConditions(input.Conditions))); + } + + if (inputInfo.IsDisplayNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("displayName", FormatDisplayName(input.DisplayName))); + } + + if (inputInfo.IsNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); + } + + return fields; + } + + private global::System.Object? FormatConditions(global::System.Collections.Generic.IReadOnlyList? input) + { + if (input is null) + { + return input; + } + else + { + var input_list = new global::System.Collections.Generic.List(); + foreach (var input_elm in input) + { + if (input_elm is null) + { + throw new global::System.ArgumentNullException(nameof(input_elm)); + } + + input_list.Add(_stageConditionUpdateInputFormatter.Format(input_elm)); + } + + return input_list; + } + } + + private global::System.Object? FormatDisplayName(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatName(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record StageUpdateInput : global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo + { + public virtual global::System.Boolean Equals(StageUpdateInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (global::StrawberryShake.Internal.ComparisonHelper.SequenceEqual(Conditions, other.Conditions)) && DisplayName.Equals(other.DisplayName) && Name.Equals(other.Name); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + if (Conditions != null) + { + foreach (var Conditions_elm in Conditions) + { + hash ^= 397 * Conditions_elm.GetHashCode(); + } + } + + hash ^= 397 * DisplayName.GetHashCode(); + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + + private global::System.Collections.Generic.IReadOnlyList? _value_conditions; + private global::System.Boolean _set_conditions; + private global::System.String _value_displayName = default !; + private global::System.Boolean _set_displayName; + private global::System.String _value_name = default !; + private global::System.Boolean _set_name; + public global::System.Collections.Generic.IReadOnlyList? Conditions + { + get => _value_conditions; + init + { + _set_conditions = true; + _value_conditions = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo.IsConditionsSet => _set_conditions; + + public global::System.String DisplayName + { + get => _value_displayName; + init + { + _set_displayName = true; + _value_displayName = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo.IsDisplayNameSet => _set_displayName; + + public global::System.String Name + { + get => _value_name; + init + { + _set_name = true; + _value_name = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStageUpdateInputInfo.IsNameSet => _set_name; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StageConditionUpdateInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "StageConditionUpdateInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.StageConditionUpdateInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionUpdateInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsAfterStageSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("afterStage", FormatAfterStage(input.AfterStage))); + } + + return fields; + } + + private global::System.Object? FormatAfterStage(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record StageConditionUpdateInput : global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionUpdateInputInfo + { + public virtual global::System.Boolean Equals(StageConditionUpdateInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (AfterStage.Equals(other.AfterStage)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * AfterStage.GetHashCode(); + return hash; + } + } + + private global::System.String _value_afterStage = default !; + private global::System.Boolean _set_afterStage; + public global::System.String AfterStage + { + get => _value_afterStage; + init + { + _set_afterStage = true; + _value_afterStage = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionUpdateInputInfo.IsAfterStageSet => _set_afterStage; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + public global::System.String TypeName => "CreateWorkspaceInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("name", FormatName(input.Name))); + } + + return fields; + } + + private global::System.Object? FormatName(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateWorkspaceInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceInputInfo + { + public virtual global::System.Boolean Equals(CreateWorkspaceInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Name.Equals(other.Name)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Name.GetHashCode(); + return hash; + } + } + + private global::System.String _value_name = default !; + private global::System.Boolean _set_name; + public global::System.String Name + { + get => _value_name; + init + { + _set_name = true; + _value_name = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceInputInfo.IsNameSet => _set_name; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublishInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _booleanFormatter = default !; + public global::System.String TypeName => "BeginFusionConfigurationPublishInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _booleanFormatter = serializerResolver.GetInputValueFormatter("Boolean"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("apiId", FormatApiId(input.ApiId))); + } + + if (inputInfo.IsStageNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("stageName", FormatStageName(input.StageName))); + } + + if (inputInfo.IsSubgraphApiIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("subgraphApiId", FormatSubgraphApiId(input.SubgraphApiId))); + } + + if (inputInfo.IsSubgraphNameSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("subgraphName", FormatSubgraphName(input.SubgraphName))); + } + + if (inputInfo.IsTagSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("tag", FormatTag(input.Tag))); + } + + if (inputInfo.IsWaitForApprovalSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("waitForApproval", FormatWaitForApproval(input.WaitForApproval))); + } + + return fields; + } + + private global::System.Object? FormatApiId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + + private global::System.Object? FormatStageName(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatSubgraphApiId(global::System.String? input) + { + if (input is null) + { + return input; + } + else + { + return _iDFormatter.Format(input); + } + } + + private global::System.Object? FormatSubgraphName(global::System.String? input) + { + if (input is null) + { + return input; + } + else + { + return _stringFormatter.Format(input); + } + } + + private global::System.Object? FormatTag(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _stringFormatter.Format(input); + } + + private global::System.Object? FormatWaitForApproval(global::System.Boolean? input) + { + if (input is null) + { + return input; + } + else + { + return _booleanFormatter.Format(input); + } + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record BeginFusionConfigurationPublishInput : global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo + { + public virtual global::System.Boolean Equals(BeginFusionConfigurationPublishInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (ApiId.Equals(other.ApiId)) && StageName.Equals(other.StageName) && ((SubgraphApiId is null && other.SubgraphApiId is null) || SubgraphApiId != null && SubgraphApiId.Equals(other.SubgraphApiId)) && ((SubgraphName is null && other.SubgraphName is null) || SubgraphName != null && SubgraphName.Equals(other.SubgraphName)) && Tag.Equals(other.Tag) && global::System.Object.Equals(WaitForApproval, other.WaitForApproval); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * ApiId.GetHashCode(); + hash ^= 397 * StageName.GetHashCode(); + if (SubgraphApiId != null) + { + hash ^= 397 * SubgraphApiId.GetHashCode(); + } + + if (SubgraphName != null) + { + hash ^= 397 * SubgraphName.GetHashCode(); + } + + hash ^= 397 * Tag.GetHashCode(); + if (WaitForApproval != null) + { + hash ^= 397 * WaitForApproval.GetHashCode(); + } + + return hash; + } + } + + private global::System.String _value_apiId = default !; + private global::System.Boolean _set_apiId; + private global::System.String _value_stageName = default !; + private global::System.Boolean _set_stageName; + private global::System.String? _value_subgraphApiId; + private global::System.Boolean _set_subgraphApiId; + private global::System.String? _value_subgraphName; + private global::System.Boolean _set_subgraphName; + private global::System.String _value_tag = default !; + private global::System.Boolean _set_tag; + private global::System.Boolean? _value_waitForApproval; + private global::System.Boolean _set_waitForApproval; + public global::System.String ApiId + { + get => _value_apiId; + init + { + _set_apiId = true; + _value_apiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsApiIdSet => _set_apiId; + + public global::System.String StageName + { + get => _value_stageName; + init + { + _set_stageName = true; + _value_stageName = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsStageNameSet => _set_stageName; + + public global::System.String? SubgraphApiId + { + get => _value_subgraphApiId; + init + { + _set_subgraphApiId = true; + _value_subgraphApiId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsSubgraphApiIdSet => _set_subgraphApiId; + + public global::System.String? SubgraphName + { + get => _value_subgraphName; + init + { + _set_subgraphName = true; + _value_subgraphName = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsSubgraphNameSet => _set_subgraphName; + + public global::System.String Tag + { + get => _value_tag; + init + { + _set_tag = true; + _value_tag = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsTagSet => _set_tag; + + public global::System.Boolean? WaitForApproval + { + get => _value_waitForApproval; + init + { + _set_waitForApproval = true; + _value_waitForApproval = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishInputInfo.IsWaitForApprovalSet => _set_waitForApproval; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationCompositionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "CancelFusionConfigurationCompositionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsRequestIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("requestId", FormatRequestId(input.RequestId))); + } + + return fields; + } + + private global::System.Object? FormatRequestId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CancelFusionConfigurationCompositionInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionInputInfo + { + public virtual global::System.Boolean Equals(CancelFusionConfigurationCompositionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (RequestId.Equals(other.RequestId)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * RequestId.GetHashCode(); + return hash; + } + } + + private global::System.String _value_requestId = default !; + private global::System.Boolean _set_requestId; + public global::System.String RequestId + { + get => _value_requestId; + init + { + _set_requestId = true; + _value_requestId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionInputInfo.IsRequestIdSet => _set_requestId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublishInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "CommitFusionConfigurationPublishInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsConfigurationSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("configuration", FormatConfiguration(input.Configuration))); + } + + if (inputInfo.IsRequestIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("requestId", FormatRequestId(input.RequestId))); + } + + return fields; + } + + private global::System.Object? FormatConfiguration(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatRequestId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CommitFusionConfigurationPublishInput : global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishInputInfo + { + public virtual global::System.Boolean Equals(CommitFusionConfigurationPublishInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Configuration.Equals(other.Configuration)) && RequestId.Equals(other.RequestId); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Configuration.GetHashCode(); + hash ^= 397 * RequestId.GetHashCode(); + return hash; + } + } + + private global::StrawberryShake.Upload _value_configuration; + private global::System.Boolean _set_configuration; + private global::System.String _value_requestId = default !; + private global::System.Boolean _set_requestId; + public global::StrawberryShake.Upload Configuration + { + get => _value_configuration; + init + { + _set_configuration = true; + _value_configuration = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishInputInfo.IsConfigurationSet => _set_configuration; + + public global::System.String RequestId + { + get => _value_requestId; + init + { + _set_requestId = true; + _value_requestId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishInputInfo.IsRequestIdSet => _set_requestId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationCompositionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "StartFusionConfigurationCompositionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsRequestIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("requestId", FormatRequestId(input.RequestId))); + } + + return fields; + } + + private global::System.Object? FormatRequestId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record StartFusionConfigurationCompositionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionInputInfo + { + public virtual global::System.Boolean Equals(StartFusionConfigurationCompositionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (RequestId.Equals(other.RequestId)); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * RequestId.GetHashCode(); + return hash; + } + } + + private global::System.String _value_requestId = default !; + private global::System.Boolean _set_requestId; + public global::System.String RequestId + { + get => _value_requestId; + init + { + _set_requestId = true; + _value_requestId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionInputInfo.IsRequestIdSet => _set_requestId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationCompositionInputInputValueFormatter : global::StrawberryShake.Serialization.IInputObjectFormatter + { + private global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter = default !; + private global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter = default !; + public global::System.String TypeName => "ValidateFusionConfigurationCompositionInput"; + + public void Initialize(global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + public global::System.Object? Format(global::System.Object? runtimeValue) + { + if (runtimeValue is null) + { + return null; + } + + var input = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput; + var inputInfo = runtimeValue as global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionInputInfo; + if (input is null || inputInfo is null) + { + throw new global::System.ArgumentException(nameof(runtimeValue)); + } + + var fields = new global::System.Collections.Generic.List>(); + if (inputInfo.IsConfigurationSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("configuration", FormatConfiguration(input.Configuration))); + } + + if (inputInfo.IsRequestIdSet) + { + fields.Add(new global::System.Collections.Generic.KeyValuePair("requestId", FormatRequestId(input.RequestId))); + } + + return fields; + } + + private global::System.Object? FormatConfiguration(global::StrawberryShake.Upload input) + { + return _uploadFormatter.Format(input); + } + + private global::System.Object? FormatRequestId(global::System.String input) + { + if (input is null) + { + throw new global::System.ArgumentNullException(nameof(input)); + } + + return _iDFormatter.Format(input); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateFusionConfigurationCompositionInput : global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionInputInfo + { + public virtual global::System.Boolean Equals(ValidateFusionConfigurationCompositionInput? other) + { + if (ReferenceEquals(null, other)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (other.GetType() != GetType()) + { + return false; + } + + return (Configuration.Equals(other.Configuration)) && RequestId.Equals(other.RequestId); + } + + public override global::System.Int32 GetHashCode() + { + unchecked + { + int hash = 5; + hash ^= 397 * Configuration.GetHashCode(); + hash ^= 397 * RequestId.GetHashCode(); + return hash; + } + } + + private global::StrawberryShake.Upload _value_configuration; + private global::System.Boolean _set_configuration; + private global::System.String _value_requestId = default !; + private global::System.Boolean _set_requestId; + public global::StrawberryShake.Upload Configuration + { + get => _value_configuration; + init + { + _set_configuration = true; + _value_configuration = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionInputInfo.IsConfigurationSet => _set_configuration; + + public global::System.String RequestId + { + get => _value_requestId; + init + { + _set_requestId = true; + _value_requestId = value; + } + } + + global::System.Boolean global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionInputInfo.IsRequestIdSet => _set_requestId; + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public enum ApiKind + { + Collection, + Service, + Gateway + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ApiKindSerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser + { + public global::System.String TypeName => "ApiKind"; + + public ApiKind Parse(global::System.String serializedValue) + { + return serializedValue switch + { + "COLLECTION" => ApiKind.Collection, + "SERVICE" => ApiKind.Service, + "GATEWAY" => ApiKind.Gateway, + _ => throw new global::StrawberryShake.GraphQLClientException($"String value '{serializedValue}' can't be converted to enum ApiKind")}; + } + + public global::System.Object Format(global::System.Object? runtimeValue) + { + return runtimeValue switch + { + ApiKind.Collection => "COLLECTION", + ApiKind.Service => "SERVICE", + ApiKind.Gateway => "GATEWAY", + _ => throw new global::StrawberryShake.GraphQLClientException($"Enum ApiKind value '{runtimeValue}' can't be converted to string")}; + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public enum ProcessingState + { + Queued, + Ready, + Processing, + Success, + Failed, + Cancelled, + WaitingForApproval, + Approved + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ProcessingStateSerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser + { + public global::System.String TypeName => "ProcessingState"; + + public ProcessingState Parse(global::System.String serializedValue) + { + return serializedValue switch + { + "QUEUED" => ProcessingState.Queued, + "READY" => ProcessingState.Ready, + "PROCESSING" => ProcessingState.Processing, + "SUCCESS" => ProcessingState.Success, + "FAILED" => ProcessingState.Failed, + "CANCELLED" => ProcessingState.Cancelled, + "WAITING_FOR_APPROVAL" => ProcessingState.WaitingForApproval, + "APPROVED" => ProcessingState.Approved, + _ => throw new global::StrawberryShake.GraphQLClientException($"String value '{serializedValue}' can't be converted to enum ProcessingState")}; + } + + public global::System.Object Format(global::System.Object? runtimeValue) + { + return runtimeValue switch + { + ProcessingState.Queued => "QUEUED", + ProcessingState.Ready => "READY", + ProcessingState.Processing => "PROCESSING", + ProcessingState.Success => "SUCCESS", + ProcessingState.Failed => "FAILED", + ProcessingState.Cancelled => "CANCELLED", + ProcessingState.WaitingForApproval => "WAITING_FOR_APPROVAL", + ProcessingState.Approved => "APPROVED", + _ => throw new global::StrawberryShake.GraphQLClientException($"Enum ProcessingState value '{runtimeValue}' can't be converted to string")}; + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public enum SchemaChangeSeverity + { + Safe, + Dangerous, + Breaking + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SchemaChangeSeveritySerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser + { + public global::System.String TypeName => "SchemaChangeSeverity"; + + public SchemaChangeSeverity Parse(global::System.String serializedValue) + { + return serializedValue switch + { + "SAFE" => SchemaChangeSeverity.Safe, + "DANGEROUS" => SchemaChangeSeverity.Dangerous, + "BREAKING" => SchemaChangeSeverity.Breaking, + _ => throw new global::StrawberryShake.GraphQLClientException($"String value '{serializedValue}' can't be converted to enum SchemaChangeSeverity")}; + } + + public global::System.Object Format(global::System.Object? runtimeValue) + { + return runtimeValue switch + { + SchemaChangeSeverity.Safe => "SAFE", + SchemaChangeSeverity.Dangerous => "DANGEROUS", + SchemaChangeSeverity.Breaking => "BREAKING", + _ => throw new global::StrawberryShake.GraphQLClientException($"Enum SchemaChangeSeverity value '{runtimeValue}' can't be converted to string")}; + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public enum DirectiveLocation + { + Query, + Mutation, + Subscription, + Field, + FragmentDefinition, + FragmentSpread, + InlineFragment, + VariableDefinition, + Schema, + Scalar, + Object, + FieldDefinition, + ArgumentDefinition, + Interface, + Union, + Enum, + EnumValue, + InputObject, + InputFieldDefinition + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DirectiveLocationSerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser + { + public global::System.String TypeName => "DirectiveLocation"; + + public DirectiveLocation Parse(global::System.String serializedValue) + { + return serializedValue switch + { + "QUERY" => DirectiveLocation.Query, + "MUTATION" => DirectiveLocation.Mutation, + "SUBSCRIPTION" => DirectiveLocation.Subscription, + "FIELD" => DirectiveLocation.Field, + "FRAGMENT_DEFINITION" => DirectiveLocation.FragmentDefinition, + "FRAGMENT_SPREAD" => DirectiveLocation.FragmentSpread, + "INLINE_FRAGMENT" => DirectiveLocation.InlineFragment, + "VARIABLE_DEFINITION" => DirectiveLocation.VariableDefinition, + "SCHEMA" => DirectiveLocation.Schema, + "SCALAR" => DirectiveLocation.Scalar, + "OBJECT" => DirectiveLocation.Object, + "FIELD_DEFINITION" => DirectiveLocation.FieldDefinition, + "ARGUMENT_DEFINITION" => DirectiveLocation.ArgumentDefinition, + "INTERFACE" => DirectiveLocation.Interface, + "UNION" => DirectiveLocation.Union, + "ENUM" => DirectiveLocation.Enum, + "ENUM_VALUE" => DirectiveLocation.EnumValue, + "INPUT_OBJECT" => DirectiveLocation.InputObject, + "INPUT_FIELD_DEFINITION" => DirectiveLocation.InputFieldDefinition, + _ => throw new global::StrawberryShake.GraphQLClientException($"String value '{serializedValue}' can't be converted to enum DirectiveLocation")}; + } + + public global::System.Object Format(global::System.Object? runtimeValue) + { + return runtimeValue switch + { + DirectiveLocation.Query => "QUERY", + DirectiveLocation.Mutation => "MUTATION", + DirectiveLocation.Subscription => "SUBSCRIPTION", + DirectiveLocation.Field => "FIELD", + DirectiveLocation.FragmentDefinition => "FRAGMENT_DEFINITION", + DirectiveLocation.FragmentSpread => "FRAGMENT_SPREAD", + DirectiveLocation.InlineFragment => "INLINE_FRAGMENT", + DirectiveLocation.VariableDefinition => "VARIABLE_DEFINITION", + DirectiveLocation.Schema => "SCHEMA", + DirectiveLocation.Scalar => "SCALAR", + DirectiveLocation.Object => "OBJECT", + DirectiveLocation.FieldDefinition => "FIELD_DEFINITION", + DirectiveLocation.ArgumentDefinition => "ARGUMENT_DEFINITION", + DirectiveLocation.Interface => "INTERFACE", + DirectiveLocation.Union => "UNION", + DirectiveLocation.Enum => "ENUM", + DirectiveLocation.EnumValue => "ENUM_VALUE", + DirectiveLocation.InputObject => "INPUT_OBJECT", + DirectiveLocation.InputFieldDefinition => "INPUT_FIELD_DEFINITION", + _ => throw new global::StrawberryShake.GraphQLClientException($"Enum DirectiveLocation value '{runtimeValue}' can't be converted to string")}; + } + } + + /// + /// Represents the operation service of the CreateApiKeyCommandMutation GraphQL operation + /// + /// mutation CreateApiKeyCommandMutation($input: CreateApiKeyInput!) { + /// createApiKey(input: $input) { + /// __typename + /// result { + /// __typename + /// key { + /// __typename + /// ... CreateApiKeyCommandMutation_ApiKey + /// } + /// secret + /// } + /// errors { + /// __typename + /// ... ApiNotFoundError + /// ... WorkspaceNotFound + /// ... PersonalWorkspaceNotSupportedError + /// ... ValidationError + /// ... RoleNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment CreateApiKeyCommandMutation_ApiKey on ApiKey { + /// id + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment WorkspaceNotFound on WorkspaceNotFound { + /// __typename + /// message + /// workspaceId + /// ... Error + /// } + /// + /// fragment PersonalWorkspaceNotSupportedError on PersonalWorkspaceNotSupportedError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ValidationError on ValidationError { + /// __typename + /// message + /// errors { + /// __typename + /// message + /// } + /// ... Error + /// } + /// + /// fragment RoleNotFoundError on RoleNotFoundError { + /// __typename + /// message + /// roleId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private CreateApiKeyCommandMutationMutationDocument() + { + } + + public static CreateApiKeyCommandMutationMutationDocument Instance { get; } = new CreateApiKeyCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "992b8ab9fd5e45569fda61f616659e1a"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CreateApiKeyCommandMutation GraphQL operation + /// + /// mutation CreateApiKeyCommandMutation($input: CreateApiKeyInput!) { + /// createApiKey(input: $input) { + /// __typename + /// result { + /// __typename + /// key { + /// __typename + /// ... CreateApiKeyCommandMutation_ApiKey + /// } + /// secret + /// } + /// errors { + /// __typename + /// ... ApiNotFoundError + /// ... WorkspaceNotFound + /// ... PersonalWorkspaceNotSupportedError + /// ... ValidationError + /// ... RoleNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment CreateApiKeyCommandMutation_ApiKey on ApiKey { + /// id + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment WorkspaceNotFound on WorkspaceNotFound { + /// __typename + /// message + /// workspaceId + /// ... Error + /// } + /// + /// fragment PersonalWorkspaceNotSupportedError on PersonalWorkspaceNotSupportedError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ValidationError on ValidationError { + /// __typename + /// message + /// errors { + /// __typename + /// message + /// } + /// ... Error + /// } + /// + /// fragment RoleNotFoundError on RoleNotFoundError { + /// __typename + /// message + /// roleId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createApiKeyInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreateApiKeyCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _createApiKeyInputFormatter = serializerResolver.GetInputValueFormatter("CreateApiKeyInput"); + } + + private CreateApiKeyCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createApiKeyInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _createApiKeyInputFormatter = createApiKeyInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateApiKeyCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createApiKeyInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CreateApiKeyCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateApiKeyCommandMutation", document: CreateApiKeyCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _createApiKeyInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the CreateApiKeyCommandMutation GraphQL operation + /// + /// mutation CreateApiKeyCommandMutation($input: CreateApiKeyInput!) { + /// createApiKey(input: $input) { + /// __typename + /// result { + /// __typename + /// key { + /// __typename + /// ... CreateApiKeyCommandMutation_ApiKey + /// } + /// secret + /// } + /// errors { + /// __typename + /// ... ApiNotFoundError + /// ... WorkspaceNotFound + /// ... PersonalWorkspaceNotSupportedError + /// ... ValidationError + /// ... RoleNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment CreateApiKeyCommandMutation_ApiKey on ApiKey { + /// id + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment WorkspaceNotFound on WorkspaceNotFound { + /// __typename + /// message + /// workspaceId + /// ... Error + /// } + /// + /// fragment PersonalWorkspaceNotSupportedError on PersonalWorkspaceNotSupportedError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ValidationError on ValidationError { + /// __typename + /// message + /// errors { + /// __typename + /// message + /// } + /// ... Error + /// } + /// + /// fragment RoleNotFoundError on RoleNotFoundError { + /// __typename + /// message + /// roleId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the DeleteApiKeyCommandMutation GraphQL operation + /// + /// mutation DeleteApiKeyCommandMutation($input: DeleteApiKeyInput!) { + /// deleteApiKey(input: $input) { + /// __typename + /// apiKey { + /// __typename + /// ... DeleteApiKeyCommand_ApiKey + /// } + /// errors { + /// __typename + /// ... ApiKeyNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment DeleteApiKeyCommand_ApiKey on ApiKey { + /// id + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment ApiKeyNotFoundError on ApiKeyNotFoundError { + /// __typename + /// message + /// apiKeyId + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private DeleteApiKeyCommandMutationMutationDocument() + { + } + + public static DeleteApiKeyCommandMutationMutationDocument Instance { get; } = new DeleteApiKeyCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "d9c3122efc6baad1e0bfd610a4503566"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the DeleteApiKeyCommandMutation GraphQL operation + /// + /// mutation DeleteApiKeyCommandMutation($input: DeleteApiKeyInput!) { + /// deleteApiKey(input: $input) { + /// __typename + /// apiKey { + /// __typename + /// ... DeleteApiKeyCommand_ApiKey + /// } + /// errors { + /// __typename + /// ... ApiKeyNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment DeleteApiKeyCommand_ApiKey on ApiKey { + /// id + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment ApiKeyNotFoundError on ApiKeyNotFoundError { + /// __typename + /// message + /// apiKeyId + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _deleteApiKeyInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public DeleteApiKeyCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _deleteApiKeyInputFormatter = serializerResolver.GetInputValueFormatter("DeleteApiKeyInput"); + } + + private DeleteApiKeyCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter deleteApiKeyInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _deleteApiKeyInputFormatter = deleteApiKeyInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteApiKeyCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyCommandMutationMutation(_operationExecutor, _configure.Add(configure), _deleteApiKeyInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: DeleteApiKeyCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteApiKeyCommandMutation", document: DeleteApiKeyCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _deleteApiKeyInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the DeleteApiKeyCommandMutation GraphQL operation + /// + /// mutation DeleteApiKeyCommandMutation($input: DeleteApiKeyInput!) { + /// deleteApiKey(input: $input) { + /// __typename + /// apiKey { + /// __typename + /// ... DeleteApiKeyCommand_ApiKey + /// } + /// errors { + /// __typename + /// ... ApiKeyNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment DeleteApiKeyCommand_ApiKey on ApiKey { + /// id + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment ApiKeyNotFoundError on ApiKeyNotFoundError { + /// __typename + /// message + /// apiKeyId + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ListApiKeyCommandQuery GraphQL operation + /// + /// query ListApiKeyCommandQuery($workspaceId: ID!, $after: String, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// apiKeys(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListApiKeyCommand_ApiKeyEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListApiKeyCommand_ApiKeyEdge on ApiKeysEdge { + /// cursor + /// node { + /// __typename + /// ... ListApiKeyCommand_ApiKey + /// } + /// } + /// + /// fragment ListApiKeyCommand_ApiKey on ApiKey { + /// id + /// name + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListApiKeyCommandQueryQueryDocument() + { + } + + public static ListApiKeyCommandQueryQueryDocument Instance { get; } = new ListApiKeyCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "73d47ef547275fb8b3364106fa956029"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ListApiKeyCommandQuery GraphQL operation + /// + /// query ListApiKeyCommandQuery($workspaceId: ID!, $after: String, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// apiKeys(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListApiKeyCommand_ApiKeyEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListApiKeyCommand_ApiKeyEdge on ApiKeysEdge { + /// cursor + /// node { + /// __typename + /// ... ListApiKeyCommand_ApiKey + /// } + /// } + /// + /// fragment ListApiKeyCommand_ApiKey on ApiKey { + /// id + /// name + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListApiKeyCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListApiKeyCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _intFormatter = @intFormatter; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListApiKeyCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListApiKeyCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _intFormatter, _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListApiKeyCommandQueryQueryDocument.Instance.Hash.Value, name: "ListApiKeyCommandQuery", document: ListApiKeyCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ListApiKeyCommandQuery GraphQL operation + /// + /// query ListApiKeyCommandQuery($workspaceId: ID!, $after: String, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// apiKeys(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListApiKeyCommand_ApiKeyEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListApiKeyCommand_ApiKeyEdge on ApiKeysEdge { + /// cursor + /// node { + /// __typename + /// ... ListApiKeyCommand_ApiKey + /// } + /// } + /// + /// fragment ListApiKeyCommand_ApiKey on ApiKey { + /// id + /// name + /// ... ApiKeyDetailPrompt_ApiKey + /// } + /// + /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiKeyCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the CreateApiCommandMutation GraphQL operation + /// + /// mutation CreateApiCommandMutation($workspaceId: ID!, $path: [String!]!, $name: String!, $kind: ApiKind) { + /// pushWorkspaceChanges(input: { changes: [ { api: { create: { name: $name, path: $path, referenceId: "api", workspaceId: $workspaceId, kind: $kind } } } ] }) { + /// __typename + /// changes { + /// __typename + /// referenceId + /// error { + /// __typename + /// ... Error + /// } + /// result { + /// __typename + /// ... CreateApiCommandMutation_Api + /// } + /// } + /// errors { + /// __typename + /// ... Error + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment CreateApiCommandMutation_Api on Api { + /// name + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private CreateApiCommandMutationMutationDocument() + { + } + + public static CreateApiCommandMutationMutationDocument Instance { get; } = new CreateApiCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "66d4f44040a316fb6a0c2d1ba29de363"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CreateApiCommandMutation GraphQL operation + /// + /// mutation CreateApiCommandMutation($workspaceId: ID!, $path: [String!]!, $name: String!, $kind: ApiKind) { + /// pushWorkspaceChanges(input: { changes: [ { api: { create: { name: $name, path: $path, referenceId: "api", workspaceId: $workspaceId, kind: $kind } } } ] }) { + /// __typename + /// changes { + /// __typename + /// referenceId + /// error { + /// __typename + /// ... Error + /// } + /// result { + /// __typename + /// ... CreateApiCommandMutation_Api + /// } + /// } + /// errors { + /// __typename + /// ... Error + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment CreateApiCommandMutation_Api on Api { + /// name + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _apiKindFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreateApiCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _apiKindFormatter = serializerResolver.GetInputValueFormatter("ApiKind"); + } + + private CreateApiCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter apiKindFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _apiKindFormatter = apiKindFormatter; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateApiCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutationMutation(_operationExecutor, _configure.Add(configure), _apiKindFormatter, _stringFormatter, _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId, path, name, kind); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId, path, name, kind); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + variables.Add("path", FormatPath(path)); + variables.Add("name", FormatName(name)); + variables.Add("kind", FormatKind(kind)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CreateApiCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateApiCommandMutation", document: CreateApiCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatPath(global::System.Collections.Generic.IReadOnlyList value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + var value_list = new global::System.Collections.Generic.List(); + foreach (var value_elm in value) + { + if (value_elm is null) + { + throw new global::System.ArgumentNullException(nameof(value_elm)); + } + + value_list.Add(_stringFormatter.Format(value_elm)); + } + + return value_list; + } + + private global::System.Object? FormatName(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _stringFormatter.Format(value); + } + + private global::System.Object? FormatKind(global::ChilliCream.Nitro.CommandLine.Client.ApiKind? value) + { + if (value is null) + { + return value; + } + else + { + return _apiKindFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the CreateApiCommandMutation GraphQL operation + /// + /// mutation CreateApiCommandMutation($workspaceId: ID!, $path: [String!]!, $name: String!, $kind: ApiKind) { + /// pushWorkspaceChanges(input: { changes: [ { api: { create: { name: $name, path: $path, referenceId: "api", workspaceId: $workspaceId, kind: $kind } } } ] }) { + /// __typename + /// changes { + /// __typename + /// referenceId + /// error { + /// __typename + /// ... Error + /// } + /// result { + /// __typename + /// ... CreateApiCommandMutation_Api + /// } + /// } + /// errors { + /// __typename + /// ... Error + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment CreateApiCommandMutation_Api on Api { + /// name + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the DeleteApiCommandQuery GraphQL operation + /// + /// query DeleteApiCommandQuery($apiId: ID!) { + /// node(id: $apiId) { + /// __typename + /// ... DeleteApiCommandQuery_Api + /// } + /// } + /// + /// fragment DeleteApiCommandQuery_Api on Api { + /// name + /// version + /// workspace { + /// __typename + /// id + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private DeleteApiCommandQueryQueryDocument() + { + } + + public static DeleteApiCommandQueryQueryDocument Instance { get; } = new DeleteApiCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "3b4f426d4f45f7b8d9472110f137e869"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the DeleteApiCommandQuery GraphQL operation + /// + /// query DeleteApiCommandQuery($apiId: ID!) { + /// node(id: $apiId) { + /// __typename + /// ... DeleteApiCommandQuery_Api + /// } + /// } + /// + /// fragment DeleteApiCommandQuery_Api on Api { + /// name + /// version + /// workspace { + /// __typename + /// id + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public DeleteApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + private DeleteApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteApiCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: DeleteApiCommandQueryQueryDocument.Instance.Hash.Value, name: "DeleteApiCommandQuery", document: DeleteApiCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the DeleteApiCommandQuery GraphQL operation + /// + /// query DeleteApiCommandQuery($apiId: ID!) { + /// node(id: $apiId) { + /// __typename + /// ... DeleteApiCommandQuery_Api + /// } + /// } + /// + /// fragment DeleteApiCommandQuery_Api on Api { + /// name + /// version + /// workspace { + /// __typename + /// id + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the DeleteApiCommandMutation GraphQL operation + /// + /// mutation DeleteApiCommandMutation($apiId: ID!) { + /// deleteApiById(input: { apiId: $apiId }) { + /// __typename + /// api { + /// __typename + /// name + /// ... ApiDetailPrompt_Api + /// } + /// errors { + /// __typename + /// ... Error + /// } + /// } + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private DeleteApiCommandMutationMutationDocument() + { + } + + public static DeleteApiCommandMutationMutationDocument Instance { get; } = new DeleteApiCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "dff3ece7aa10daff0067410c52faf6d7"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the DeleteApiCommandMutation GraphQL operation + /// + /// mutation DeleteApiCommandMutation($apiId: ID!) { + /// deleteApiById(input: { apiId: $apiId }) { + /// __typename + /// api { + /// __typename + /// name + /// ... ApiDetailPrompt_Api + /// } + /// errors { + /// __typename + /// ... Error + /// } + /// } + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public DeleteApiCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + private DeleteApiCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteApiCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandMutationMutation(_operationExecutor, _configure.Add(configure), _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: DeleteApiCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteApiCommandMutation", document: DeleteApiCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the DeleteApiCommandMutation GraphQL operation + /// + /// mutation DeleteApiCommandMutation($apiId: ID!) { + /// deleteApiById(input: { apiId: $apiId }) { + /// __typename + /// api { + /// __typename + /// name + /// ... ApiDetailPrompt_Api + /// } + /// errors { + /// __typename + /// ... Error + /// } + /// } + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ListApiCommandQuery GraphQL operation + /// + /// query ListApiCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// apis(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListApiCommand_ApiEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListApiCommand_ApiEdge on ApisEdge { + /// cursor + /// node { + /// __typename + /// ... ListApiCommand_Api + /// } + /// } + /// + /// fragment ListApiCommand_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListApiCommandQueryQueryDocument() + { + } + + public static ListApiCommandQueryQueryDocument Instance { get; } = new ListApiCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "4457adbf3d9f1a7ca591ced02a6e97c0"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ListApiCommandQuery GraphQL operation + /// + /// query ListApiCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// apis(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListApiCommand_ApiEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListApiCommand_ApiEdge on ApisEdge { + /// cursor + /// node { + /// __typename + /// ... ListApiCommand_Api + /// } + /// } + /// + /// fragment ListApiCommand_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _versionFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _versionFormatter = serializerResolver.GetInputValueFormatter("Version"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter versionFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _versionFormatter = versionFormatter; + _intFormatter = @intFormatter; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListApiCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListApiCommandQueryQuery(_operationExecutor, _configure.Add(configure), _versionFormatter, _intFormatter, _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListApiCommandQueryQueryDocument.Instance.Hash.Value, name: "ListApiCommandQuery", document: ListApiCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _versionFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ListApiCommandQuery GraphQL operation + /// + /// query ListApiCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// apis(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListApiCommand_ApiEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListApiCommand_ApiEdge on ApisEdge { + /// cursor + /// node { + /// __typename + /// ... ListApiCommand_Api + /// } + /// } + /// + /// fragment ListApiCommand_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListApiCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the SetApiSettingsCommandMutation GraphQL operation + /// + /// mutation SetApiSettingsCommandMutation($input: UpdateApiSettingsInput!) { + /// updateApiSettings(input: $input) { + /// __typename + /// api { + /// __typename + /// ... SetApiSettingsCommandMutation_Api + /// } + /// errors { + /// __typename + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// ... Error + /// } + /// } + /// } + /// + /// fragment SetApiSettingsCommandMutation_Api on Api { + /// name + /// path + /// ... SelectApiPrompt_Api + /// } + /// + /// fragment SelectApiPrompt_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private SetApiSettingsCommandMutationMutationDocument() + { + } + + public static SetApiSettingsCommandMutationMutationDocument Instance { get; } = new SetApiSettingsCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "1764f051057ef08b61a865c8e104c057"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the SetApiSettingsCommandMutation GraphQL operation + /// + /// mutation SetApiSettingsCommandMutation($input: UpdateApiSettingsInput!) { + /// updateApiSettings(input: $input) { + /// __typename + /// api { + /// __typename + /// ... SetApiSettingsCommandMutation_Api + /// } + /// errors { + /// __typename + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// ... Error + /// } + /// } + /// } + /// + /// fragment SetApiSettingsCommandMutation_Api on Api { + /// name + /// path + /// ... SelectApiPrompt_Api + /// } + /// + /// fragment SelectApiPrompt_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _updateApiSettingsInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public SetApiSettingsCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _updateApiSettingsInputFormatter = serializerResolver.GetInputValueFormatter("UpdateApiSettingsInput"); + } + + private SetApiSettingsCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter updateApiSettingsInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _updateApiSettingsInputFormatter = updateApiSettingsInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISetApiSettingsCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.SetApiSettingsCommandMutationMutation(_operationExecutor, _configure.Add(configure), _updateApiSettingsInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: SetApiSettingsCommandMutationMutationDocument.Instance.Hash.Value, name: "SetApiSettingsCommandMutation", document: SetApiSettingsCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _updateApiSettingsInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the SetApiSettingsCommandMutation GraphQL operation + /// + /// mutation SetApiSettingsCommandMutation($input: UpdateApiSettingsInput!) { + /// updateApiSettings(input: $input) { + /// __typename + /// api { + /// __typename + /// ... SetApiSettingsCommandMutation_Api + /// } + /// errors { + /// __typename + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// ... Error + /// } + /// } + /// } + /// + /// fragment SetApiSettingsCommandMutation_Api on Api { + /// name + /// path + /// ... SelectApiPrompt_Api + /// } + /// + /// fragment SelectApiPrompt_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetApiSettingsCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ShowApiCommandQuery GraphQL operation + /// + /// query ShowApiCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { + /// __typename + /// ... ApiDetailPrompt_Api + /// } + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ShowApiCommandQueryQueryDocument() + { + } + + public static ShowApiCommandQueryQueryDocument Instance { get; } = new ShowApiCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "0941232cf9cd2c8d7f601407e9d64dbf"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ShowApiCommandQuery GraphQL operation + /// + /// query ShowApiCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { + /// __typename + /// ... ApiDetailPrompt_Api + /// } + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ShowApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + private ShowApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IShowApiCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ShowApiCommandQueryQueryDocument.Instance.Hash.Value, name: "ShowApiCommandQuery", document: ShowApiCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ShowApiCommandQuery GraphQL operation + /// + /// query ShowApiCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { + /// __typename + /// ... ApiDetailPrompt_Api + /// } + /// } + /// + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowApiCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the CreateClientCommandMutation GraphQL operation + /// + /// mutation CreateClientCommandMutation($input: CreateClientInput!) { + /// createClient(input: $input) { + /// __typename + /// client { + /// __typename + /// ... CreateClientCommandMutation_Client + /// } + /// errors { + /// __typename + /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// } + /// } + /// } + /// + /// fragment CreateClientCommandMutation_Client on Client { + /// name + /// id + /// ... ClientDetailPrompt_Client + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private CreateClientCommandMutationMutationDocument() + { + } + + public static CreateClientCommandMutationMutationDocument Instance { get; } = new CreateClientCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "1781486920ef931abe7278a40b70d4cb"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CreateClientCommandMutation GraphQL operation + /// + /// mutation CreateClientCommandMutation($input: CreateClientInput!) { + /// createClient(input: $input) { + /// __typename + /// client { + /// __typename + /// ... CreateClientCommandMutation_Client + /// } + /// errors { + /// __typename + /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// } + /// } + /// } + /// + /// fragment CreateClientCommandMutation_Client on Client { + /// name + /// id + /// ... ClientDetailPrompt_Client + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createClientInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreateClientCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _createClientInputFormatter = serializerResolver.GetInputValueFormatter("CreateClientInput"); + } + + private CreateClientCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createClientInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _createClientInputFormatter = createClientInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateClientCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreateClientCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createClientInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CreateClientCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateClientCommandMutation", document: CreateClientCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _createClientInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the CreateClientCommandMutation GraphQL operation + /// + /// mutation CreateClientCommandMutation($input: CreateClientInput!) { + /// createClient(input: $input) { + /// __typename + /// client { + /// __typename + /// ... CreateClientCommandMutation_Client + /// } + /// errors { + /// __typename + /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// } + /// } + /// } + /// + /// fragment CreateClientCommandMutation_Client on Client { + /// name + /// id + /// ... ClientDetailPrompt_Client + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the DeleteClientByIdCommandMutation GraphQL operation + /// + /// mutation DeleteClientByIdCommandMutation($input: DeleteClientByIdInput!) { + /// deleteClientById(input: $input) { + /// __typename + /// client { + /// __typename + /// ... DeleteClientByIdCommandMutation_Client + /// } + /// errors { + /// __typename + /// ... Error + /// ... ClientNotFoundError + /// ... UnauthorizedOperation + /// } + /// } + /// } + /// + /// fragment DeleteClientByIdCommandMutation_Client on Client { + /// name + /// id + /// ... ClientDetailPrompt_Client + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ClientNotFoundError on ClientNotFoundError { + /// message + /// clientId + /// ... Error + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private DeleteClientByIdCommandMutationMutationDocument() + { + } + + public static DeleteClientByIdCommandMutationMutationDocument Instance { get; } = new DeleteClientByIdCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "f450cfe13d84ae3c3768bac9c9fbf8b4"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the DeleteClientByIdCommandMutation GraphQL operation + /// + /// mutation DeleteClientByIdCommandMutation($input: DeleteClientByIdInput!) { + /// deleteClientById(input: $input) { + /// __typename + /// client { + /// __typename + /// ... DeleteClientByIdCommandMutation_Client + /// } + /// errors { + /// __typename + /// ... Error + /// ... ClientNotFoundError + /// ... UnauthorizedOperation + /// } + /// } + /// } + /// + /// fragment DeleteClientByIdCommandMutation_Client on Client { + /// name + /// id + /// ... ClientDetailPrompt_Client + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ClientNotFoundError on ClientNotFoundError { + /// message + /// clientId + /// ... Error + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _deleteClientByIdInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public DeleteClientByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _deleteClientByIdInputFormatter = serializerResolver.GetInputValueFormatter("DeleteClientByIdInput"); + } + + private DeleteClientByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter deleteClientByIdInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _deleteClientByIdInputFormatter = deleteClientByIdInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteClientByIdCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdCommandMutationMutation(_operationExecutor, _configure.Add(configure), _deleteClientByIdInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: DeleteClientByIdCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteClientByIdCommandMutation", document: DeleteClientByIdCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _deleteClientByIdInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the DeleteClientByIdCommandMutation GraphQL operation + /// + /// mutation DeleteClientByIdCommandMutation($input: DeleteClientByIdInput!) { + /// deleteClientById(input: $input) { + /// __typename + /// client { + /// __typename + /// ... DeleteClientByIdCommandMutation_Client + /// } + /// errors { + /// __typename + /// ... Error + /// ... ClientNotFoundError + /// ... UnauthorizedOperation + /// } + /// } + /// } + /// + /// fragment DeleteClientByIdCommandMutation_Client on Client { + /// name + /// id + /// ... ClientDetailPrompt_Client + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ClientNotFoundError on ClientNotFoundError { + /// message + /// clientId + /// ... Error + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ListClientCommandQuery GraphQL operation + /// + /// query ListClientCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// node(id: $apiId) { + /// __typename + /// ... on Api { + /// clients(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// cursor + /// node { + /// __typename + /// id + /// name + /// ... ClientDetailPrompt_Client + /// } + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListClientCommandQueryQueryDocument() + { + } + + public static ListClientCommandQueryQueryDocument Instance { get; } = new ListClientCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "a2a2d861eabc2d4a6f484b396c3e3c8e"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ListClientCommandQuery GraphQL operation + /// + /// query ListClientCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// node(id: $apiId) { + /// __typename + /// ... on Api { + /// clients(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// cursor + /// node { + /// __typename + /// id + /// name + /// ... ClientDetailPrompt_Client + /// } + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListClientCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListClientCommandQueryQueryDocument.Instance.Hash.Value, name: "ListClientCommandQuery", document: ListClientCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ListClientCommandQuery GraphQL operation + /// + /// query ListClientCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// node(id: $apiId) { + /// __typename + /// ... on Api { + /// clients(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// cursor + /// node { + /// __typename + /// id + /// name + /// ... ClientDetailPrompt_Client + /// } + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { + /// __typename + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// } + /// } + /// + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListClientCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the PublishClientVersion GraphQL operation + /// + /// mutation PublishClientVersion($input: PublishClientInput!) { + /// publishClient(input: $input) { + /// __typename + /// id + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... ClientNotFoundError + /// ... ClientVersionNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message + /// name + /// ... Error + /// } + /// + /// fragment ClientNotFoundError on ClientNotFoundError { + /// message + /// clientId + /// ... Error + /// } + /// + /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { + /// tag + /// message + /// clientId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersionMutationDocument : global::StrawberryShake.IDocument + { + private PublishClientVersionMutationDocument() + { + } + + public static PublishClientVersionMutationDocument Instance { get; } = new PublishClientVersionMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "250a3500a6feb1b9b5ce5d47a3a47053"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the PublishClientVersion GraphQL operation + /// + /// mutation PublishClientVersion($input: PublishClientInput!) { + /// publishClient(input: $input) { + /// __typename + /// id + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... ClientNotFoundError + /// ... ClientVersionNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message + /// name + /// ... Error + /// } + /// + /// fragment ClientNotFoundError on ClientNotFoundError { + /// message + /// clientId + /// ... Error + /// } + /// + /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { + /// tag + /// message + /// clientId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersionMutation : global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _publishClientInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public PublishClientVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _publishClientInputFormatter = serializerResolver.GetInputValueFormatter("PublishClientInput"); + } + + private PublishClientVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter publishClientInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _publishClientInputFormatter = publishClientInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishClientVersionResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersionMutation(_operationExecutor, _configure.Add(configure), _publishClientInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: PublishClientVersionMutationDocument.Instance.Hash.Value, name: "PublishClientVersion", document: PublishClientVersionMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _publishClientInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the PublishClientVersion GraphQL operation + /// + /// mutation PublishClientVersion($input: PublishClientInput!) { + /// publishClient(input: $input) { + /// __typename + /// id + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... ClientNotFoundError + /// ... ClientVersionNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message + /// name + /// ... Error + /// } + /// + /// fragment ClientNotFoundError on ClientNotFoundError { + /// message + /// clientId + /// ... Error + /// } + /// + /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { + /// tag + /// message + /// clientId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientVersionMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the OnClientVersionPublishUpdated GraphQL operation + /// + /// subscription OnClientVersionPublishUpdated($requestId: ID!) { + /// onClientVersionPublishingUpdate(requestId: $requestId) { + /// __typename + /// ... ClientVersionPublishFailed + /// ... ClientVersionPublishSuccess + /// ... OperationInProgress + /// ... WaitForApproval + /// ... ProcessingTaskApproved + /// ... ProcessingTaskIsReady + /// ... ProcessingTaskIsQueued + /// } + /// } + /// + /// fragment ClientVersionPublishFailed on ClientVersionPublishFailed { + /// state + /// errors { + /// __typename + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError + /// ... ConcurrentOperationError + /// ... PersistedQueryValidationError + /// } + /// } + /// + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message + /// } + /// + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename + /// message + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// message + /// client { + /// __typename + /// id + /// name + /// } + /// queries { + /// __typename + /// deployedTags + /// message + /// hash + /// errors { + /// __typename + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// } + /// } + /// + /// fragment ClientVersionPublishSuccess on ClientVersionPublishSuccess { + /// state + /// } + /// + /// fragment OperationInProgress on OperationInProgress { + /// state + /// } + /// + /// fragment WaitForApproval on WaitForApproval { + /// state + /// deployment { + /// __typename + /// ... on SchemaDeployment { + /// errors { + /// __typename + /// ... OperationsAreNotAllowedError + /// ... SchemaVersionSyntaxError + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on ClientDeployment { + /// errors { + /// __typename + /// ... PersistedQueryValidationError + /// } + /// } + /// ... on FusionConfigurationDeployment { + /// errors { + /// __typename + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on OpenApiCollectionDeployment { + /// errors { + /// __typename + /// ... OpenApiCollectionValidationError + /// } + /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// } + /// } + /// + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { + /// __typename + /// message + /// } + /// + /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { + /// __typename + /// message + /// column + /// position + /// line + /// } + /// + /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// message + /// changes { + /// __typename + /// ... SchemaChangeLogEntry + /// } + /// } + /// + /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { + /// __typename + /// ... TypeSystemMemberAddedChange + /// ... TypeSystemMemberRemovedChange + /// ... ObjectModifiedChange + /// ... InputObjectModifiedChange + /// ... DirectiveModifiedChange + /// ... ScalarModifiedChange + /// ... EnumModifiedChange + /// ... UnionModifiedChange + /// ... InterfaceModifiedChange + /// ... SchemaChange + /// } + /// + /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment SchemaChange on SchemaChange { + /// severity + /// } + /// + /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment ObjectModifiedChange on ObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// } + /// } + /// + /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment DescriptionChanged on DescriptionChanged { + /// ... SchemaChange + /// old + /// new + /// severity + /// __typename + /// } + /// + /// fragment FieldAddedChange on FieldAddedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment FieldRemovedChange on FieldRemovedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment OutputFieldChanged on OutputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { + /// __typename + /// ... ArgumentRemoved + /// ... ArgumentAdded + /// ... ArgumentChanged + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange + /// } + /// } + /// + /// fragment ArgumentRemoved on ArgumentRemoved { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename + /// } + /// + /// fragment ArgumentAdded on ArgumentAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename + /// } + /// + /// fragment ArgumentChanged on ArgumentChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... DeprecatedChange + /// ... TypeChanged + /// } + /// } + /// + /// fragment DeprecatedChange on DeprecatedChange { + /// ... SchemaChange + /// deprecationReason + /// severity + /// } + /// + /// fragment TypeChanged on TypeChanged { + /// ... SchemaChange + /// oldType + /// newType + /// severity + /// __typename + /// } + /// + /// fragment InputObjectModifiedChange on InputObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... InputFieldChanged + /// } + /// } + /// + /// fragment InputFieldChanged on InputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange + /// } + /// } + /// + /// fragment DirectiveModifiedChange on DirectiveModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DirectiveLocationAdded + /// ... DirectiveLocationRemoved + /// ... DescriptionChanged + /// ... ArgumentRemoved + /// ... ArgumentChanged + /// ... ArgumentAdded + /// } + /// } + /// + /// fragment DirectiveLocationAdded on DirectiveLocationAdded { + /// ... SchemaChange + /// location + /// severity + /// __typename + /// } + /// + /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { + /// ... SchemaChange + /// location + /// severity + /// __typename + /// } + /// + /// fragment ScalarModifiedChange on ScalarModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// } + /// } + /// + /// fragment EnumModifiedChange on EnumModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... EnumValueRemoved + /// ... EnumValueAdded + /// ... EnumValueChanged + /// } + /// } + /// + /// fragment EnumValueRemoved on EnumValueRemoved { + /// ... SchemaChange + /// coordinate + /// severity + /// } + /// + /// fragment EnumValueAdded on EnumValueAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// } + /// + /// fragment EnumValueChanged on EnumValueChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// changes { + /// __typename + /// ... DeprecatedChange + /// ... DescriptionChanged + /// } + /// } + /// + /// fragment UnionModifiedChange on UnionModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... UnionMemberRemoved + /// ... UnionMemberAdded + /// } + /// } + /// + /// fragment UnionMemberRemoved on UnionMemberRemoved { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment UnionMemberAdded on UnionMemberAdded { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment InterfaceModifiedChange on InterfaceModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// ... PossibleTypeAdded + /// ... PossibleTypeRemoved + /// } + /// } + /// + /// fragment PossibleTypeAdded on PossibleTypeAdded { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment PossibleTypeRemoved on PossibleTypeRemoved { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// __typename + /// message + /// errors { + /// __typename + /// message + /// code + /// } + /// } + /// + /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { + /// collections { + /// __typename + /// openApiCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... OpenApiCollectionValidationDocumentError + /// ... OpenApiCollectionValidationEntityValidationError + /// } + /// ... on OpenApiCollectionValidationEndpoint { + /// httpMethod + /// route + /// } + /// ... on OpenApiCollectionValidationModel { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { + /// message + /// } + /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state + /// } + /// + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename + /// } + /// + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdatedSubscriptionDocument : global::StrawberryShake.IDocument + { + private OnClientVersionPublishUpdatedSubscriptionDocument() + { + } + + public static OnClientVersionPublishUpdatedSubscriptionDocument Instance { get; } = new OnClientVersionPublishUpdatedSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "b653a6a4dbd2d797d69ee87b43d3d391"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the OnClientVersionPublishUpdated GraphQL operation + /// + /// subscription OnClientVersionPublishUpdated($requestId: ID!) { + /// onClientVersionPublishingUpdate(requestId: $requestId) { + /// __typename + /// ... ClientVersionPublishFailed + /// ... ClientVersionPublishSuccess + /// ... OperationInProgress + /// ... WaitForApproval + /// ... ProcessingTaskApproved + /// ... ProcessingTaskIsReady + /// ... ProcessingTaskIsQueued + /// } + /// } + /// + /// fragment ClientVersionPublishFailed on ClientVersionPublishFailed { + /// state + /// errors { + /// __typename + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError + /// ... ConcurrentOperationError + /// ... PersistedQueryValidationError + /// } + /// } + /// + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message + /// } + /// + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename + /// message + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// message + /// client { + /// __typename + /// id + /// name + /// } + /// queries { + /// __typename + /// deployedTags + /// message + /// hash + /// errors { + /// __typename + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// } + /// } + /// + /// fragment ClientVersionPublishSuccess on ClientVersionPublishSuccess { + /// state + /// } + /// + /// fragment OperationInProgress on OperationInProgress { + /// state + /// } + /// + /// fragment WaitForApproval on WaitForApproval { + /// state + /// deployment { + /// __typename + /// ... on SchemaDeployment { + /// errors { + /// __typename + /// ... OperationsAreNotAllowedError + /// ... SchemaVersionSyntaxError + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on ClientDeployment { + /// errors { + /// __typename + /// ... PersistedQueryValidationError + /// } + /// } + /// ... on FusionConfigurationDeployment { + /// errors { + /// __typename + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on OpenApiCollectionDeployment { + /// errors { + /// __typename + /// ... OpenApiCollectionValidationError + /// } + /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// } + /// } + /// + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { + /// __typename + /// message + /// } + /// + /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { + /// __typename + /// message + /// column + /// position + /// line + /// } + /// + /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// message + /// changes { + /// __typename + /// ... SchemaChangeLogEntry + /// } + /// } + /// + /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { + /// __typename + /// ... TypeSystemMemberAddedChange + /// ... TypeSystemMemberRemovedChange + /// ... ObjectModifiedChange + /// ... InputObjectModifiedChange + /// ... DirectiveModifiedChange + /// ... ScalarModifiedChange + /// ... EnumModifiedChange + /// ... UnionModifiedChange + /// ... InterfaceModifiedChange + /// ... SchemaChange + /// } + /// + /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment SchemaChange on SchemaChange { + /// severity + /// } + /// + /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment ObjectModifiedChange on ObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// } + /// } + /// + /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment DescriptionChanged on DescriptionChanged { + /// ... SchemaChange + /// old + /// new + /// severity + /// __typename + /// } + /// + /// fragment FieldAddedChange on FieldAddedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment FieldRemovedChange on FieldRemovedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment OutputFieldChanged on OutputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { + /// __typename + /// ... ArgumentRemoved + /// ... ArgumentAdded + /// ... ArgumentChanged + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange + /// } + /// } + /// + /// fragment ArgumentRemoved on ArgumentRemoved { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename + /// } + /// + /// fragment ArgumentAdded on ArgumentAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename + /// } + /// + /// fragment ArgumentChanged on ArgumentChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... DeprecatedChange + /// ... TypeChanged + /// } + /// } + /// + /// fragment DeprecatedChange on DeprecatedChange { + /// ... SchemaChange + /// deprecationReason + /// severity + /// } + /// + /// fragment TypeChanged on TypeChanged { + /// ... SchemaChange + /// oldType + /// newType + /// severity + /// __typename + /// } + /// + /// fragment InputObjectModifiedChange on InputObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... InputFieldChanged + /// } + /// } + /// + /// fragment InputFieldChanged on InputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange + /// } + /// } + /// + /// fragment DirectiveModifiedChange on DirectiveModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DirectiveLocationAdded + /// ... DirectiveLocationRemoved + /// ... DescriptionChanged + /// ... ArgumentRemoved + /// ... ArgumentChanged + /// ... ArgumentAdded + /// } + /// } + /// + /// fragment DirectiveLocationAdded on DirectiveLocationAdded { + /// ... SchemaChange + /// location + /// severity + /// __typename + /// } + /// + /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { + /// ... SchemaChange + /// location + /// severity + /// __typename + /// } + /// + /// fragment ScalarModifiedChange on ScalarModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// } + /// } + /// + /// fragment EnumModifiedChange on EnumModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... EnumValueRemoved + /// ... EnumValueAdded + /// ... EnumValueChanged + /// } + /// } + /// + /// fragment EnumValueRemoved on EnumValueRemoved { + /// ... SchemaChange + /// coordinate + /// severity + /// } + /// + /// fragment EnumValueAdded on EnumValueAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// } + /// + /// fragment EnumValueChanged on EnumValueChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// changes { + /// __typename + /// ... DeprecatedChange + /// ... DescriptionChanged + /// } + /// } + /// + /// fragment UnionModifiedChange on UnionModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... UnionMemberRemoved + /// ... UnionMemberAdded + /// } + /// } + /// + /// fragment UnionMemberRemoved on UnionMemberRemoved { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment UnionMemberAdded on UnionMemberAdded { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment InterfaceModifiedChange on InterfaceModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// ... PossibleTypeAdded + /// ... PossibleTypeRemoved + /// } + /// } + /// + /// fragment PossibleTypeAdded on PossibleTypeAdded { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment PossibleTypeRemoved on PossibleTypeRemoved { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// __typename + /// message + /// errors { + /// __typename + /// message + /// code + /// } + /// } + /// + /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { + /// collections { + /// __typename + /// openApiCollection { + /// __typename /// id - /// ... MockSchemaDetailPrompt + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... OpenApiCollectionValidationDocumentError + /// ... OpenApiCollectionValidationEntityValidationError + /// } + /// ... on OpenApiCollectionValidationEndpoint { + /// httpMethod + /// route + /// } + /// ... on OpenApiCollectionValidationModel { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { + /// message + /// } + /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state + /// } + /// + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename + /// } + /// + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdatedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public OnClientVersionPublishUpdatedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnClientVersionPublishUpdatedResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: OnClientVersionPublishUpdatedSubscriptionDocument.Instance.Hash.Value, name: "OnClientVersionPublishUpdated", document: OnClientVersionPublishUpdatedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the OnClientVersionPublishUpdated GraphQL operation + /// + /// subscription OnClientVersionPublishUpdated($requestId: ID!) { + /// onClientVersionPublishingUpdate(requestId: $requestId) { + /// __typename + /// ... ClientVersionPublishFailed + /// ... ClientVersionPublishSuccess + /// ... OperationInProgress + /// ... WaitForApproval + /// ... ProcessingTaskApproved + /// ... ProcessingTaskIsReady + /// ... ProcessingTaskIsQueued + /// } + /// } + /// + /// fragment ClientVersionPublishFailed on ClientVersionPublishFailed { + /// state + /// errors { + /// __typename + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError + /// ... ConcurrentOperationError + /// ... PersistedQueryValidationError + /// } + /// } + /// + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message + /// } + /// + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename + /// message + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// message + /// client { + /// __typename + /// id + /// name + /// } + /// queries { + /// __typename + /// deployedTags + /// message + /// hash /// errors { /// __typename - /// ... ApiNotFoundError - /// ... MockSchemaNonUniqueNameError + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// } /// } /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { + /// fragment ClientVersionPublishSuccess on ClientVersionPublishSuccess { + /// state + /// } + /// + /// fragment OperationInProgress on OperationInProgress { + /// state + /// } + /// + /// fragment WaitForApproval on WaitForApproval { + /// state + /// deployment { /// __typename - /// username + /// ... on SchemaDeployment { + /// errors { + /// __typename + /// ... OperationsAreNotAllowedError + /// ... SchemaVersionSyntaxError + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on ClientDeployment { + /// errors { + /// __typename + /// ... PersistedQueryValidationError + /// } + /// } + /// ... on FusionConfigurationDeployment { + /// errors { + /// __typename + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on OpenApiCollectionDeployment { + /// errors { + /// __typename + /// ... OpenApiCollectionValidationError + /// } + /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } /// } - /// downstreamUrl - /// url /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { /// __typename /// message - /// apiId - /// ... Error /// } /// - /// fragment Error on Error { + /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { + /// __typename /// message + /// column + /// position + /// line /// } /// - /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { - /// __typename + /// fragment SchemaChangeViolationError on SchemaChangeViolationError { /// message - /// name - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchemaMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the UpdateMockSchema GraphQL operation - /// - /// mutation UpdateMockSchema($mockSchemaId: ID!, $baseSchemaFile: Upload, $downstreamUrl: String, $extensionsSchemaFile: Upload, $name: String) { - /// updateMockSchema(input: { id: $mockSchemaId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { + /// changes { /// __typename - /// mockSchema { - /// __typename - /// id - /// ... MockSchemaDetailPrompt - /// } - /// errors { - /// __typename - /// ... MockSchemaNotFoundError - /// ... MockSchemaNonUniqueNameError - /// } + /// ... SchemaChangeLogEntry /// } /// } /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url + /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { + /// __typename + /// ... TypeSystemMemberAddedChange + /// ... TypeSystemMemberRemovedChange + /// ... ObjectModifiedChange + /// ... InputObjectModifiedChange + /// ... DirectiveModifiedChange + /// ... ScalarModifiedChange + /// ... EnumModifiedChange + /// ... UnionModifiedChange + /// ... InterfaceModifiedChange + /// ... SchemaChange /// } /// - /// fragment MockSchemaNotFoundError on MockSchemaNotFoundError { + /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// ... Error /// } /// - /// fragment Error on Error { - /// message + /// fragment SchemaChange on SchemaChange { + /// severity /// } /// - /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// name - /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchemaMutationDocument : global::StrawberryShake.IDocument - { - private UpdateMockSchemaMutationDocument() - { - } - - public static UpdateMockSchemaMutationDocument Instance { get; } = new UpdateMockSchemaMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "b111cbd352fbdf127d499cd8d4f84433"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the UpdateMockSchema GraphQL operation - /// - /// mutation UpdateMockSchema($mockSchemaId: ID!, $baseSchemaFile: Upload, $downstreamUrl: String, $extensionsSchemaFile: Upload, $name: String) { - /// updateMockSchema(input: { id: $mockSchemaId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { + /// + /// fragment ObjectModifiedChange on ObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// mockSchema { - /// __typename - /// id - /// ... MockSchemaDetailPrompt - /// } - /// errors { - /// __typename - /// ... MockSchemaNotFoundError - /// ... MockSchemaNonUniqueNameError - /// } + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged /// } /// } /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url + /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { + /// ... SchemaChange + /// interfaceName + /// severity /// } /// - /// fragment MockSchemaNotFoundError on MockSchemaNotFoundError { + /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment DescriptionChanged on DescriptionChanged { + /// ... SchemaChange + /// old + /// new + /// severity /// __typename - /// message - /// ... Error /// } /// - /// fragment Error on Error { - /// message + /// fragment FieldAddedChange on FieldAddedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity /// } /// - /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// fragment FieldRemovedChange on FieldRemovedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment OutputFieldChanged on OutputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { + /// __typename + /// ... ArgumentRemoved + /// ... ArgumentAdded + /// ... ArgumentChanged + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange + /// } + /// } + /// + /// fragment ArgumentRemoved on ArgumentRemoved { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName /// __typename - /// message + /// } + /// + /// fragment ArgumentAdded on ArgumentAdded { + /// ... SchemaChange + /// coordinate + /// severity /// name - /// ... Error + /// typeName + /// __typename /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchemaMutation : global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public UpdateMockSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - private UpdateMockSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _uploadFormatter = uploadFormatter; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUpdateMockSchemaResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchemaMutation(_operationExecutor, _configure.Add(configure), _uploadFormatter, _stringFormatter, _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(mockSchemaId, baseSchemaFile, downstreamUrl, extensionsSchemaFile, name); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromArgumentBaseSchemaFile(global::System.String path, global::StrawberryShake.Upload? value, global::System.Collections.Generic.Dictionary files) - { - files.Add(path, value is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentExtensionsSchemaFile(global::System.String path, global::StrawberryShake.Upload? value, global::System.Collections.Generic.Dictionary files) - { - files.Add(path, value is global::StrawberryShake.Upload u ? u : null); - } - - public global::System.IObservable> Watch(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(mockSchemaId, baseSchemaFile, downstreamUrl, extensionsSchemaFile, name); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("mockSchemaId", FormatMockSchemaId(mockSchemaId)); - variables.Add("baseSchemaFile", FormatBaseSchemaFile(baseSchemaFile)); - variables.Add("downstreamUrl", FormatDownstreamUrl(downstreamUrl)); - variables.Add("extensionsSchemaFile", FormatExtensionsSchemaFile(extensionsSchemaFile)); - variables.Add("name", FormatName(name)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentBaseSchemaFile("variables.baseSchemaFile", baseSchemaFile, files); - MapFilesFromArgumentExtensionsSchemaFile("variables.extensionsSchemaFile", extensionsSchemaFile, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: UpdateMockSchemaMutationDocument.Instance.Hash.Value, name: "UpdateMockSchema", document: UpdateMockSchemaMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatMockSchemaId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatBaseSchemaFile(global::StrawberryShake.Upload? value) - { - if (value is null) - { - return value; - } - else - { - return _uploadFormatter.Format(value); - } - } - - private global::System.Object? FormatDownstreamUrl(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatExtensionsSchemaFile(global::StrawberryShake.Upload? value) - { - if (value is null) - { - return value; - } - else - { - return _uploadFormatter.Format(value); - } - } - - private global::System.Object? FormatName(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - - /// - /// Represents the operation service of the UpdateMockSchema GraphQL operation - /// - /// mutation UpdateMockSchema($mockSchemaId: ID!, $baseSchemaFile: Upload, $downstreamUrl: String, $extensionsSchemaFile: Upload, $name: String) { - /// updateMockSchema(input: { id: $mockSchemaId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { + /// + /// fragment ArgumentChanged on ArgumentChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// __typename + /// changes { /// __typename - /// mockSchema { - /// __typename - /// id - /// ... MockSchemaDetailPrompt - /// } - /// errors { - /// __typename - /// ... MockSchemaNotFoundError - /// ... MockSchemaNonUniqueNameError - /// } + /// ... DescriptionChanged + /// ... DeprecatedChange + /// ... TypeChanged /// } /// } /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { + /// fragment DeprecatedChange on DeprecatedChange { + /// ... SchemaChange + /// deprecationReason + /// severity + /// } + /// + /// fragment TypeChanged on TypeChanged { + /// ... SchemaChange + /// oldType + /// newType + /// severity + /// __typename + /// } + /// + /// fragment InputObjectModifiedChange on InputObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// username + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... InputFieldChanged /// } - /// modifiedAt - /// modifiedBy { + /// } + /// + /// fragment InputFieldChanged on InputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// username + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } - /// downstreamUrl - /// url /// } /// - /// fragment MockSchemaNotFoundError on MockSchemaNotFoundError { + /// fragment DirectiveModifiedChange on DirectiveModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// ... Error + /// changes { + /// __typename + /// ... DirectiveLocationAdded + /// ... DirectiveLocationRemoved + /// ... DescriptionChanged + /// ... ArgumentRemoved + /// ... ArgumentChanged + /// ... ArgumentAdded + /// } /// } /// - /// fragment Error on Error { - /// message + /// fragment DirectiveLocationAdded on DirectiveLocationAdded { + /// ... SchemaChange + /// location + /// severity + /// __typename /// } /// - /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { + /// ... SchemaChange + /// location + /// severity /// __typename - /// message - /// name - /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchemaMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the ListMockCommandQuery GraphQL operation - /// - /// query ListMockCommandQuery($apiId: ID!, $after: String, $first: Int) { - /// apiById(id: $apiId) { + /// + /// fragment ScalarModifiedChange on ScalarModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// mockSchemas(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... ListMockCommand_MockEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... DescriptionChanged /// } /// } /// - /// fragment ListMockCommand_MockEdge on MockSchemasEdge { - /// cursor - /// node { + /// fragment EnumModifiedChange on EnumModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// ... ListMockCommand_Mock + /// ... DescriptionChanged + /// ... EnumValueRemoved + /// ... EnumValueAdded + /// ... EnumValueChanged /// } /// } /// - /// fragment ListMockCommand_Mock on MockSchema { - /// id - /// name - /// ... MockSchemaDetailPrompt + /// fragment EnumValueRemoved on EnumValueRemoved { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { + /// fragment EnumValueAdded on EnumValueAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// } + /// + /// fragment EnumValueChanged on EnumValueChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// changes { /// __typename - /// username + /// ... DeprecatedChange + /// ... DescriptionChanged /// } - /// modifiedAt - /// modifiedBy { + /// } + /// + /// fragment UnionModifiedChange on UnionModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// username + /// ... DescriptionChanged + /// ... UnionMemberRemoved + /// ... UnionMemberAdded /// } - /// downstreamUrl - /// url /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment UnionMemberRemoved on UnionMemberRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListMockCommandQueryQueryDocument() - { - } - - public static ListMockCommandQueryQueryDocument Instance { get; } = new ListMockCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "1b7ebd5e95b4f31767e0271f30d34242"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ListMockCommandQuery GraphQL operation - /// - /// query ListMockCommandQuery($apiId: ID!, $after: String, $first: Int) { - /// apiById(id: $apiId) { + /// + /// fragment UnionMemberAdded on UnionMemberAdded { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment InterfaceModifiedChange on InterfaceModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// mockSchemas(after: $after, first: $first) { + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// ... PossibleTypeAdded + /// ... PossibleTypeRemoved + /// } + /// } + /// + /// fragment PossibleTypeAdded on PossibleTypeAdded { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment PossibleTypeRemoved on PossibleTypeRemoved { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// __typename + /// message + /// errors { + /// __typename + /// message + /// code + /// } + /// } + /// + /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { + /// collections { + /// __typename + /// openApiCollection { /// __typename - /// edges { - /// __typename - /// ... ListMockCommand_MockEdge - /// } - /// pageInfo { + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { /// __typename - /// ... PageInfo + /// ... OpenApiCollectionValidationDocumentError + /// ... OpenApiCollectionValidationEntityValidationError + /// } + /// ... on OpenApiCollectionValidationEndpoint { + /// httpMethod + /// route + /// } + /// ... on OpenApiCollectionValidationModel { + /// name /// } /// } /// } /// } /// - /// fragment ListMockCommand_MockEdge on MockSchemasEdge { - /// cursor - /// node { + /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { /// __typename - /// ... ListMockCommand_Mock + /// column + /// line /// } /// } /// - /// fragment ListMockCommand_Mock on MockSchema { - /// id - /// name - /// ... MockSchemaDetailPrompt - /// } - /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url + /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { + /// message /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListMockCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private ListMockCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListMockCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListMockCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListMockCommandQueryQueryDocument.Instance.Hash.Value, name: "ListMockCommandQuery", document: ListMockCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the ListMockCommandQuery GraphQL operation - /// - /// query ListMockCommandQuery($apiId: ID!, $after: String, $first: Int) { - /// apiById(id: $apiId) { + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// mockSchemas(after: $after, first: $first) { + /// mcpFeatureCollection { /// __typename - /// edges { + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { /// __typename - /// ... ListMockCommand_MockEdge + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError /// } - /// pageInfo { - /// __typename - /// ... PageInfo + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name /// } /// } /// } /// } /// - /// fragment ListMockCommand_MockEdge on MockSchemasEdge { - /// cursor - /// node { + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { /// __typename - /// ... ListMockCommand_Mock + /// column + /// line /// } /// } /// - /// fragment ListMockCommand_Mock on MockSchema { - /// id - /// name - /// ... MockSchemaDetailPrompt + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message /// } /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename + /// } + /// + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListMockCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionPublishUpdatedSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the ShowClientCommandQuery GraphQL operation /// @@ -115448,28 +142830,28 @@ public partial interface IListMockCommandQueryQuery : global::StrawberryShake.IO /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ShowClientCommandQueryQueryDocument() - { - } - - public static ShowClientCommandQueryQueryDocument Instance { get; } = new ShowClientCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "202e2ae2330c6b4feffd8347e5769aba"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ShowClientCommandQueryQueryDocument() + { + } + + public static ShowClientCommandQueryQueryDocument Instance { get; } = new ShowClientCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "202e2ae2330c6b4feffd8347e5769aba"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the ShowClientCommandQuery GraphQL operation /// @@ -115520,87 +142902,87 @@ private ShowClientCommandQueryQueryDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ShowClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - private ShowClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IShowClientCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String clientId, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(clientId); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String clientId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(clientId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String clientId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("clientId", FormatClientId(clientId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ShowClientCommandQueryQueryDocument.Instance.Hash.Value, name: "ShowClientCommandQuery", document: ShowClientCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatClientId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ShowClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + private ShowClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IShowClientCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String clientId, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(clientId); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String clientId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(clientId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String clientId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("clientId", FormatClientId(clientId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ShowClientCommandQueryQueryDocument.Instance.Hash.Value, name: "ShowClientCommandQuery", document: ShowClientCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatClientId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the ShowClientCommandQuery GraphQL operation /// @@ -115651,245 +143033,16 @@ private ShowClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowClientCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String clientId, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String clientId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the UnpublishClient GraphQL operation - /// - /// mutation UnpublishClient($input: UnpublishClientInput!) { - /// unpublishClient(input: $input) { - /// __typename - /// clientVersion { - /// __typename - /// id - /// client { - /// __typename - /// name - /// } - /// } - /// errors { - /// __typename - /// ... ConcurrentOperationError - /// ... StageNotFoundError - /// ... ClientVersionNotFoundError - /// ... UnauthorizedOperation - /// ... ClientNotFoundError - /// ... Error - /// } - /// } - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename - /// message - /// name - /// ... Error - /// } - /// - /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { - /// tag - /// message - /// clientId - /// ... Error - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ClientNotFoundError on ClientNotFoundError { - /// message - /// clientId - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClientMutationDocument : global::StrawberryShake.IDocument - { - private UnpublishClientMutationDocument() - { - } - - public static UnpublishClientMutationDocument Instance { get; } = new UnpublishClientMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "c6d62ca62c529e9795322ced95b5c1a8"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the UnpublishClient GraphQL operation - /// - /// mutation UnpublishClient($input: UnpublishClientInput!) { - /// unpublishClient(input: $input) { - /// __typename - /// clientVersion { - /// __typename - /// id - /// client { - /// __typename - /// name - /// } - /// } - /// errors { - /// __typename - /// ... ConcurrentOperationError - /// ... StageNotFoundError - /// ... ClientVersionNotFoundError - /// ... UnauthorizedOperation - /// ... ClientNotFoundError - /// ... Error - /// } - /// } - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename - /// message - /// name - /// ... Error - /// } - /// - /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { - /// tag - /// message - /// clientId - /// ... Error - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ClientNotFoundError on ClientNotFoundError { - /// message - /// clientId - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClientMutation : global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _unpublishClientInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public UnpublishClientMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _unpublishClientInputFormatter = serializerResolver.GetInputValueFormatter("UnpublishClientInput"); - } - - private UnpublishClientMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter unpublishClientInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _unpublishClientInputFormatter = unpublishClientInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUnpublishClientResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientMutation(_operationExecutor, _configure.Add(configure), _unpublishClientInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: UnpublishClientMutationDocument.Instance.Hash.Value, name: "UnpublishClient", document: UnpublishClientMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _unpublishClientInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowClientCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String clientId, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String clientId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the UnpublishClient GraphQL operation /// @@ -115916,414 +143069,7 @@ private UnpublishClientMutation(global::StrawberryShake.IOperationExecutor - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClientMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the UploadClient GraphQL operation - /// - /// mutation UploadClient($input: UploadClientInput!) { - /// uploadClient(input: $input) { - /// __typename - /// clientVersion { - /// __typename - /// id - /// } - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... ClientNotFoundError - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... Error - /// } - /// } - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment ClientNotFoundError on ClientNotFoundError { - /// message - /// clientId - /// ... Error - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClientMutationDocument : global::StrawberryShake.IDocument - { - private UploadClientMutationDocument() - { - } - - public static UploadClientMutationDocument Instance { get; } = new UploadClientMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "07c3c01d9752c92ac4dfe838c5ae069d"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the UploadClient GraphQL operation - /// - /// mutation UploadClient($input: UploadClientInput!) { - /// uploadClient(input: $input) { - /// __typename - /// clientVersion { - /// __typename - /// id - /// } - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... ClientNotFoundError - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... Error - /// } - /// } - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment ClientNotFoundError on ClientNotFoundError { - /// message - /// clientId - /// ... Error - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClientMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadClientInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public UploadClientMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _uploadClientInputFormatter = serializerResolver.GetInputValueFormatter("UploadClientInput"); - } - - private UploadClientMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadClientInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _uploadClientInputFormatter = uploadClientInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadClientResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.UploadClientMutation(_operationExecutor, _configure.Add(configure), _uploadClientInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeUploadClientInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput value, global::System.Collections.Generic.Dictionary files) - { - var pathOperations = path + ".operations"; - var valueOperations = value.Operations; - files.Add(pathOperations, valueOperations is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeUploadClientInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: UploadClientMutationDocument.Instance.Hash.Value, name: "UploadClient", document: UploadClientMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _uploadClientInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - - /// - /// Represents the operation service of the UploadClient GraphQL operation - /// - /// mutation UploadClient($input: UploadClientInput!) { - /// uploadClient(input: $input) { - /// __typename - /// clientVersion { - /// __typename - /// id - /// } - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... ClientNotFoundError - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... Error - /// } - /// } - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment ClientNotFoundError on ClientNotFoundError { - /// message - /// clientId - /// ... Error - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClientMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the ValidateClientVersion GraphQL operation - /// - /// mutation ValidateClientVersion($input: ValidateClientInput!) { - /// validateClient(input: $input) { - /// __typename - /// id - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... StageNotFoundError - /// ... ClientNotFoundError - /// ... Error - /// } - /// } - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename - /// message - /// name - /// ... Error - /// } - /// - /// fragment ClientNotFoundError on ClientNotFoundError { - /// message - /// clientId - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersionMutationDocument : global::StrawberryShake.IDocument - { - private ValidateClientVersionMutationDocument() - { - } - - public static ValidateClientVersionMutationDocument Instance { get; } = new ValidateClientVersionMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "fc0b2ca98ba95caa6eadb2f1b725006f"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ValidateClientVersion GraphQL operation - /// - /// mutation ValidateClientVersion($input: ValidateClientInput!) { - /// validateClient(input: $input) { - /// __typename - /// id - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... StageNotFoundError - /// ... ClientNotFoundError - /// ... Error - /// } - /// } - /// } - /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment ConcurrentOperationError on ConcurrentOperationError { /// __typename /// message /// ... Error @@ -116340,6 +143086,19 @@ private ValidateClientVersionMutationDocument() /// ... Error /// } /// + /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { + /// tag + /// message + /// clientId + /// ... Error + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// /// fragment ClientNotFoundError on ClientNotFoundError { /// message /// clientId @@ -116347,122 +143106,55 @@ private ValidateClientVersionMutationDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersionMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateClientInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ValidateClientVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _validateClientInputFormatter = serializerResolver.GetInputValueFormatter("ValidateClientInput"); - } - - private ValidateClientVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateClientInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _validateClientInputFormatter = validateClientInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateClientVersionResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ValidateClientVersionMutation(_operationExecutor, _configure.Add(configure), _validateClientInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeValidateClientInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput value, global::System.Collections.Generic.Dictionary files) - { - var pathOperations = path + ".operations"; - var valueOperations = value.Operations; - files.Add(pathOperations, valueOperations is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeValidateClientInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: ValidateClientVersionMutationDocument.Instance.Hash.Value, name: "ValidateClientVersion", document: ValidateClientVersionMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _validateClientInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClientMutationDocument : global::StrawberryShake.IDocument + { + private UnpublishClientMutationDocument() + { + } + + public static UnpublishClientMutationDocument Instance { get; } = new UnpublishClientMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "c6d62ca62c529e9795322ced95b5c1a8"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the ValidateClientVersion GraphQL operation + /// Represents the operation service of the UnpublishClient GraphQL operation /// - /// mutation ValidateClientVersion($input: ValidateClientInput!) { - /// validateClient(input: $input) { + /// mutation UnpublishClient($input: UnpublishClientInput!) { + /// unpublishClient(input: $input) { /// __typename - /// id + /// clientVersion { + /// __typename + /// id + /// client { + /// __typename + /// name + /// } + /// } /// errors { /// __typename - /// ... UnauthorizedOperation + /// ... ConcurrentOperationError /// ... StageNotFoundError + /// ... ClientVersionNotFoundError + /// ... UnauthorizedOperation /// ... ClientNotFoundError /// ... Error /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment ConcurrentOperationError on ConcurrentOperationError { /// __typename /// message /// ... Error @@ -116479,376 +143171,205 @@ private void MapFilesFromArgumentInput(global::System.String path, global::Chill /// ... Error /// } /// - /// fragment ClientNotFoundError on ClientNotFoundError { + /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { + /// tag /// message /// clientId /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientVersionMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the OnClientVersionValidationUpdated GraphQL operation - /// - /// subscription OnClientVersionValidationUpdated($requestId: ID!) { - /// onClientVersionValidationUpdate(requestId: $requestId) { - /// __typename - /// ... ClientVersionValidationFailed - /// ... ClientVersionValidationSuccess - /// ... OperationInProgress - /// ... ValidationInProgress - /// } - /// } - /// - /// fragment ClientVersionValidationFailed on ClientVersionValidationFailed { - /// state - /// errors { - /// __typename - /// ... PersistedQueryValidationError - /// ... ProcessingTimeoutError - /// ... UnexpectedProcessingError - /// } - /// } - /// - /// fragment PersistedQueryValidationError on PersistedQueryValidationError { - /// message - /// client { - /// __typename - /// id - /// name - /// } - /// queries { - /// __typename - /// deployedTags - /// message - /// hash - /// errors { - /// __typename - /// message - /// code - /// path - /// locations { - /// __typename - /// column - /// line - /// } - /// } - /// } - /// } /// - /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message + /// ... Error /// } /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { - /// __typename + /// fragment ClientNotFoundError on ClientNotFoundError { /// message - /// } - /// - /// fragment ClientVersionValidationSuccess on ClientVersionValidationSuccess { - /// state - /// } - /// - /// fragment OperationInProgress on OperationInProgress { - /// state - /// } - /// - /// fragment ValidationInProgress on ValidationInProgress { - /// state + /// clientId + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdatedSubscriptionDocument : global::StrawberryShake.IDocument - { - private OnClientVersionValidationUpdatedSubscriptionDocument() - { - } - - public static OnClientVersionValidationUpdatedSubscriptionDocument Instance { get; } = new OnClientVersionValidationUpdatedSubscriptionDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "7bba9b8a24c252e56c3a8f077ab6c62f"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClientMutation : global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _unpublishClientInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public UnpublishClientMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _unpublishClientInputFormatter = serializerResolver.GetInputValueFormatter("UnpublishClientInput"); + } + + private UnpublishClientMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter unpublishClientInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _unpublishClientInputFormatter = unpublishClientInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUnpublishClientResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientMutation(_operationExecutor, _configure.Add(configure), _unpublishClientInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: UnpublishClientMutationDocument.Instance.Hash.Value, name: "UnpublishClient", document: UnpublishClientMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _unpublishClientInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the OnClientVersionValidationUpdated GraphQL operation + /// Represents the operation service of the UnpublishClient GraphQL operation /// - /// subscription OnClientVersionValidationUpdated($requestId: ID!) { - /// onClientVersionValidationUpdate(requestId: $requestId) { - /// __typename - /// ... ClientVersionValidationFailed - /// ... ClientVersionValidationSuccess - /// ... OperationInProgress - /// ... ValidationInProgress - /// } - /// } - /// - /// fragment ClientVersionValidationFailed on ClientVersionValidationFailed { - /// state - /// errors { - /// __typename - /// ... PersistedQueryValidationError - /// ... ProcessingTimeoutError - /// ... UnexpectedProcessingError - /// } - /// } - /// - /// fragment PersistedQueryValidationError on PersistedQueryValidationError { - /// message - /// client { - /// __typename - /// id - /// name - /// } - /// queries { + /// mutation UnpublishClient($input: UnpublishClientInput!) { + /// unpublishClient(input: $input) { /// __typename - /// deployedTags - /// message - /// hash - /// errors { + /// clientVersion { /// __typename - /// message - /// code - /// path - /// locations { + /// id + /// client { /// __typename - /// column - /// line + /// name /// } /// } + /// errors { + /// __typename + /// ... ConcurrentOperationError + /// ... StageNotFoundError + /// ... ClientVersionNotFoundError + /// ... UnauthorizedOperation + /// ... ClientNotFoundError + /// ... Error + /// } /// } /// } /// - /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// fragment ConcurrentOperationError on ConcurrentOperationError { /// __typename /// message + /// ... Error /// } /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { - /// __typename + /// fragment Error on Error { /// message /// } /// - /// fragment ClientVersionValidationSuccess on ClientVersionValidationSuccess { - /// state - /// } - /// - /// fragment OperationInProgress on OperationInProgress { - /// state - /// } - /// - /// fragment ValidationInProgress on ValidationInProgress { - /// state - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdatedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - public OnClientVersionValidationUpdatedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnClientVersionValidationUpdatedResult); - - public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(requestId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("requestId", FormatRequestId(requestId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: OnClientVersionValidationUpdatedSubscriptionDocument.Instance.Hash.Value, name: "OnClientVersionValidationUpdated", document: OnClientVersionValidationUpdatedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatRequestId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the OnClientVersionValidationUpdated GraphQL operation - /// - /// subscription OnClientVersionValidationUpdated($requestId: ID!) { - /// onClientVersionValidationUpdate(requestId: $requestId) { - /// __typename - /// ... ClientVersionValidationFailed - /// ... ClientVersionValidationSuccess - /// ... OperationInProgress - /// ... ValidationInProgress - /// } - /// } - /// - /// fragment ClientVersionValidationFailed on ClientVersionValidationFailed { - /// state - /// errors { - /// __typename - /// ... PersistedQueryValidationError - /// ... ProcessingTimeoutError - /// ... UnexpectedProcessingError - /// } - /// } - /// - /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename /// message - /// client { - /// __typename - /// id - /// name - /// } - /// queries { - /// __typename - /// deployedTags - /// message - /// hash - /// errors { - /// __typename - /// message - /// code - /// path - /// locations { - /// __typename - /// column - /// line - /// } - /// } - /// } + /// name + /// ... Error /// } /// - /// fragment ProcessingTimeoutError on ProcessingTimeoutError { - /// __typename + /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { + /// tag /// message + /// clientId + /// ... Error /// } /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message + /// ... Error /// } /// - /// fragment ClientVersionValidationSuccess on ClientVersionValidationSuccess { - /// state - /// } - /// - /// fragment OperationInProgress on OperationInProgress { - /// state - /// } - /// - /// fragment ValidationInProgress on ValidationInProgress { - /// state + /// fragment ClientNotFoundError on ClientNotFoundError { + /// message + /// clientId + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionValidationUpdatedSubscription : global::StrawberryShake.IOperationRequestFactory - { - global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClientMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UnpublishClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the DeleteClientByIdCommandMutation GraphQL operation + /// Represents the operation service of the UploadClient GraphQL operation /// - /// mutation DeleteClientByIdCommandMutation($input: DeleteClientByIdInput!) { - /// deleteClientById(input: $input) { + /// mutation UploadClient($input: UploadClientInput!) { + /// uploadClient(input: $input) { /// __typename - /// client { + /// clientVersion { /// __typename - /// ... DeleteClientByIdCommandMutation_Client + /// id /// } /// errors { /// __typename - /// ... Error - /// ... ClientNotFoundError /// ... UnauthorizedOperation + /// ... ClientNotFoundError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... Error /// } /// } /// } /// - /// fragment DeleteClientByIdCommandMutation_Client on Client { - /// name - /// id - /// ... ClientDetailPrompt_Client - /// } - /// - /// fragment ClientDetailPrompt_Client on Client { - /// id - /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { @@ -116861,97 +143382,66 @@ public partial interface IOnClientVersionValidationUpdatedSubscription : global: /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { /// __typename /// message /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private DeleteClientByIdCommandMutationMutationDocument() - { - } - - public static DeleteClientByIdCommandMutationMutationDocument Instance { get; } = new DeleteClientByIdCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "f450cfe13d84ae3c3768bac9c9fbf8b4"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClientMutationDocument : global::StrawberryShake.IDocument + { + private UploadClientMutationDocument() + { + } + + public static UploadClientMutationDocument Instance { get; } = new UploadClientMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "07c3c01d9752c92ac4dfe838c5ae069d"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the DeleteClientByIdCommandMutation GraphQL operation + /// Represents the operation service of the UploadClient GraphQL operation /// - /// mutation DeleteClientByIdCommandMutation($input: DeleteClientByIdInput!) { - /// deleteClientById(input: $input) { + /// mutation UploadClient($input: UploadClientInput!) { + /// uploadClient(input: $input) { /// __typename - /// client { + /// clientVersion { /// __typename - /// ... DeleteClientByIdCommandMutation_Client + /// id /// } /// errors { /// __typename - /// ... Error - /// ... ClientNotFoundError /// ... UnauthorizedOperation + /// ... ClientNotFoundError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... Error /// } /// } /// } /// - /// fragment DeleteClientByIdCommandMutation_Client on Client { - /// name - /// id - /// ... ClientDetailPrompt_Client - /// } - /// - /// fragment ClientDetailPrompt_Client on Client { - /// id - /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { @@ -116964,156 +143454,142 @@ private DeleteClientByIdCommandMutationMutationDocument() /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { /// __typename /// message /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _deleteClientByIdInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public DeleteClientByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _deleteClientByIdInputFormatter = serializerResolver.GetInputValueFormatter("DeleteClientByIdInput"); - } - - private DeleteClientByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter deleteClientByIdInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _deleteClientByIdInputFormatter = deleteClientByIdInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteClientByIdCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdCommandMutationMutation(_operationExecutor, _configure.Add(configure), _deleteClientByIdInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: DeleteClientByIdCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteClientByIdCommandMutation", document: DeleteClientByIdCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _deleteClientByIdInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClientMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadClientInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public UploadClientMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _uploadClientInputFormatter = serializerResolver.GetInputValueFormatter("UploadClientInput"); + } + + private UploadClientMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadClientInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _uploadClientInputFormatter = uploadClientInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadClientResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.UploadClientMutation(_operationExecutor, _configure.Add(configure), _uploadClientInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeUploadClientInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput value, global::System.Collections.Generic.Dictionary files) + { + var pathOperations = path + ".operations"; + var valueOperations = value.Operations; + files.Add(pathOperations, valueOperations is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeUploadClientInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: UploadClientMutationDocument.Instance.Hash.Value, name: "UploadClient", document: UploadClientMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _uploadClientInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + /// - /// Represents the operation service of the DeleteClientByIdCommandMutation GraphQL operation + /// Represents the operation service of the UploadClient GraphQL operation /// - /// mutation DeleteClientByIdCommandMutation($input: DeleteClientByIdInput!) { - /// deleteClientById(input: $input) { + /// mutation UploadClient($input: UploadClientInput!) { + /// uploadClient(input: $input) { /// __typename - /// client { + /// clientVersion { /// __typename - /// ... DeleteClientByIdCommandMutation_Client + /// id /// } /// errors { /// __typename - /// ... Error - /// ... ClientNotFoundError /// ... UnauthorizedOperation + /// ... ClientNotFoundError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... Error /// } /// } /// } /// - /// fragment DeleteClientByIdCommandMutation_Client on Client { - /// name - /// id - /// ... ClientDetailPrompt_Client - /// } - /// - /// fragment ClientDetailPrompt_Client on Client { - /// id - /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { @@ -117126,28 +143602,34 @@ private DeleteClientByIdCommandMutationMutation(global::StrawberryShake.IOperati /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { /// __typename /// message /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClientMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the PublishClientVersion GraphQL operation + /// Represents the operation service of the ValidateClientVersion GraphQL operation /// - /// mutation PublishClientVersion($input: PublishClientInput!) { - /// publishClient(input: $input) { + /// mutation ValidateClientVersion($input: ValidateClientInput!) { + /// validateClient(input: $input) { /// __typename /// id /// errors { @@ -117155,7 +143637,6 @@ public partial interface IDeleteClientByIdCommandMutationMutation : global::Stra /// ... UnauthorizedOperation /// ... StageNotFoundError /// ... ClientNotFoundError - /// ... ClientVersionNotFoundError /// ... Error /// } /// } @@ -117183,42 +143664,35 @@ public partial interface IDeleteClientByIdCommandMutationMutation : global::Stra /// clientId /// ... Error /// } - /// - /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { - /// tag - /// message - /// clientId - /// ... Error - /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersionMutationDocument : global::StrawberryShake.IDocument - { - private PublishClientVersionMutationDocument() - { - } - - public static PublishClientVersionMutationDocument Instance { get; } = new PublishClientVersionMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "250a3500a6feb1b9b5ce5d47a3a47053"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersionMutationDocument : global::StrawberryShake.IDocument + { + private ValidateClientVersionMutationDocument() + { + } + + public static ValidateClientVersionMutationDocument Instance { get; } = new ValidateClientVersionMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "fc0b2ca98ba95caa6eadb2f1b725006f"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the PublishClientVersion GraphQL operation + /// Represents the operation service of the ValidateClientVersion GraphQL operation /// - /// mutation PublishClientVersion($input: PublishClientInput!) { - /// publishClient(input: $input) { + /// mutation ValidateClientVersion($input: ValidateClientInput!) { + /// validateClient(input: $input) { /// __typename /// id /// errors { @@ -117226,7 +143700,6 @@ private PublishClientVersionMutationDocument() /// ... UnauthorizedOperation /// ... StageNotFoundError /// ... ClientNotFoundError - /// ... ClientVersionNotFoundError /// ... Error /// } /// } @@ -117254,101 +143727,111 @@ private PublishClientVersionMutationDocument() /// clientId /// ... Error /// } - /// - /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { - /// tag - /// message - /// clientId - /// ... Error - /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersionMutation : global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _publishClientInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public PublishClientVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _publishClientInputFormatter = serializerResolver.GetInputValueFormatter("PublishClientInput"); - } - - private PublishClientVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter publishClientInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _publishClientInputFormatter = publishClientInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishClientVersionResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersionMutation(_operationExecutor, _configure.Add(configure), _publishClientInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: PublishClientVersionMutationDocument.Instance.Hash.Value, name: "PublishClientVersion", document: PublishClientVersionMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _publishClientInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersionMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateClientInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ValidateClientVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _validateClientInputFormatter = serializerResolver.GetInputValueFormatter("ValidateClientInput"); + } + + private ValidateClientVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateClientInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _validateClientInputFormatter = validateClientInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateClientVersionResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ValidateClientVersionMutation(_operationExecutor, _configure.Add(configure), _validateClientInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeValidateClientInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput value, global::System.Collections.Generic.Dictionary files) + { + var pathOperations = path + ".operations"; + var valueOperations = value.Operations; + files.Add(pathOperations, valueOperations is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeValidateClientInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: ValidateClientVersionMutationDocument.Instance.Hash.Value, name: "ValidateClientVersion", document: ValidateClientVersionMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _validateClientInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + /// - /// Represents the operation service of the PublishClientVersion GraphQL operation + /// Represents the operation service of the ValidateClientVersion GraphQL operation /// - /// mutation PublishClientVersion($input: PublishClientInput!) { - /// publishClient(input: $input) { + /// mutation ValidateClientVersion($input: ValidateClientInput!) { + /// validateClient(input: $input) { /// __typename /// id /// errors { @@ -117356,7 +143839,6 @@ private PublishClientVersionMutation(global::StrawberryShake.IOperationExecutor< /// ... UnauthorizedOperation /// ... StageNotFoundError /// ... ClientNotFoundError - /// ... ClientVersionNotFoundError /// ... Error /// } /// } @@ -117384,72 +143866,41 @@ private PublishClientVersionMutation(global::StrawberryShake.IOperationExecutor< /// clientId /// ... Error /// } - /// - /// fragment ClientVersionNotFoundError on ClientVersionNotFoundError { - /// tag - /// message - /// clientId - /// ... Error - /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientVersionMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientVersionMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the OnClientVersionPublishUpdated GraphQL operation + /// Represents the operation service of the OnClientVersionValidationUpdated GraphQL operation /// - /// subscription OnClientVersionPublishUpdated($requestId: ID!) { - /// onClientVersionPublishingUpdate(requestId: $requestId) { + /// subscription OnClientVersionValidationUpdated($requestId: ID!) { + /// onClientVersionValidationUpdate(requestId: $requestId) { /// __typename - /// ... ClientVersionPublishFailed - /// ... ClientVersionPublishSuccess + /// ... ClientVersionValidationFailed + /// ... ClientVersionValidationSuccess /// ... OperationInProgress - /// ... WaitForApproval - /// ... ProcessingTaskApproved - /// ... ProcessingTaskIsReady - /// ... ProcessingTaskIsQueued + /// ... ValidationInProgress /// } /// } /// - /// fragment ClientVersionPublishFailed on ClientVersionPublishFailed { + /// fragment ClientVersionValidationFailed on ClientVersionValidationFailed { /// state /// errors { /// __typename - /// ... UnexpectedProcessingError - /// ... ProcessingTimeoutError - /// ... ConcurrentOperationError /// ... PersistedQueryValidationError + /// ... ProcessingTimeoutError + /// ... UnexpectedProcessingError /// } /// } /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { - /// __typename - /// message - /// } - /// - /// fragment ProcessingTimeoutError on ProcessingTimeoutError { - /// __typename - /// message - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// /// fragment PersistedQueryValidationError on PersistedQueryValidationError { /// message /// client { @@ -117457,516 +143908,117 @@ public partial interface IPublishClientVersionMutation : global::StrawberryShake /// id /// name /// } - /// queries { - /// __typename - /// deployedTags - /// message - /// hash - /// errors { - /// __typename - /// message - /// code - /// path - /// locations { - /// __typename - /// column - /// line - /// } - /// } - /// } - /// } - /// - /// fragment ClientVersionPublishSuccess on ClientVersionPublishSuccess { - /// state - /// } - /// - /// fragment OperationInProgress on OperationInProgress { - /// state - /// } - /// - /// fragment WaitForApproval on WaitForApproval { - /// state - /// deployment { - /// __typename - /// ... on SchemaDeployment { - /// errors { - /// __typename - /// ... OperationsAreNotAllowedError - /// ... SchemaVersionSyntaxError - /// ... SchemaChangeViolationError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... OpenApiCollectionValidationError - /// } - /// } - /// ... on ClientDeployment { - /// errors { - /// __typename - /// ... PersistedQueryValidationError - /// } - /// } - /// ... on FusionConfigurationDeployment { - /// errors { - /// __typename - /// ... SchemaChangeViolationError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... OpenApiCollectionValidationError - /// } - /// } - /// ... on OpenApiCollectionDeployment { - /// errors { - /// __typename - /// ... OpenApiCollectionValidationError - /// } - /// } - /// } - /// } - /// - /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { - /// __typename - /// message - /// } - /// - /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { - /// __typename - /// message - /// column - /// position - /// line - /// } - /// - /// fragment SchemaChangeViolationError on SchemaChangeViolationError { - /// message - /// changes { - /// __typename - /// ... SchemaChangeLogEntry - /// } - /// } - /// - /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { - /// __typename - /// ... TypeSystemMemberAddedChange - /// ... TypeSystemMemberRemovedChange - /// ... ObjectModifiedChange - /// ... InputObjectModifiedChange - /// ... DirectiveModifiedChange - /// ... ScalarModifiedChange - /// ... EnumModifiedChange - /// ... UnionModifiedChange - /// ... InterfaceModifiedChange - /// ... SchemaChange - /// } - /// - /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// } - /// - /// fragment SchemaChange on SchemaChange { - /// severity - /// } - /// - /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// } - /// - /// fragment ObjectModifiedChange on ObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged - /// } - /// } - /// - /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { - /// ... SchemaChange - /// interfaceName - /// severity - /// } - /// - /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { - /// ... SchemaChange - /// interfaceName - /// severity - /// } - /// - /// fragment DescriptionChanged on DescriptionChanged { - /// ... SchemaChange - /// old - /// new - /// severity - /// __typename - /// } - /// - /// fragment FieldAddedChange on FieldAddedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity - /// } - /// - /// fragment FieldRemovedChange on FieldRemovedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity - /// } - /// - /// fragment OutputFieldChanged on OutputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { - /// __typename - /// ... ArgumentRemoved - /// ... ArgumentAdded - /// ... ArgumentChanged - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange - /// } - /// } - /// - /// fragment ArgumentRemoved on ArgumentRemoved { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// typeName - /// __typename - /// } - /// - /// fragment ArgumentAdded on ArgumentAdded { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// typeName - /// __typename - /// } - /// - /// fragment ArgumentChanged on ArgumentChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// __typename - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... DeprecatedChange - /// ... TypeChanged - /// } - /// } - /// - /// fragment DeprecatedChange on DeprecatedChange { - /// ... SchemaChange - /// deprecationReason - /// severity - /// } - /// - /// fragment TypeChanged on TypeChanged { - /// ... SchemaChange - /// oldType - /// newType - /// severity - /// __typename - /// } - /// - /// fragment InputObjectModifiedChange on InputObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... InputFieldChanged - /// } - /// } - /// - /// fragment InputFieldChanged on InputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange - /// } - /// } - /// - /// fragment DirectiveModifiedChange on DirectiveModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... DirectiveLocationAdded - /// ... DirectiveLocationRemoved - /// ... DescriptionChanged - /// ... ArgumentRemoved - /// ... ArgumentChanged - /// ... ArgumentAdded - /// } - /// } - /// - /// fragment DirectiveLocationAdded on DirectiveLocationAdded { - /// ... SchemaChange - /// location - /// severity - /// __typename - /// } - /// - /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { - /// ... SchemaChange - /// location - /// severity - /// __typename - /// } - /// - /// fragment ScalarModifiedChange on ScalarModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... DescriptionChanged - /// } - /// } - /// - /// fragment EnumModifiedChange on EnumModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... EnumValueRemoved - /// ... EnumValueAdded - /// ... EnumValueChanged - /// } - /// } - /// - /// fragment EnumValueRemoved on EnumValueRemoved { - /// ... SchemaChange - /// coordinate - /// severity - /// } - /// - /// fragment EnumValueAdded on EnumValueAdded { - /// ... SchemaChange - /// coordinate - /// severity - /// } - /// - /// fragment EnumValueChanged on EnumValueChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// changes { - /// __typename - /// ... DeprecatedChange - /// ... DescriptionChanged - /// } - /// } - /// - /// fragment UnionModifiedChange on UnionModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... UnionMemberRemoved - /// ... UnionMemberAdded - /// } - /// } - /// - /// fragment UnionMemberRemoved on UnionMemberRemoved { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment UnionMemberAdded on UnionMemberAdded { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment InterfaceModifiedChange on InterfaceModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged - /// ... PossibleTypeAdded - /// ... PossibleTypeRemoved - /// } - /// } - /// - /// fragment PossibleTypeAdded on PossibleTypeAdded { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment PossibleTypeRemoved on PossibleTypeRemoved { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { - /// __typename - /// message - /// errors { - /// __typename - /// message - /// code - /// } - /// } - /// - /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { - /// collections { - /// __typename - /// openApiCollection { - /// __typename - /// id - /// name - /// } - /// entities { + /// queries { + /// __typename + /// deployedTags + /// message + /// hash + /// errors { /// __typename - /// errors { + /// message + /// code + /// path + /// locations { /// __typename - /// ... OpenApiCollectionValidationDocumentError - /// ... OpenApiCollectionValidationEntityValidationError - /// } - /// ... on OpenApiCollectionValidationEndpoint { - /// httpMethod - /// route - /// } - /// ... on OpenApiCollectionValidationModel { - /// name + /// column + /// line /// } /// } /// } /// } /// - /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { - /// code + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename /// message - /// path - /// locations { - /// __typename - /// column - /// line - /// } /// } /// - /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename /// message /// } /// - /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// fragment ClientVersionValidationSuccess on ClientVersionValidationSuccess { /// state /// } /// - /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { - /// ready: __typename + /// fragment OperationInProgress on OperationInProgress { + /// state /// } /// - /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { - /// queued: __typename - /// queuePosition + /// fragment ValidationInProgress on ValidationInProgress { + /// state /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdatedSubscriptionDocument : global::StrawberryShake.IDocument - { - private OnClientVersionPublishUpdatedSubscriptionDocument() - { - } - - public static OnClientVersionPublishUpdatedSubscriptionDocument Instance { get; } = new OnClientVersionPublishUpdatedSubscriptionDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "9b074c531a248f96a09cb537bc195d0e"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdatedSubscriptionDocument : global::StrawberryShake.IDocument + { + private OnClientVersionValidationUpdatedSubscriptionDocument() + { + } + + public static OnClientVersionValidationUpdatedSubscriptionDocument Instance { get; } = new OnClientVersionValidationUpdatedSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "7bba9b8a24c252e56c3a8f077ab6c62f"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the OnClientVersionPublishUpdated GraphQL operation + /// Represents the operation service of the OnClientVersionValidationUpdated GraphQL operation /// - /// subscription OnClientVersionPublishUpdated($requestId: ID!) { - /// onClientVersionPublishingUpdate(requestId: $requestId) { + /// subscription OnClientVersionValidationUpdated($requestId: ID!) { + /// onClientVersionValidationUpdate(requestId: $requestId) { /// __typename - /// ... ClientVersionPublishFailed - /// ... ClientVersionPublishSuccess + /// ... ClientVersionValidationFailed + /// ... ClientVersionValidationSuccess /// ... OperationInProgress - /// ... WaitForApproval - /// ... ProcessingTaskApproved - /// ... ProcessingTaskIsReady - /// ... ProcessingTaskIsQueued + /// ... ValidationInProgress /// } /// } /// - /// fragment ClientVersionPublishFailed on ClientVersionPublishFailed { + /// fragment ClientVersionValidationFailed on ClientVersionValidationFailed { /// state /// errors { /// __typename - /// ... UnexpectedProcessingError - /// ... ProcessingTimeoutError - /// ... ConcurrentOperationError /// ... PersistedQueryValidationError + /// ... ProcessingTimeoutError + /// ... UnexpectedProcessingError /// } /// } /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { - /// __typename + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { /// message + /// client { + /// __typename + /// id + /// name + /// } + /// queries { + /// __typename + /// deployedTags + /// message + /// hash + /// errors { + /// __typename + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// } /// } /// /// fragment ProcessingTimeoutError on ProcessingTimeoutError { @@ -117974,14 +144026,92 @@ private OnClientVersionPublishUpdatedSubscriptionDocument() /// message /// } /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { /// __typename /// message - /// ... Error /// } /// - /// fragment Error on Error { - /// message + /// fragment ClientVersionValidationSuccess on ClientVersionValidationSuccess { + /// state + /// } + /// + /// fragment OperationInProgress on OperationInProgress { + /// state + /// } + /// + /// fragment ValidationInProgress on ValidationInProgress { + /// state + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdatedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public OnClientVersionValidationUpdatedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnClientVersionValidationUpdatedResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: OnClientVersionValidationUpdatedSubscriptionDocument.Instance.Hash.Value, name: "OnClientVersionValidationUpdated", document: OnClientVersionValidationUpdatedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the OnClientVersionValidationUpdated GraphQL operation + /// + /// subscription OnClientVersionValidationUpdated($requestId: ID!) { + /// onClientVersionValidationUpdate(requestId: $requestId) { + /// __typename + /// ... ClientVersionValidationFailed + /// ... ClientVersionValidationSuccess + /// ... OperationInProgress + /// ... ValidationInProgress + /// } + /// } + /// + /// fragment ClientVersionValidationFailed on ClientVersionValidationFailed { + /// state + /// errors { + /// __typename + /// ... PersistedQueryValidationError + /// ... ProcessingTimeoutError + /// ... UnexpectedProcessingError + /// } /// } /// /// fragment PersistedQueryValidationError on PersistedQueryValidationError { @@ -118010,7 +144140,17 @@ private OnClientVersionPublishUpdatedSubscriptionDocument() /// } /// } /// - /// fragment ClientVersionPublishSuccess on ClientVersionPublishSuccess { + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename + /// message + /// } + /// + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message + /// } + /// + /// fragment ClientVersionValidationSuccess on ClientVersionValidationSuccess { /// state /// } /// @@ -118018,519 +144158,1015 @@ private OnClientVersionPublishUpdatedSubscriptionDocument() /// state /// } /// - /// fragment WaitForApproval on WaitForApproval { + /// fragment ValidationInProgress on ValidationInProgress { /// state - /// deployment { + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnClientVersionValidationUpdatedSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the CreateEnvironmentCommandMutation GraphQL operation + /// + /// mutation CreateEnvironmentCommandMutation($workspaceId: ID!, $name: String!) { + /// pushWorkspaceChanges(input: { changes: [ { environment: { create: { name: $name, referenceId: "env", workspaceId: $workspaceId } } } ] }) { /// __typename - /// ... on SchemaDeployment { - /// errors { + /// changes { + /// __typename + /// referenceId + /// error { /// __typename - /// ... OperationsAreNotAllowedError - /// ... SchemaVersionSyntaxError - /// ... SchemaChangeViolationError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... OpenApiCollectionValidationError + /// ... Error /// } - /// } - /// ... on ClientDeployment { - /// errors { + /// result { /// __typename - /// ... PersistedQueryValidationError + /// ... CreateEnvironmentCommandMutation_Environment /// } /// } - /// ... on FusionConfigurationDeployment { - /// errors { + /// errors { + /// __typename + /// ... Error + /// } + /// } + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment CreateEnvironmentCommandMutation_Environment on Environment { + /// name + /// ... EnvironmentDetailPrompt_Environment + /// } + /// + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private CreateEnvironmentCommandMutationMutationDocument() + { + } + + public static CreateEnvironmentCommandMutationMutationDocument Instance { get; } = new CreateEnvironmentCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "b9c18dd6d50ba180b90f48a77b096216"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CreateEnvironmentCommandMutation GraphQL operation + /// + /// mutation CreateEnvironmentCommandMutation($workspaceId: ID!, $name: String!) { + /// pushWorkspaceChanges(input: { changes: [ { environment: { create: { name: $name, referenceId: "env", workspaceId: $workspaceId } } } ] }) { + /// __typename + /// changes { + /// __typename + /// referenceId + /// error { /// __typename - /// ... SchemaChangeViolationError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... OpenApiCollectionValidationError + /// ... Error /// } - /// } - /// ... on OpenApiCollectionDeployment { - /// errors { + /// result { /// __typename - /// ... OpenApiCollectionValidationError + /// ... CreateEnvironmentCommandMutation_Environment /// } /// } + /// errors { + /// __typename + /// ... Error + /// } /// } /// } /// - /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { - /// __typename + /// fragment Error on Error { /// message /// } /// - /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { - /// __typename - /// message - /// column - /// position - /// line + /// fragment CreateEnvironmentCommandMutation_Environment on Environment { + /// name + /// ... EnvironmentDetailPrompt_Environment /// } /// - /// fragment SchemaChangeViolationError on SchemaChangeViolationError { - /// message - /// changes { + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id + /// name + /// workspace { /// __typename - /// ... SchemaChangeLogEntry + /// name /// } /// } - /// - /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { - /// __typename - /// ... TypeSystemMemberAddedChange - /// ... TypeSystemMemberRemovedChange - /// ... ObjectModifiedChange - /// ... InputObjectModifiedChange - /// ... DirectiveModifiedChange - /// ... ScalarModifiedChange - /// ... EnumModifiedChange - /// ... UnionModifiedChange - /// ... InterfaceModifiedChange - /// ... SchemaChange + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreateEnvironmentCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + private CreateEnvironmentCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateEnvironmentCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutationMutation(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String name, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId, name); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String name, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId, name); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String name) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + variables.Add("name", FormatName(name)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CreateEnvironmentCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateEnvironmentCommandMutation", document: CreateEnvironmentCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatName(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _stringFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the CreateEnvironmentCommandMutation GraphQL operation + /// + /// mutation CreateEnvironmentCommandMutation($workspaceId: ID!, $name: String!) { + /// pushWorkspaceChanges(input: { changes: [ { environment: { create: { name: $name, referenceId: "env", workspaceId: $workspaceId } } } ] }) { + /// __typename + /// changes { + /// __typename + /// referenceId + /// error { + /// __typename + /// ... Error + /// } + /// result { + /// __typename + /// ... CreateEnvironmentCommandMutation_Environment + /// } + /// } + /// errors { + /// __typename + /// ... Error + /// } + /// } /// } /// - /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename + /// fragment Error on Error { + /// message /// } /// - /// fragment SchemaChange on SchemaChange { - /// severity + /// fragment CreateEnvironmentCommandMutation_Environment on Environment { + /// name + /// ... EnvironmentDetailPrompt_Environment /// } /// - /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateEnvironmentCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String name, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::System.String name, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ListEnvironmentCommandQuery GraphQL operation + /// + /// query ListEnvironmentCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// environments(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListEnvironmentCommand_EnvironmentEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } /// } /// - /// fragment ObjectModifiedChange on ObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment ListEnvironmentCommand_EnvironmentEdge on EnvironmentsEdge { + /// cursor + /// node { /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged + /// ... ListEnvironmentCommand_Environment /// } /// } /// - /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { - /// ... SchemaChange - /// interfaceName - /// severity + /// fragment ListEnvironmentCommand_Environment on Environment { + /// id + /// name + /// ... EnvironmentDetailPrompt_Environment /// } /// - /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { - /// ... SchemaChange - /// interfaceName - /// severity + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id + /// name + /// workspace { + /// __typename + /// name + /// } /// } /// - /// fragment DescriptionChanged on DescriptionChanged { - /// ... SchemaChange - /// old - /// new - /// severity - /// __typename + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListEnvironmentCommandQueryQueryDocument() + { + } + + public static ListEnvironmentCommandQueryQueryDocument Instance { get; } = new ListEnvironmentCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "5d5c59c7c2e869cd8e37ec6a854f6d61"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ListEnvironmentCommandQuery GraphQL operation + /// + /// query ListEnvironmentCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// environments(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListEnvironmentCommand_EnvironmentEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } /// } /// - /// fragment FieldAddedChange on FieldAddedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity + /// fragment ListEnvironmentCommand_EnvironmentEdge on EnvironmentsEdge { + /// cursor + /// node { + /// __typename + /// ... ListEnvironmentCommand_Environment + /// } /// } /// - /// fragment FieldRemovedChange on FieldRemovedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity + /// fragment ListEnvironmentCommand_Environment on Environment { + /// id + /// name + /// ... EnvironmentDetailPrompt_Environment /// } /// - /// fragment OutputFieldChanged on OutputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id + /// name + /// workspace { /// __typename - /// ... ArgumentRemoved - /// ... ArgumentAdded - /// ... ArgumentChanged - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange + /// name + /// } + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _versionFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListEnvironmentCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _versionFormatter = serializerResolver.GetInputValueFormatter("Version"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListEnvironmentCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter versionFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _versionFormatter = versionFormatter; + _intFormatter = @intFormatter; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListEnvironmentCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListEnvironmentCommandQueryQuery(_operationExecutor, _configure.Add(configure), _versionFormatter, _intFormatter, _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListEnvironmentCommandQueryQueryDocument.Instance.Hash.Value, name: "ListEnvironmentCommandQuery", document: ListEnvironmentCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _versionFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ListEnvironmentCommandQuery GraphQL operation + /// + /// query ListEnvironmentCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// environments(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListEnvironmentCommand_EnvironmentEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } /// } /// } /// - /// fragment ArgumentRemoved on ArgumentRemoved { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// typeName - /// __typename + /// fragment ListEnvironmentCommand_EnvironmentEdge on EnvironmentsEdge { + /// cursor + /// node { + /// __typename + /// ... ListEnvironmentCommand_Environment + /// } /// } /// - /// fragment ArgumentAdded on ArgumentAdded { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment ListEnvironmentCommand_Environment on Environment { + /// id /// name - /// typeName - /// __typename + /// ... EnvironmentDetailPrompt_Environment /// } /// - /// fragment ArgumentChanged on ArgumentChanged { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id /// name - /// __typename - /// changes { + /// workspace { /// __typename - /// ... DescriptionChanged - /// ... DeprecatedChange - /// ... TypeChanged + /// name /// } /// } /// - /// fragment DeprecatedChange on DeprecatedChange { - /// ... SchemaChange - /// deprecationReason - /// severity - /// } - /// - /// fragment TypeChanged on TypeChanged { - /// ... SchemaChange - /// oldType - /// newType - /// severity - /// __typename + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } - /// - /// fragment InputObjectModifiedChange on InputObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListEnvironmentCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ShowEnvironmentCommandQuery GraphQL operation + /// + /// query ShowEnvironmentCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { /// __typename - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... InputFieldChanged + /// ... EnvironmentDetailPrompt_Environment /// } /// } /// - /// fragment InputFieldChanged on InputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id + /// name + /// workspace { /// __typename - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange + /// name /// } /// } - /// - /// fragment DirectiveModifiedChange on DirectiveModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ShowEnvironmentCommandQueryQueryDocument() + { + } + + public static ShowEnvironmentCommandQueryQueryDocument Instance { get; } = new ShowEnvironmentCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "35993498c755e51178ea417965c3a164"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ShowEnvironmentCommandQuery GraphQL operation + /// + /// query ShowEnvironmentCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { /// __typename - /// ... DirectiveLocationAdded - /// ... DirectiveLocationRemoved - /// ... DescriptionChanged - /// ... ArgumentRemoved - /// ... ArgumentChanged - /// ... ArgumentAdded + /// ... EnvironmentDetailPrompt_Environment /// } /// } /// - /// fragment DirectiveLocationAdded on DirectiveLocationAdded { - /// ... SchemaChange - /// location - /// severity - /// __typename - /// } - /// - /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { - /// ... SchemaChange - /// location - /// severity - /// __typename - /// } - /// - /// fragment ScalarModifiedChange on ScalarModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id + /// name + /// workspace { /// __typename - /// ... DescriptionChanged + /// name /// } /// } - /// - /// fragment EnumModifiedChange on EnumModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ShowEnvironmentCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + private ShowEnvironmentCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IShowEnvironmentCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ShowEnvironmentCommandQueryQueryDocument.Instance.Hash.Value, name: "ShowEnvironmentCommandQuery", document: ShowEnvironmentCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ShowEnvironmentCommandQuery GraphQL operation + /// + /// query ShowEnvironmentCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { /// __typename - /// ... DescriptionChanged - /// ... EnumValueRemoved - /// ... EnumValueAdded - /// ... EnumValueChanged + /// ... EnvironmentDetailPrompt_Environment /// } /// } /// - /// fragment EnumValueRemoved on EnumValueRemoved { - /// ... SchemaChange - /// coordinate - /// severity - /// } - /// - /// fragment EnumValueAdded on EnumValueAdded { - /// ... SchemaChange - /// coordinate - /// severity - /// } - /// - /// fragment EnumValueChanged on EnumValueChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// changes { + /// fragment EnvironmentDetailPrompt_Environment on Environment { + /// id + /// name + /// workspace { /// __typename - /// ... DeprecatedChange - /// ... DescriptionChanged + /// name /// } /// } - /// - /// fragment UnionModifiedChange on UnionModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowEnvironmentCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the FetchConfiguration GraphQL operation + /// + /// query FetchConfiguration($id: ID!, $stage: String!) { + /// fusionConfigurationByApiId(id: $id, stage: $stage) { /// __typename - /// ... DescriptionChanged - /// ... UnionMemberRemoved - /// ... UnionMemberAdded + /// downloadUrl + /// tag /// } /// } - /// - /// fragment UnionMemberRemoved on UnionMemberRemoved { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment UnionMemberAdded on UnionMemberAdded { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment InterfaceModifiedChange on InterfaceModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class FetchConfigurationQueryDocument : global::StrawberryShake.IDocument + { + private FetchConfigurationQueryDocument() + { + } + + public static FetchConfigurationQueryDocument Instance { get; } = new FetchConfigurationQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "3097e85429305b83549a5845054a2148"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the FetchConfiguration GraphQL operation + /// + /// query FetchConfiguration($id: ID!, $stage: String!) { + /// fusionConfigurationByApiId(id: $id, stage: $stage) { /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged - /// ... PossibleTypeAdded - /// ... PossibleTypeRemoved + /// downloadUrl + /// tag /// } /// } - /// - /// fragment PossibleTypeAdded on PossibleTypeAdded { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment PossibleTypeRemoved on PossibleTypeRemoved { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { - /// __typename - /// message - /// errors { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class FetchConfigurationQuery : global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public FetchConfigurationQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + private FetchConfigurationQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + _stringFormatter = @stringFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IFetchConfigurationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.FetchConfigurationQuery(_operationExecutor, _configure.Add(configure), _iDFormatter, _stringFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String id, global::System.String stage, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(id, stage); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String id, global::System.String stage, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(id, stage); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String id, global::System.String stage) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("id", FormatId(id)); + variables.Add("stage", FormatStage(stage)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: FetchConfigurationQueryDocument.Instance.Hash.Value, name: "FetchConfiguration", document: FetchConfigurationQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatStage(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _stringFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the FetchConfiguration GraphQL operation + /// + /// query FetchConfiguration($id: ID!, $stage: String!) { + /// fusionConfigurationByApiId(id: $id, stage: $stage) { /// __typename - /// message - /// code + /// downloadUrl + /// tag /// } /// } - /// - /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { - /// collections { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFetchConfigurationQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String id, global::System.String stage, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String id, global::System.String stage, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the UploadFusionSubgraph GraphQL operation + /// + /// mutation UploadFusionSubgraph($input: UploadFusionSubgraphInput!) { + /// uploadFusionSubgraph(input: $input) { /// __typename - /// openApiCollection { + /// fusionSubgraphVersion { /// __typename /// id - /// name /// } - /// entities { + /// errors { /// __typename - /// errors { - /// __typename - /// ... OpenApiCollectionValidationDocumentError - /// ... OpenApiCollectionValidationEntityValidationError - /// } - /// ... on OpenApiCollectionValidationEndpoint { - /// httpMethod - /// route - /// } - /// ... on OpenApiCollectionValidationModel { - /// name - /// } + /// ... UnauthorizedOperation + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... InvalidFusionSourceSchemaArchiveError + /// ... Error /// } /// } /// } /// - /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { - /// code + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename /// message - /// path - /// locations { - /// __typename - /// column - /// line - /// } + /// ... Error /// } /// - /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { + /// fragment Error on Error { /// message /// } /// - /// fragment ProcessingTaskApproved on ProcessingTaskApproved { - /// state + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error /// } /// - /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { - /// ready: __typename + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error /// } /// - /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { - /// queued: __typename - /// queuePosition + /// fragment InvalidFusionSourceSchemaArchiveError on InvalidFusionSourceSchemaArchiveError { + /// message /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdatedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - public OnClientVersionPublishUpdatedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnClientVersionPublishUpdatedResult); - - public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(requestId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("requestId", FormatRequestId(requestId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: OnClientVersionPublishUpdatedSubscriptionDocument.Instance.Hash.Value, name: "OnClientVersionPublishUpdated", document: OnClientVersionPublishUpdatedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatRequestId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraphMutationDocument : global::StrawberryShake.IDocument + { + private UploadFusionSubgraphMutationDocument() + { + } + + public static UploadFusionSubgraphMutationDocument Instance { get; } = new UploadFusionSubgraphMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "6ad8835f646dd18170a8670d303ed8ae"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the OnClientVersionPublishUpdated GraphQL operation + /// Represents the operation service of the UploadFusionSubgraph GraphQL operation /// - /// subscription OnClientVersionPublishUpdated($requestId: ID!) { - /// onClientVersionPublishingUpdate(requestId: $requestId) { + /// mutation UploadFusionSubgraph($input: UploadFusionSubgraphInput!) { + /// uploadFusionSubgraph(input: $input) { /// __typename - /// ... ClientVersionPublishFailed - /// ... ClientVersionPublishSuccess - /// ... OperationInProgress - /// ... WaitForApproval - /// ... ProcessingTaskApproved - /// ... ProcessingTaskIsReady - /// ... ProcessingTaskIsQueued + /// fusionSubgraphVersion { + /// __typename + /// id + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... InvalidFusionSourceSchemaArchiveError + /// ... Error + /// } /// } /// } /// - /// fragment ClientVersionPublishFailed on ClientVersionPublishFailed { - /// state - /// errors { - /// __typename - /// ... UnexpectedProcessingError - /// ... ProcessingTimeoutError - /// ... ConcurrentOperationError - /// ... PersistedQueryValidationError - /// } + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { - /// __typename + /// fragment Error on Error { /// message /// } /// - /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// fragment DuplicatedTagError on DuplicatedTagError { /// __typename /// message + /// ... Error /// } /// /// fragment ConcurrentOperationError on ConcurrentOperationError { @@ -118539,499 +145175,687 @@ public OnClientVersionPublishUpdatedSubscription(global::StrawberryShake.IOperat /// ... Error /// } /// - /// fragment Error on Error { + /// fragment InvalidFusionSourceSchemaArchiveError on InvalidFusionSourceSchemaArchiveError { /// message /// } - /// - /// fragment PersistedQueryValidationError on PersistedQueryValidationError { - /// message - /// client { - /// __typename - /// id - /// name - /// } - /// queries { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraphMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadFusionSubgraphInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public UploadFusionSubgraphMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _uploadFusionSubgraphInputFormatter = serializerResolver.GetInputValueFormatter("UploadFusionSubgraphInput"); + } + + private UploadFusionSubgraphMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadFusionSubgraphInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _uploadFusionSubgraphInputFormatter = uploadFusionSubgraphInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadFusionSubgraphResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphMutation(_operationExecutor, _configure.Add(configure), _uploadFusionSubgraphInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeUploadFusionSubgraphInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput value, global::System.Collections.Generic.Dictionary files) + { + var pathArchive = path + ".archive"; + var valueArchive = value.Archive; + files.Add(pathArchive, valueArchive is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeUploadFusionSubgraphInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: UploadFusionSubgraphMutationDocument.Instance.Hash.Value, name: "UploadFusionSubgraph", document: UploadFusionSubgraphMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _uploadFusionSubgraphInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + + /// + /// Represents the operation service of the UploadFusionSubgraph GraphQL operation + /// + /// mutation UploadFusionSubgraph($input: UploadFusionSubgraphInput!) { + /// uploadFusionSubgraph(input: $input) { /// __typename - /// deployedTags - /// message - /// hash - /// errors { + /// fusionSubgraphVersion { /// __typename - /// message - /// code - /// path - /// locations { - /// __typename - /// column - /// line - /// } - /// } - /// } - /// } - /// - /// fragment ClientVersionPublishSuccess on ClientVersionPublishSuccess { - /// state - /// } - /// - /// fragment OperationInProgress on OperationInProgress { - /// state - /// } - /// - /// fragment WaitForApproval on WaitForApproval { - /// state - /// deployment { - /// __typename - /// ... on SchemaDeployment { - /// errors { - /// __typename - /// ... OperationsAreNotAllowedError - /// ... SchemaVersionSyntaxError - /// ... SchemaChangeViolationError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... OpenApiCollectionValidationError - /// } - /// } - /// ... on ClientDeployment { - /// errors { - /// __typename - /// ... PersistedQueryValidationError - /// } - /// } - /// ... on FusionConfigurationDeployment { - /// errors { - /// __typename - /// ... SchemaChangeViolationError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... OpenApiCollectionValidationError - /// } + /// id /// } - /// ... on OpenApiCollectionDeployment { - /// errors { - /// __typename - /// ... OpenApiCollectionValidationError - /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... InvalidFusionSourceSchemaArchiveError + /// ... Error /// } /// } /// } /// - /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { - /// __typename - /// message - /// } - /// - /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message - /// column - /// position - /// line + /// ... Error /// } /// - /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// fragment Error on Error { /// message - /// changes { - /// __typename - /// ... SchemaChangeLogEntry - /// } /// } /// - /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { + /// fragment DuplicatedTagError on DuplicatedTagError { /// __typename - /// ... TypeSystemMemberAddedChange - /// ... TypeSystemMemberRemovedChange - /// ... ObjectModifiedChange - /// ... InputObjectModifiedChange - /// ... DirectiveModifiedChange - /// ... ScalarModifiedChange - /// ... EnumModifiedChange - /// ... UnionModifiedChange - /// ... InterfaceModifiedChange - /// ... SchemaChange + /// message + /// ... Error /// } /// - /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment ConcurrentOperationError on ConcurrentOperationError { /// __typename + /// message + /// ... Error /// } /// - /// fragment SchemaChange on SchemaChange { - /// severity - /// } - /// - /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename + /// fragment InvalidFusionSourceSchemaArchiveError on InvalidFusionSourceSchemaArchiveError { + /// message /// } - /// - /// fragment ObjectModifiedChange on ObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraphMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraphInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the CreateMcpFeatureCollectionCommandMutation GraphQL operation + /// + /// mutation CreateMcpFeatureCollectionCommandMutation($input: CreateMcpFeatureCollectionInput!) { + /// createMcpFeatureCollection(input: $input) { /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged + /// mcpFeatureCollection { + /// __typename + /// ... CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection + /// } + /// errors { + /// __typename + /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// } /// } /// } /// - /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { - /// ... SchemaChange - /// interfaceName - /// severity + /// fragment CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection on McpFeatureCollection { + /// name + /// id + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { - /// ... SchemaChange - /// interfaceName - /// severity + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + /// id + /// name /// } /// - /// fragment DescriptionChanged on DescriptionChanged { - /// ... SchemaChange - /// old - /// new - /// severity - /// __typename + /// fragment Error on Error { + /// message /// } /// - /// fragment FieldAddedChange on FieldAddedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error /// } /// - /// fragment FieldRemovedChange on FieldRemovedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } - /// - /// fragment OutputFieldChanged on OutputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private CreateMcpFeatureCollectionCommandMutationMutationDocument() + { + } + + public static CreateMcpFeatureCollectionCommandMutationMutationDocument Instance { get; } = new CreateMcpFeatureCollectionCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "ba70847f71df37bf6b676e2c4ef91570"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CreateMcpFeatureCollectionCommandMutation GraphQL operation + /// + /// mutation CreateMcpFeatureCollectionCommandMutation($input: CreateMcpFeatureCollectionInput!) { + /// createMcpFeatureCollection(input: $input) { /// __typename - /// ... ArgumentRemoved - /// ... ArgumentAdded - /// ... ArgumentChanged - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange + /// mcpFeatureCollection { + /// __typename + /// ... CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection + /// } + /// errors { + /// __typename + /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// } /// } /// } /// - /// fragment ArgumentRemoved on ArgumentRemoved { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// typeName - /// __typename - /// } - /// - /// fragment ArgumentAdded on ArgumentAdded { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection on McpFeatureCollection { /// name - /// typeName - /// __typename + /// id + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment ArgumentChanged on ArgumentChanged { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + /// id /// name - /// __typename - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... DeprecatedChange - /// ... TypeChanged - /// } /// } /// - /// fragment DeprecatedChange on DeprecatedChange { - /// ... SchemaChange - /// deprecationReason - /// severity + /// fragment Error on Error { + /// message /// } /// - /// fragment TypeChanged on TypeChanged { - /// ... SchemaChange - /// oldType - /// newType - /// severity + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename + /// message + /// apiId + /// ... Error /// } /// - /// fragment InputObjectModifiedChange on InputObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename - /// changes { + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createMcpFeatureCollectionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreateMcpFeatureCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _createMcpFeatureCollectionInputFormatter = serializerResolver.GetInputValueFormatter("CreateMcpFeatureCollectionInput"); + } + + private CreateMcpFeatureCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createMcpFeatureCollectionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _createMcpFeatureCollectionInputFormatter = createMcpFeatureCollectionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateMcpFeatureCollectionCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createMcpFeatureCollectionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CreateMcpFeatureCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateMcpFeatureCollectionCommandMutation", document: CreateMcpFeatureCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _createMcpFeatureCollectionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the CreateMcpFeatureCollectionCommandMutation GraphQL operation + /// + /// mutation CreateMcpFeatureCollectionCommandMutation($input: CreateMcpFeatureCollectionInput!) { + /// createMcpFeatureCollection(input: $input) { /// __typename - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... InputFieldChanged + /// mcpFeatureCollection { + /// __typename + /// ... CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection + /// } + /// errors { + /// __typename + /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation + /// } /// } /// } /// - /// fragment InputFieldChanged on InputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange - /// } + /// fragment CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection on McpFeatureCollection { + /// name + /// id + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment DirectiveModifiedChange on DirectiveModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... DirectiveLocationAdded - /// ... DirectiveLocationRemoved - /// ... DescriptionChanged - /// ... ArgumentRemoved - /// ... ArgumentChanged - /// ... ArgumentAdded - /// } + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + /// id + /// name /// } /// - /// fragment DirectiveLocationAdded on DirectiveLocationAdded { - /// ... SchemaChange - /// location - /// severity - /// __typename + /// fragment Error on Error { + /// message /// } /// - /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { - /// ... SchemaChange - /// location - /// severity + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename + /// message + /// apiId + /// ... Error /// } /// - /// fragment ScalarModifiedChange on ScalarModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename - /// changes { + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the DeleteMcpFeatureCollectionByIdCommandMutation GraphQL operation + /// + /// mutation DeleteMcpFeatureCollectionByIdCommandMutation($input: DeleteMcpFeatureCollectionByIdInput!) { + /// deleteMcpFeatureCollectionById(input: $input) { /// __typename - /// ... DescriptionChanged + /// mcpFeatureCollection { + /// __typename + /// ... DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection + /// } + /// errors { + /// __typename + /// ... Error + /// ... McpFeatureCollectionNotFoundError + /// ... UnauthorizedOperation + /// } /// } /// } /// - /// fragment EnumModifiedChange on EnumModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... EnumValueRemoved - /// ... EnumValueAdded - /// ... EnumValueChanged - /// } + /// fragment DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection on McpFeatureCollection { + /// name + /// id + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment EnumValueRemoved on EnumValueRemoved { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + /// id + /// name /// } /// - /// fragment EnumValueAdded on EnumValueAdded { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment Error on Error { + /// message /// } /// - /// fragment EnumValueChanged on EnumValueChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// changes { - /// __typename - /// ... DeprecatedChange - /// ... DescriptionChanged - /// } + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } /// - /// fragment UnionModifiedChange on UnionModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename - /// changes { + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private DeleteMcpFeatureCollectionByIdCommandMutationMutationDocument() + { + } + + public static DeleteMcpFeatureCollectionByIdCommandMutationMutationDocument Instance { get; } = new DeleteMcpFeatureCollectionByIdCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "a87294003c8142e3996f1398a866c64f"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the DeleteMcpFeatureCollectionByIdCommandMutation GraphQL operation + /// + /// mutation DeleteMcpFeatureCollectionByIdCommandMutation($input: DeleteMcpFeatureCollectionByIdInput!) { + /// deleteMcpFeatureCollectionById(input: $input) { /// __typename - /// ... DescriptionChanged - /// ... UnionMemberRemoved - /// ... UnionMemberAdded + /// mcpFeatureCollection { + /// __typename + /// ... DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection + /// } + /// errors { + /// __typename + /// ... Error + /// ... McpFeatureCollectionNotFoundError + /// ... UnauthorizedOperation + /// } /// } /// } /// - /// fragment UnionMemberRemoved on UnionMemberRemoved { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment UnionMemberAdded on UnionMemberAdded { - /// ... SchemaChange - /// typeName - /// severity + /// fragment DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection on McpFeatureCollection { + /// name + /// id + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment InterfaceModifiedChange on InterfaceModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { - /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged - /// ... PossibleTypeAdded - /// ... PossibleTypeRemoved - /// } + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + /// id + /// name /// } /// - /// fragment PossibleTypeAdded on PossibleTypeAdded { - /// ... SchemaChange - /// typeName - /// severity + /// fragment Error on Error { + /// message /// } /// - /// fragment PossibleTypeRemoved on PossibleTypeRemoved { - /// ... SchemaChange - /// typeName - /// severity + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } /// - /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message - /// errors { - /// __typename - /// message - /// code - /// } + /// ... Error /// } - /// - /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { - /// collections { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _deleteMcpFeatureCollectionByIdInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public DeleteMcpFeatureCollectionByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _deleteMcpFeatureCollectionByIdInputFormatter = serializerResolver.GetInputValueFormatter("DeleteMcpFeatureCollectionByIdInput"); + } + + private DeleteMcpFeatureCollectionByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter deleteMcpFeatureCollectionByIdInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _deleteMcpFeatureCollectionByIdInputFormatter = deleteMcpFeatureCollectionByIdInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteMcpFeatureCollectionByIdCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdCommandMutationMutation(_operationExecutor, _configure.Add(configure), _deleteMcpFeatureCollectionByIdInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: DeleteMcpFeatureCollectionByIdCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteMcpFeatureCollectionByIdCommandMutation", document: DeleteMcpFeatureCollectionByIdCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _deleteMcpFeatureCollectionByIdInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the DeleteMcpFeatureCollectionByIdCommandMutation GraphQL operation + /// + /// mutation DeleteMcpFeatureCollectionByIdCommandMutation($input: DeleteMcpFeatureCollectionByIdInput!) { + /// deleteMcpFeatureCollectionById(input: $input) { /// __typename - /// openApiCollection { + /// mcpFeatureCollection { /// __typename - /// id - /// name + /// ... DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection /// } - /// entities { + /// errors { /// __typename - /// errors { - /// __typename - /// ... OpenApiCollectionValidationDocumentError - /// ... OpenApiCollectionValidationEntityValidationError - /// } - /// ... on OpenApiCollectionValidationEndpoint { - /// httpMethod - /// route - /// } - /// ... on OpenApiCollectionValidationModel { - /// name - /// } + /// ... Error + /// ... McpFeatureCollectionNotFoundError + /// ... UnauthorizedOperation /// } /// } /// } /// - /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { - /// code - /// message - /// path - /// locations { - /// __typename - /// column - /// line - /// } + /// fragment DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection on McpFeatureCollection { + /// name + /// id + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { - /// message + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + /// id + /// name /// } /// - /// fragment ProcessingTaskApproved on ProcessingTaskApproved { - /// state + /// fragment Error on Error { + /// message /// } /// - /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { - /// ready: __typename + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } /// - /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { - /// queued: __typename - /// queuePosition + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnClientVersionPublishUpdatedSubscription : global::StrawberryShake.IOperationRequestFactory - { - global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the ListClientCommandQuery GraphQL operation + /// Represents the operation service of the ListMcpFeatureCollectionCommandQuery GraphQL operation /// - /// query ListClientCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// query ListMcpFeatureCollectionCommandQuery($apiId: ID!, $after: String, $first: Int) { /// node(id: $apiId) { /// __typename /// ... on Api { - /// clients(after: $after, first: $first) { + /// mcpFeatureCollections(first: $first, after: $after) { /// __typename /// edges { /// __typename - /// cursor - /// node { - /// __typename - /// id - /// name - /// ... ClientDetailPrompt_Client - /// } + /// ... ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge /// } /// pageInfo { /// __typename @@ -119042,45 +145866,25 @@ public partial interface IOnClientVersionPublishUpdatedSubscription : global::St /// } /// } /// - /// fragment ClientDetailPrompt_Client on Client { - /// id - /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// fragment ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { /// cursor /// node { /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } + /// ... ListMcpFeatureCollectionCommandQuery_McpFeatureCollection /// } /// } /// + /// fragment ListMcpFeatureCollectionCommandQuery_McpFeatureCollection on McpFeatureCollection { + /// id + /// name + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection + /// } + /// + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + /// id + /// name + /// } + /// /// fragment PageInfo on PageInfo { /// hasPreviousPage /// hasNextPage @@ -119089,46 +145893,40 @@ public partial interface IOnClientVersionPublishUpdatedSubscription : global::St /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListClientCommandQueryQueryDocument() - { - } - - public static ListClientCommandQueryQueryDocument Instance { get; } = new ListClientCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "a2a2d861eabc2d4a6f484b396c3e3c8e"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListMcpFeatureCollectionCommandQueryQueryDocument() + { + } + + public static ListMcpFeatureCollectionCommandQueryQueryDocument Instance { get; } = new ListMcpFeatureCollectionCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "7fed272d6aaed647d16d156856db0eed"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the ListClientCommandQuery GraphQL operation + /// Represents the operation service of the ListMcpFeatureCollectionCommandQuery GraphQL operation /// - /// query ListClientCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// query ListMcpFeatureCollectionCommandQuery($apiId: ID!, $after: String, $first: Int) { /// node(id: $apiId) { /// __typename /// ... on Api { - /// clients(after: $after, first: $first) { + /// mcpFeatureCollections(first: $first, after: $after) { /// __typename /// edges { /// __typename - /// cursor - /// node { - /// __typename - /// id - /// name - /// ... ClientDetailPrompt_Client - /// } + /// ... ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge /// } /// pageInfo { /// __typename @@ -119139,45 +145937,25 @@ private ListClientCommandQueryQueryDocument() /// } /// } /// - /// fragment ClientDetailPrompt_Client on Client { - /// id - /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// fragment ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { /// cursor /// node { /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } + /// ... ListMcpFeatureCollectionCommandQuery_McpFeatureCollection /// } /// } /// + /// fragment ListMcpFeatureCollectionCommandQuery_McpFeatureCollection on McpFeatureCollection { + /// id + /// name + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection + /// } + /// + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { + /// id + /// name + /// } + /// /// fragment PageInfo on PageInfo { /// hasPreviousPage /// hasNextPage @@ -119186,137 +145964,131 @@ private ListClientCommandQueryQueryDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private ListClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListClientCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListClientCommandQueryQueryDocument.Instance.Hash.Value, name: "ListClientCommandQuery", document: ListClientCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListMcpFeatureCollectionCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListMcpFeatureCollectionCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListMcpFeatureCollectionCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListMcpFeatureCollectionCommandQueryQueryDocument.Instance.Hash.Value, name: "ListMcpFeatureCollectionCommandQuery", document: ListMcpFeatureCollectionCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the ListClientCommandQuery GraphQL operation + /// Represents the operation service of the ListMcpFeatureCollectionCommandQuery GraphQL operation /// - /// query ListClientCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// query ListMcpFeatureCollectionCommandQuery($apiId: ID!, $after: String, $first: Int) { /// node(id: $apiId) { /// __typename /// ... on Api { - /// clients(after: $after, first: $first) { + /// mcpFeatureCollections(first: $first, after: $after) { /// __typename /// edges { /// __typename - /// cursor - /// node { - /// __typename - /// id - /// name - /// ... ClientDetailPrompt_Client - /// } + /// ... ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge /// } /// pageInfo { /// __typename @@ -119327,45 +146099,25 @@ private ListClientCommandQueryQuery(global::StrawberryShake.IOperationExecutor /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListClientCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMcpFeatureCollectionCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the CreateClientCommandMutation GraphQL operation + /// Represents the operation service of the PublishMcpFeatureCollectionCommandMutation GraphQL operation /// - /// mutation CreateClientCommandMutation($input: CreateClientInput!) { - /// createClient(input: $input) { + /// mutation PublishMcpFeatureCollectionCommandMutation($input: PublishMcpFeatureCollectionInput!) { + /// publishMcpFeatureCollection(input: $input) { /// __typename - /// client { - /// __typename - /// ... CreateClientCommandMutation_Client - /// } + /// id /// errors { /// __typename - /// ... Error - /// ... ApiNotFoundError /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... McpFeatureCollectionNotFoundError + /// ... McpFeatureCollectionVersionNotFoundError + /// ... Error /// } /// } /// } /// - /// fragment CreateClientCommandMutation_Client on Client { - /// name - /// id - /// ... ClientDetailPrompt_Client + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// - /// fragment ClientDetailPrompt_Client on Client { - /// id + /// fragment Error on Error { + /// message + /// } + /// + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } + /// ... Error /// } /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error + /// } + /// + /// fragment McpFeatureCollectionVersionNotFoundError on McpFeatureCollectionVersionNotFoundError { + /// tag + /// message + /// mcpFeatureCollectionId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private PublishMcpFeatureCollectionCommandMutationMutationDocument() + { + } + + public static PublishMcpFeatureCollectionCommandMutationMutationDocument Instance { get; } = new PublishMcpFeatureCollectionCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "736b80b8a3e39c5fcb5c192b42e084b4"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the PublishMcpFeatureCollectionCommandMutation GraphQL operation + /// + /// mutation PublishMcpFeatureCollectionCommandMutation($input: PublishMcpFeatureCollectionInput!) { + /// publishMcpFeatureCollection(input: $input) { /// __typename /// id - /// createdAt - /// tag - /// publishedTo { + /// errors { /// __typename - /// stage { - /// __typename - /// name - /// } + /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... McpFeatureCollectionNotFoundError + /// ... McpFeatureCollectionVersionNotFoundError + /// ... Error /// } /// } /// } /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// /// fragment Error on Error { /// message /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment StageNotFoundError on StageNotFoundError { /// __typename /// message - /// apiId + /// name /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error + /// } + /// + /// fragment McpFeatureCollectionVersionNotFoundError on McpFeatureCollectionVersionNotFoundError { + /// tag /// message + /// mcpFeatureCollectionId /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private CreateClientCommandMutationMutationDocument() - { - } - - public static CreateClientCommandMutationMutationDocument Instance { get; } = new CreateClientCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "1781486920ef931abe7278a40b70d4cb"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _publishMcpFeatureCollectionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public PublishMcpFeatureCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _publishMcpFeatureCollectionInputFormatter = serializerResolver.GetInputValueFormatter("PublishMcpFeatureCollectionInput"); + } + + private PublishMcpFeatureCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter publishMcpFeatureCollectionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _publishMcpFeatureCollectionInputFormatter = publishMcpFeatureCollectionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishMcpFeatureCollectionCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _publishMcpFeatureCollectionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: PublishMcpFeatureCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "PublishMcpFeatureCollectionCommandMutation", document: PublishMcpFeatureCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _publishMcpFeatureCollectionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the CreateClientCommandMutation GraphQL operation + /// Represents the operation service of the PublishMcpFeatureCollectionCommandMutation GraphQL operation /// - /// mutation CreateClientCommandMutation($input: CreateClientInput!) { - /// createClient(input: $input) { + /// mutation PublishMcpFeatureCollectionCommandMutation($input: PublishMcpFeatureCollectionInput!) { + /// publishMcpFeatureCollection(input: $input) { /// __typename - /// client { - /// __typename - /// ... CreateClientCommandMutation_Client - /// } + /// id /// errors { /// __typename - /// ... Error - /// ... ApiNotFoundError /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... McpFeatureCollectionNotFoundError + /// ... McpFeatureCollectionVersionNotFoundError + /// ... Error /// } /// } /// } /// - /// fragment CreateClientCommandMutation_Client on Client { - /// name - /// id - /// ... ClientDetailPrompt_Client + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// - /// fragment ClientDetailPrompt_Client on Client { - /// id + /// fragment Error on Error { + /// message + /// } + /// + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message /// name - /// api { + /// ... Error + /// } + /// + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error + /// } + /// + /// fragment McpFeatureCollectionVersionNotFoundError on McpFeatureCollectionVersionNotFoundError { + /// tag + /// message + /// mcpFeatureCollectionId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the PublishMcpFeatureCollectionCommandSubscription GraphQL operation + /// + /// subscription PublishMcpFeatureCollectionCommandSubscription($requestId: ID!) { + /// onMcpFeatureCollectionVersionPublishingUpdate(requestId: $requestId) { /// __typename - /// name - /// path + /// ... McpFeatureCollectionVersionPublishFailed + /// ... McpFeatureCollectionVersionPublishSuccess + /// ... OperationInProgress + /// ... WaitForApproval + /// ... ProcessingTaskApproved + /// ... ProcessingTaskIsReady + /// ... ProcessingTaskIsQueued /// } - /// versions { + /// } + /// + /// fragment McpFeatureCollectionVersionPublishFailed on McpFeatureCollectionVersionPublishFailed { + /// state + /// errors { /// __typename - /// edges { + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError + /// ... ConcurrentOperationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message + /// } + /// + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename + /// message + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge + /// id + /// name /// } - /// pageInfo { + /// entities { /// __typename - /// hasNextPage - /// endCursor + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// + /// fragment McpFeatureCollectionVersionPublishSuccess on McpFeatureCollectionVersionPublishSuccess { + /// state + /// } + /// + /// fragment OperationInProgress on OperationInProgress { + /// state + /// } + /// + /// fragment WaitForApproval on WaitForApproval { + /// state + /// deployment { + /// __typename + /// ... on SchemaDeployment { + /// errors { + /// __typename + /// ... OperationsAreNotAllowedError + /// ... SchemaVersionSyntaxError + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on ClientDeployment { + /// errors { + /// __typename + /// ... PersistedQueryValidationError + /// } + /// } + /// ... on FusionConfigurationDeployment { + /// errors { + /// __typename + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } /// } + /// ... on OpenApiCollectionDeployment { + /// errors { + /// __typename + /// ... OpenApiCollectionValidationError + /// } + /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// } + /// } + /// + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { + /// __typename + /// message + /// } + /// + /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { + /// __typename + /// message + /// column + /// position + /// line + /// } + /// + /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// message + /// changes { + /// __typename + /// ... SchemaChangeLogEntry + /// } + /// } + /// + /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { + /// __typename + /// ... TypeSystemMemberAddedChange + /// ... TypeSystemMemberRemovedChange + /// ... ObjectModifiedChange + /// ... InputObjectModifiedChange + /// ... DirectiveModifiedChange + /// ... ScalarModifiedChange + /// ... EnumModifiedChange + /// ... UnionModifiedChange + /// ... InterfaceModifiedChange + /// ... SchemaChange + /// } + /// + /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment SchemaChange on SchemaChange { + /// severity + /// } + /// + /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment ObjectModifiedChange on ObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged /// } /// } /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { + /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment DescriptionChanged on DescriptionChanged { + /// ... SchemaChange + /// old + /// new + /// severity + /// __typename + /// } + /// + /// fragment FieldAddedChange on FieldAddedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment FieldRemovedChange on FieldRemovedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment OutputFieldChanged on OutputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } + /// ... ArgumentRemoved + /// ... ArgumentAdded + /// ... ArgumentChanged + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } /// } /// - /// fragment Error on Error { - /// message + /// fragment ArgumentRemoved on ArgumentRemoved { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment ArgumentAdded on ArgumentAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName /// __typename - /// message - /// apiId - /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment ArgumentChanged on ArgumentChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// name /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createClientInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CreateClientCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _createClientInputFormatter = serializerResolver.GetInputValueFormatter("CreateClientInput"); - } - - private CreateClientCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createClientInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _createClientInputFormatter = createClientInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateClientCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CreateClientCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createClientInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: CreateClientCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateClientCommandMutation", document: CreateClientCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _createClientInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the CreateClientCommandMutation GraphQL operation - /// - /// mutation CreateClientCommandMutation($input: CreateClientInput!) { - /// createClient(input: $input) { + /// changes { /// __typename - /// client { - /// __typename - /// ... CreateClientCommandMutation_Client - /// } - /// errors { - /// __typename - /// ... Error - /// ... ApiNotFoundError - /// ... UnauthorizedOperation - /// } + /// ... DescriptionChanged + /// ... DeprecatedChange + /// ... TypeChanged /// } /// } /// - /// fragment CreateClientCommandMutation_Client on Client { - /// name - /// id - /// ... ClientDetailPrompt_Client + /// fragment DeprecatedChange on DeprecatedChange { + /// ... SchemaChange + /// deprecationReason + /// severity /// } /// - /// fragment ClientDetailPrompt_Client on Client { - /// id - /// name - /// api { + /// fragment TypeChanged on TypeChanged { + /// ... SchemaChange + /// oldType + /// newType + /// severity + /// __typename + /// } + /// + /// fragment InputObjectModifiedChange on InputObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// name - /// path + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... InputFieldChanged /// } - /// versions { + /// } + /// + /// fragment InputFieldChanged on InputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } /// } /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { + /// fragment DirectiveModifiedChange on DirectiveModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } + /// ... DirectiveLocationAdded + /// ... DirectiveLocationRemoved + /// ... DescriptionChanged + /// ... ArgumentRemoved + /// ... ArgumentChanged + /// ... ArgumentAdded /// } /// } /// - /// fragment Error on Error { - /// message + /// fragment DirectiveLocationAdded on DirectiveLocationAdded { + /// ... SchemaChange + /// location + /// severity + /// __typename /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { + /// ... SchemaChange + /// location + /// severity /// __typename - /// message - /// apiId - /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment ScalarModifiedChange on ScalarModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateClientInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the ShowApiCommandQuery GraphQL operation - /// - /// query ShowApiCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { + /// changes { /// __typename - /// ... ApiDetailPrompt_Api + /// ... DescriptionChanged /// } /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { - /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } - /// } - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ShowApiCommandQueryQueryDocument() - { - } - - public static ShowApiCommandQueryQueryDocument Instance { get; } = new ShowApiCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "0941232cf9cd2c8d7f601407e9d64dbf"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ShowApiCommandQuery GraphQL operation - /// - /// query ShowApiCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { + /// fragment EnumModifiedChange on EnumModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// ... ApiDetailPrompt_Api + /// ... DescriptionChanged + /// ... EnumValueRemoved + /// ... EnumValueAdded + /// ... EnumValueChanged /// } /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { - /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } - /// } + /// fragment EnumValueRemoved on EnumValueRemoved { + /// ... SchemaChange + /// coordinate + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ShowApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - private ShowApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IShowApiCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ShowApiCommandQueryQueryDocument.Instance.Hash.Value, name: "ShowApiCommandQuery", document: ShowApiCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the ShowApiCommandQuery GraphQL operation - /// - /// query ShowApiCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { - /// __typename - /// ... ApiDetailPrompt_Api - /// } + /// + /// fragment EnumValueAdded on EnumValueAdded { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { + /// fragment EnumValueChanged on EnumValueChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// changes { /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } + /// ... DeprecatedChange + /// ... DescriptionChanged /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowApiCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the DeleteApiCommandQuery GraphQL operation - /// - /// query DeleteApiCommandQuery($apiId: ID!) { - /// node(id: $apiId) { + /// + /// fragment UnionModifiedChange on UnionModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// ... DeleteApiCommandQuery_Api + /// ... DescriptionChanged + /// ... UnionMemberRemoved + /// ... UnionMemberAdded /// } /// } /// - /// fragment DeleteApiCommandQuery_Api on Api { - /// name - /// version - /// workspace { - /// __typename - /// id - /// } + /// fragment UnionMemberRemoved on UnionMemberRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private DeleteApiCommandQueryQueryDocument() - { - } - - public static DeleteApiCommandQueryQueryDocument Instance { get; } = new DeleteApiCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "3b4f426d4f45f7b8d9472110f137e869"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the DeleteApiCommandQuery GraphQL operation - /// - /// query DeleteApiCommandQuery($apiId: ID!) { - /// node(id: $apiId) { - /// __typename - /// ... DeleteApiCommandQuery_Api - /// } + /// + /// fragment UnionMemberAdded on UnionMemberAdded { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment DeleteApiCommandQuery_Api on Api { - /// name - /// version - /// workspace { + /// fragment InterfaceModifiedChange on InterfaceModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// id + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// ... PossibleTypeAdded + /// ... PossibleTypeRemoved /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public DeleteApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - private DeleteApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteApiCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: DeleteApiCommandQueryQueryDocument.Instance.Hash.Value, name: "DeleteApiCommandQuery", document: DeleteApiCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the DeleteApiCommandQuery GraphQL operation - /// - /// query DeleteApiCommandQuery($apiId: ID!) { - /// node(id: $apiId) { - /// __typename - /// ... DeleteApiCommandQuery_Api - /// } + /// + /// fragment PossibleTypeAdded on PossibleTypeAdded { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment DeleteApiCommandQuery_Api on Api { - /// name - /// version - /// workspace { - /// __typename - /// id - /// } + /// fragment PossibleTypeRemoved on PossibleTypeRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the DeleteApiCommandMutation GraphQL operation - /// - /// mutation DeleteApiCommandMutation($apiId: ID!) { - /// deleteApiById(input: { apiId: $apiId }) { + /// + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// __typename + /// message + /// errors { /// __typename - /// api { - /// __typename - /// name - /// ... ApiDetailPrompt_Api - /// } - /// errors { - /// __typename - /// ... Error - /// } + /// message + /// code /// } /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// message + /// client { /// __typename /// id /// name /// } - /// settings { + /// queries { /// __typename - /// schemaRegistry { + /// deployedTags + /// message + /// hash + /// errors { /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// } /// } /// - /// fragment Error on Error { - /// message - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private DeleteApiCommandMutationMutationDocument() - { - } - - public static DeleteApiCommandMutationMutationDocument Instance { get; } = new DeleteApiCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "dff3ece7aa10daff0067410c52faf6d7"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the DeleteApiCommandMutation GraphQL operation - /// - /// mutation DeleteApiCommandMutation($apiId: ID!) { - /// deleteApiById(input: { apiId: $apiId }) { + /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { + /// collections { /// __typename - /// api { + /// openApiCollection { /// __typename + /// id /// name - /// ... ApiDetailPrompt_Api /// } - /// errors { + /// entities { /// __typename - /// ... Error + /// errors { + /// __typename + /// ... OpenApiCollectionValidationDocumentError + /// ... OpenApiCollectionValidationEntityValidationError + /// } + /// ... on OpenApiCollectionValidationEndpoint { + /// httpMethod + /// route + /// } + /// ... on OpenApiCollectionValidationModel { + /// name + /// } /// } /// } /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name + /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { + /// code + /// message /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { + /// locations { /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } + /// column + /// line /// } /// } /// - /// fragment Error on Error { + /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { /// message /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public DeleteApiCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - private DeleteApiCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteApiCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandMutationMutation(_operationExecutor, _configure.Add(configure), _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: DeleteApiCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteApiCommandMutation", document: DeleteApiCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the DeleteApiCommandMutation GraphQL operation - /// - /// mutation DeleteApiCommandMutation($apiId: ID!) { - /// deleteApiById(input: { apiId: $apiId }) { - /// __typename - /// api { - /// __typename - /// name - /// ... ApiDetailPrompt_Api - /// } - /// errors { - /// __typename - /// ... Error - /// } - /// } - /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { - /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } - /// } + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state /// } /// - /// fragment Error on Error { - /// message + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename + /// } + /// + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscriptionSubscriptionDocument : global::StrawberryShake.IDocument + { + private PublishMcpFeatureCollectionCommandSubscriptionSubscriptionDocument() + { + } + + public static PublishMcpFeatureCollectionCommandSubscriptionSubscriptionDocument Instance { get; } = new PublishMcpFeatureCollectionCommandSubscriptionSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "953b6423bcadc90c2f30315980801a9d"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the ListApiCommandQuery GraphQL operation + /// Represents the operation service of the PublishMcpFeatureCollectionCommandSubscription GraphQL operation /// - /// query ListApiCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// subscription PublishMcpFeatureCollectionCommandSubscription($requestId: ID!) { + /// onMcpFeatureCollectionVersionPublishingUpdate(requestId: $requestId) { /// __typename - /// apis(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... ListApiCommand_ApiEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... McpFeatureCollectionVersionPublishFailed + /// ... McpFeatureCollectionVersionPublishSuccess + /// ... OperationInProgress + /// ... WaitForApproval + /// ... ProcessingTaskApproved + /// ... ProcessingTaskIsReady + /// ... ProcessingTaskIsQueued /// } /// } /// - /// fragment ListApiCommand_ApiEdge on ApisEdge { - /// cursor - /// node { + /// fragment McpFeatureCollectionVersionPublishFailed on McpFeatureCollectionVersionPublishFailed { + /// state + /// errors { /// __typename - /// ... ListApiCommand_Api + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError + /// ... ConcurrentOperationError + /// ... McpFeatureCollectionValidationError /// } /// } /// - /// fragment ListApiCommand_Api on Api { - /// id - /// name - /// path - /// ... ApiDetailPrompt_Api + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { - /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } - /// } + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename + /// message /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListApiCommandQueryQueryDocument() - { - } - - public static ListApiCommandQueryQueryDocument Instance { get; } = new ListApiCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "4457adbf3d9f1a7ca591ced02a6e97c0"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ListApiCommandQuery GraphQL operation - /// - /// query ListApiCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// apis(after: $after, first: $first) { + /// mcpFeatureCollection { /// __typename - /// edges { + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { /// __typename - /// ... ListApiCommand_ApiEdge + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError /// } - /// pageInfo { - /// __typename - /// ... PageInfo + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name /// } /// } /// } /// } /// - /// fragment ListApiCommand_ApiEdge on ApisEdge { - /// cursor - /// node { + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { /// __typename - /// ... ListApiCommand_Api + /// column + /// line /// } /// } /// - /// fragment ListApiCommand_Api on Api { - /// id - /// name - /// path - /// ... ApiDetailPrompt_Api + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { - /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } - /// } + /// fragment McpFeatureCollectionVersionPublishSuccess on McpFeatureCollectionVersionPublishSuccess { + /// state /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment OperationInProgress on OperationInProgress { + /// state /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _versionFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _versionFormatter = serializerResolver.GetInputValueFormatter("Version"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private ListApiCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter versionFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _versionFormatter = versionFormatter; - _intFormatter = @intFormatter; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListApiCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListApiCommandQueryQuery(_operationExecutor, _configure.Add(configure), _versionFormatter, _intFormatter, _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListApiCommandQueryQueryDocument.Instance.Hash.Value, name: "ListApiCommandQuery", document: ListApiCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _versionFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the ListApiCommandQuery GraphQL operation - /// - /// query ListApiCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// + /// fragment WaitForApproval on WaitForApproval { + /// state + /// deployment { /// __typename - /// apis(after: $after, first: $first) { - /// __typename - /// edges { + /// ... on SchemaDeployment { + /// errors { /// __typename - /// ... ListApiCommand_ApiEdge + /// ... OperationsAreNotAllowedError + /// ... SchemaVersionSyntaxError + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } - /// pageInfo { + /// } + /// ... on ClientDeployment { + /// errors { /// __typename - /// ... PageInfo + /// ... PersistedQueryValidationError + /// } + /// } + /// ... on FusionConfigurationDeployment { + /// errors { + /// __typename + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on OpenApiCollectionDeployment { + /// errors { + /// __typename + /// ... OpenApiCollectionValidationError + /// } + /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError /// } /// } /// } /// } /// - /// fragment ListApiCommand_ApiEdge on ApisEdge { - /// cursor - /// node { - /// __typename - /// ... ListApiCommand_Api - /// } + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { + /// __typename + /// message /// } /// - /// fragment ListApiCommand_Api on Api { - /// id - /// name - /// path - /// ... ApiDetailPrompt_Api + /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { + /// __typename + /// message + /// column + /// position + /// line /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { + /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// message + /// changes { /// __typename - /// id - /// name + /// ... SchemaChangeLogEntry /// } - /// settings { + /// } + /// + /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { + /// __typename + /// ... TypeSystemMemberAddedChange + /// ... TypeSystemMemberRemovedChange + /// ... ObjectModifiedChange + /// ... InputObjectModifiedChange + /// ... DirectiveModifiedChange + /// ... ScalarModifiedChange + /// ... EnumModifiedChange + /// ... UnionModifiedChange + /// ... InterfaceModifiedChange + /// ... SchemaChange + /// } + /// + /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment SchemaChange on SchemaChange { + /// severity + /// } + /// + /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment ObjectModifiedChange on ObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged /// } /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { + /// ... SchemaChange + /// interfaceName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the SetApiSettingsCommandMutation GraphQL operation - /// - /// mutation SetApiSettingsCommandMutation($input: UpdateApiSettingsInput!) { - /// updateApiSettings(input: $input) { + /// + /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment DescriptionChanged on DescriptionChanged { + /// ... SchemaChange + /// old + /// new + /// severity + /// __typename + /// } + /// + /// fragment FieldAddedChange on FieldAddedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment FieldRemovedChange on FieldRemovedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment OutputFieldChanged on OutputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// api { - /// __typename - /// ... SetApiSettingsCommandMutation_Api - /// } - /// errors { - /// __typename - /// ... ApiNotFoundError - /// ... UnauthorizedOperation - /// ... Error - /// } + /// ... ArgumentRemoved + /// ... ArgumentAdded + /// ... ArgumentChanged + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } /// } /// - /// fragment SetApiSettingsCommandMutation_Api on Api { + /// fragment ArgumentRemoved on ArgumentRemoved { + /// ... SchemaChange + /// coordinate + /// severity /// name - /// path - /// ... SelectApiPrompt_Api + /// typeName + /// __typename /// } /// - /// fragment SelectApiPrompt_Api on Api { - /// id + /// fragment ArgumentAdded on ArgumentAdded { + /// ... SchemaChange + /// coordinate + /// severity /// name - /// path - /// ... ApiDetailPrompt_Api + /// typeName + /// __typename /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id + /// fragment ArgumentChanged on ArgumentChanged { + /// ... SchemaChange + /// coordinate + /// severity /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { + /// __typename + /// changes { /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } + /// ... DescriptionChanged + /// ... DeprecatedChange + /// ... TypeChanged /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error + /// fragment DeprecatedChange on DeprecatedChange { + /// ... SchemaChange + /// deprecationReason + /// severity /// } /// - /// fragment Error on Error { - /// message + /// fragment TypeChanged on TypeChanged { + /// ... SchemaChange + /// oldType + /// newType + /// severity + /// __typename /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment InputObjectModifiedChange on InputObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// ... Error + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... InputFieldChanged + /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private SetApiSettingsCommandMutationMutationDocument() - { - } - - public static SetApiSettingsCommandMutationMutationDocument Instance { get; } = new SetApiSettingsCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "1764f051057ef08b61a865c8e104c057"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the SetApiSettingsCommandMutation GraphQL operation - /// - /// mutation SetApiSettingsCommandMutation($input: UpdateApiSettingsInput!) { - /// updateApiSettings(input: $input) { + /// + /// fragment InputFieldChanged on InputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// api { - /// __typename - /// ... SetApiSettingsCommandMutation_Api - /// } - /// errors { - /// __typename - /// ... ApiNotFoundError - /// ... UnauthorizedOperation - /// ... Error - /// } + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } /// } /// - /// fragment SetApiSettingsCommandMutation_Api on Api { - /// name - /// path - /// ... SelectApiPrompt_Api + /// fragment DirectiveModifiedChange on DirectiveModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DirectiveLocationAdded + /// ... DirectiveLocationRemoved + /// ... DescriptionChanged + /// ... ArgumentRemoved + /// ... ArgumentChanged + /// ... ArgumentAdded + /// } /// } /// - /// fragment SelectApiPrompt_Api on Api { - /// id - /// name - /// path - /// ... ApiDetailPrompt_Api + /// fragment DirectiveLocationAdded on DirectiveLocationAdded { + /// ... SchemaChange + /// location + /// severity + /// __typename /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { + /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { + /// ... SchemaChange + /// location + /// severity + /// __typename + /// } + /// + /// fragment ScalarModifiedChange on ScalarModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// id - /// name + /// ... DescriptionChanged /// } - /// settings { - /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } + /// } + /// + /// fragment EnumModifiedChange on EnumModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... EnumValueRemoved + /// ... EnumValueAdded + /// ... EnumValueChanged /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error + /// fragment EnumValueRemoved on EnumValueRemoved { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment Error on Error { - /// message + /// fragment EnumValueAdded on EnumValueAdded { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error + /// fragment EnumValueChanged on EnumValueChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// changes { + /// __typename + /// ... DeprecatedChange + /// ... DescriptionChanged + /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _updateApiSettingsInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public SetApiSettingsCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _updateApiSettingsInputFormatter = serializerResolver.GetInputValueFormatter("UpdateApiSettingsInput"); - } - - private SetApiSettingsCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter updateApiSettingsInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _updateApiSettingsInputFormatter = updateApiSettingsInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISetApiSettingsCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.SetApiSettingsCommandMutationMutation(_operationExecutor, _configure.Add(configure), _updateApiSettingsInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: SetApiSettingsCommandMutationMutationDocument.Instance.Hash.Value, name: "SetApiSettingsCommandMutation", document: SetApiSettingsCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _updateApiSettingsInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the SetApiSettingsCommandMutation GraphQL operation - /// - /// mutation SetApiSettingsCommandMutation($input: UpdateApiSettingsInput!) { - /// updateApiSettings(input: $input) { + /// + /// fragment UnionModifiedChange on UnionModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// api { - /// __typename - /// ... SetApiSettingsCommandMutation_Api - /// } - /// errors { - /// __typename - /// ... ApiNotFoundError - /// ... UnauthorizedOperation - /// ... Error - /// } + /// ... DescriptionChanged + /// ... UnionMemberRemoved + /// ... UnionMemberAdded /// } /// } /// - /// fragment SetApiSettingsCommandMutation_Api on Api { - /// name - /// path - /// ... SelectApiPrompt_Api + /// fragment UnionMemberRemoved on UnionMemberRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment SelectApiPrompt_Api on Api { - /// id - /// name - /// path - /// ... ApiDetailPrompt_Api + /// fragment UnionMemberAdded on UnionMemberAdded { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { + /// fragment InterfaceModifiedChange on InterfaceModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// ... PossibleTypeAdded + /// ... PossibleTypeRemoved /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error + /// fragment PossibleTypeAdded on PossibleTypeAdded { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment Error on Error { - /// message + /// fragment PossibleTypeRemoved on PossibleTypeRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { /// __typename /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetApiSettingsCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UpdateApiSettingsInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the CreateApiCommandMutation GraphQL operation - /// - /// mutation CreateApiCommandMutation($workspaceId: ID!, $path: [String!]!, $name: String!, $kind: ApiKind) { - /// pushWorkspaceChanges(input: { changes: [ { api: { create: { name: $name, path: $path, referenceId: "api", workspaceId: $workspaceId, kind: $kind } } } ] }) { + /// errors { /// __typename - /// changes { - /// __typename - /// referenceId - /// error { - /// __typename - /// ... Error - /// } - /// result { - /// __typename - /// ... CreateApiCommandMutation_Api - /// } - /// } - /// errors { - /// __typename - /// ... Error - /// } + /// message + /// code /// } /// } /// - /// fragment Error on Error { + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { /// message - /// } - /// - /// fragment CreateApiCommandMutation_Api on Api { - /// name - /// ... ApiDetailPrompt_Api - /// } - /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { + /// client { /// __typename /// id /// name /// } - /// settings { + /// queries { /// __typename - /// schemaRegistry { + /// deployedTags + /// message + /// hash + /// errors { /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private CreateApiCommandMutationMutationDocument() - { - } - - public static CreateApiCommandMutationMutationDocument Instance { get; } = new CreateApiCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "66d4f44040a316fb6a0c2d1ba29de363"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the CreateApiCommandMutation GraphQL operation - /// - /// mutation CreateApiCommandMutation($workspaceId: ID!, $path: [String!]!, $name: String!, $kind: ApiKind) { - /// pushWorkspaceChanges(input: { changes: [ { api: { create: { name: $name, path: $path, referenceId: "api", workspaceId: $workspaceId, kind: $kind } } } ] }) { + /// + /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { + /// collections { /// __typename - /// changes { + /// openApiCollection { /// __typename - /// referenceId - /// error { + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { /// __typename - /// ... Error + /// ... OpenApiCollectionValidationDocumentError + /// ... OpenApiCollectionValidationEntityValidationError /// } - /// result { - /// __typename - /// ... CreateApiCommandMutation_Api + /// ... on OpenApiCollectionValidationEndpoint { + /// httpMethod + /// route + /// } + /// ... on OpenApiCollectionValidationModel { + /// name /// } - /// } - /// errors { - /// __typename - /// ... Error /// } /// } /// } /// - /// fragment Error on Error { + /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { + /// code /// message - /// } - /// - /// fragment CreateApiCommandMutation_Api on Api { - /// name - /// ... ApiDetailPrompt_Api - /// } - /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { - /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } - /// } - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _apiKindFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CreateApiCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _apiKindFormatter = serializerResolver.GetInputValueFormatter("ApiKind"); - } - - private CreateApiCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter apiKindFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _apiKindFormatter = apiKindFormatter; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateApiCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutationMutation(_operationExecutor, _configure.Add(configure), _apiKindFormatter, _stringFormatter, _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId, path, name, kind); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId, path, name, kind); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - variables.Add("path", FormatPath(path)); - variables.Add("name", FormatName(name)); - variables.Add("kind", FormatKind(kind)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: CreateApiCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateApiCommandMutation", document: CreateApiCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatPath(global::System.Collections.Generic.IReadOnlyList value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - var value_list = new global::System.Collections.Generic.List(); - foreach (var value_elm in value) - { - if (value_elm is null) - { - throw new global::System.ArgumentNullException(nameof(value_elm)); - } - - value_list.Add(_stringFormatter.Format(value_elm)); - } - - return value_list; - } - - private global::System.Object? FormatName(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _stringFormatter.Format(value); - } - - private global::System.Object? FormatKind(global::ChilliCream.Nitro.CommandLine.Client.ApiKind? value) - { - if (value is null) - { - return value; - } - else - { - return _apiKindFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the CreateApiCommandMutation GraphQL operation - /// - /// mutation CreateApiCommandMutation($workspaceId: ID!, $path: [String!]!, $name: String!, $kind: ApiKind) { - /// pushWorkspaceChanges(input: { changes: [ { api: { create: { name: $name, path: $path, referenceId: "api", workspaceId: $workspaceId, kind: $kind } } } ] }) { + /// locations { /// __typename - /// changes { - /// __typename - /// referenceId - /// error { - /// __typename - /// ... Error - /// } - /// result { - /// __typename - /// ... CreateApiCommandMutation_Api - /// } - /// } - /// errors { - /// __typename - /// ... Error - /// } + /// column + /// line /// } /// } /// - /// fragment Error on Error { + /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { /// message /// } /// - /// fragment CreateApiCommandMutation_Api on Api { - /// name - /// ... ApiDetailPrompt_Api + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state /// } /// - /// fragment ApiDetailPrompt_Api on Api { - /// id - /// name - /// path - /// workspace { - /// __typename - /// id - /// name - /// } - /// settings { - /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } - /// } + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename + /// } + /// + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::System.Collections.Generic.IReadOnlyList path, global::System.String name, global::ChilliCream.Nitro.CommandLine.Client.ApiKind? kind, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscriptionSubscription : global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscriptionSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public PublishMcpFeatureCollectionCommandSubscriptionSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishMcpFeatureCollectionCommandSubscriptionResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: PublishMcpFeatureCollectionCommandSubscriptionSubscriptionDocument.Instance.Hash.Value, name: "PublishMcpFeatureCollectionCommandSubscription", document: PublishMcpFeatureCollectionCommandSubscriptionSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the UpdateStages GraphQL operation + /// Represents the operation service of the PublishMcpFeatureCollectionCommandSubscription GraphQL operation /// - /// mutation UpdateStages($input: UpdateStagesInput!) { - /// updateStages(input: $input) { - /// __typename - /// api { - /// __typename - /// stages { - /// __typename - /// ... StageDetailPrompt_Stage - /// } - /// } - /// errors { - /// __typename - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... StagesHavePublishedDependenciesError - /// ... on Error { - /// message - /// __typename - /// } - /// } - /// } - /// } - /// - /// fragment StageDetailPrompt_Stage on Stage { - /// id - /// name - /// displayName - /// conditions { + /// subscription PublishMcpFeatureCollectionCommandSubscription($requestId: ID!) { + /// onMcpFeatureCollectionVersionPublishingUpdate(requestId: $requestId) { /// __typename - /// ... StageCondition + /// ... McpFeatureCollectionVersionPublishFailed + /// ... McpFeatureCollectionVersionPublishSuccess + /// ... OperationInProgress + /// ... WaitForApproval + /// ... ProcessingTaskApproved + /// ... ProcessingTaskIsReady + /// ... ProcessingTaskIsQueued /// } /// } /// - /// fragment StageCondition on StageCondition { - /// ... AfterStageCondition - /// } - /// - /// fragment AfterStageCondition on AfterStageCondition { - /// afterStage { + /// fragment McpFeatureCollectionVersionPublishFailed on McpFeatureCollectionVersionPublishFailed { + /// state + /// errors { /// __typename - /// name + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError + /// ... ConcurrentOperationError + /// ... McpFeatureCollectionValidationError /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { /// __typename /// message - /// apiId - /// ... Error /// } /// - /// fragment Error on Error { + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename /// message /// } /// - /// fragment StageNotFoundError on StageNotFoundError { + /// fragment ConcurrentOperationError on ConcurrentOperationError { /// __typename /// message - /// name /// ... Error /// } /// - /// fragment StagesHavePublishedDependenciesError on StagesHavePublishedDependenciesError { - /// __typename + /// fragment Error on Error { /// message - /// stages { + /// } + /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// name - /// publishedSchema { + /// mcpFeatureCollection { /// __typename - /// version { - /// __typename - /// tag - /// } + /// id + /// name /// } - /// publishedClients { + /// entities { /// __typename - /// client { - /// __typename - /// name - /// } - /// publishedVersions { + /// errors { /// __typename - /// version { - /// __typename - /// tag - /// } + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError /// } - /// } - /// } - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStagesMutationDocument : global::StrawberryShake.IDocument - { - private UpdateStagesMutationDocument() - { - } - - public static UpdateStagesMutationDocument Instance { get; } = new UpdateStagesMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "a50cce1fa951fcdc164e78c6f8726374"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the UpdateStages GraphQL operation - /// - /// mutation UpdateStages($input: UpdateStagesInput!) { - /// updateStages(input: $input) { - /// __typename - /// api { - /// __typename - /// stages { - /// __typename - /// ... StageDetailPrompt_Stage + /// ... on McpFeatureCollectionValidationPrompt { + /// name /// } - /// } - /// errors { - /// __typename - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... StagesHavePublishedDependenciesError - /// ... on Error { - /// message - /// __typename + /// ... on McpFeatureCollectionValidationTool { + /// name /// } /// } /// } /// } /// - /// fragment StageDetailPrompt_Stage on Stage { - /// id - /// name - /// displayName - /// conditions { - /// __typename - /// ... StageCondition - /// } - /// } - /// - /// fragment StageCondition on StageCondition { - /// ... AfterStageCondition - /// } - /// - /// fragment AfterStageCondition on AfterStageCondition { - /// afterStage { + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { /// __typename - /// name + /// column + /// line /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { /// message - /// apiId - /// ... Error /// } /// - /// fragment Error on Error { - /// message + /// fragment McpFeatureCollectionVersionPublishSuccess on McpFeatureCollectionVersionPublishSuccess { + /// state /// } /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename - /// message - /// name - /// ... Error + /// fragment OperationInProgress on OperationInProgress { + /// state /// } /// - /// fragment StagesHavePublishedDependenciesError on StagesHavePublishedDependenciesError { - /// __typename - /// message - /// stages { + /// fragment WaitForApproval on WaitForApproval { + /// state + /// deployment { /// __typename - /// name - /// publishedSchema { - /// __typename - /// version { + /// ... on SchemaDeployment { + /// errors { /// __typename - /// tag + /// ... OperationsAreNotAllowedError + /// ... SchemaVersionSyntaxError + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } - /// publishedClients { - /// __typename - /// client { - /// __typename - /// name - /// } - /// publishedVersions { + /// ... on ClientDeployment { + /// errors { /// __typename - /// version { - /// __typename - /// tag - /// } - /// } - /// } - /// } - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStagesMutation : global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _updateStagesInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public UpdateStagesMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _updateStagesInputFormatter = serializerResolver.GetInputValueFormatter("UpdateStagesInput"); - } - - private UpdateStagesMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter updateStagesInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _updateStagesInputFormatter = updateStagesInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUpdateStagesResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesMutation(_operationExecutor, _configure.Add(configure), _updateStagesInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: UpdateStagesMutationDocument.Instance.Hash.Value, name: "UpdateStages", document: UpdateStagesMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _updateStagesInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the UpdateStages GraphQL operation - /// - /// mutation UpdateStages($input: UpdateStagesInput!) { - /// updateStages(input: $input) { - /// __typename - /// api { - /// __typename - /// stages { + /// ... PersistedQueryValidationError + /// } + /// } + /// ... on FusionConfigurationDeployment { + /// errors { /// __typename - /// ... StageDetailPrompt_Stage + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } - /// errors { - /// __typename - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... StagesHavePublishedDependenciesError - /// ... on Error { - /// message + /// ... on OpenApiCollectionDeployment { + /// errors { + /// __typename + /// ... OpenApiCollectionValidationError + /// } + /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { /// __typename + /// ... McpFeatureCollectionValidationError /// } /// } /// } /// } /// - /// fragment StageDetailPrompt_Stage on Stage { - /// id - /// name - /// displayName - /// conditions { - /// __typename - /// ... StageCondition - /// } + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { + /// __typename + /// message /// } /// - /// fragment StageCondition on StageCondition { - /// ... AfterStageCondition + /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { + /// __typename + /// message + /// column + /// position + /// line /// } /// - /// fragment AfterStageCondition on AfterStageCondition { - /// afterStage { + /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// message + /// changes { /// __typename - /// name + /// ... SchemaChangeLogEntry /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { /// __typename - /// message - /// apiId - /// ... Error + /// ... TypeSystemMemberAddedChange + /// ... TypeSystemMemberRemovedChange + /// ... ObjectModifiedChange + /// ... InputObjectModifiedChange + /// ... DirectiveModifiedChange + /// ... ScalarModifiedChange + /// ... EnumModifiedChange + /// ... UnionModifiedChange + /// ... InterfaceModifiedChange + /// ... SchemaChange /// } /// - /// fragment Error on Error { - /// message + /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename /// } /// - /// fragment StageNotFoundError on StageNotFoundError { + /// fragment SchemaChange on SchemaChange { + /// severity + /// } + /// + /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// name - /// ... Error /// } /// - /// fragment StagesHavePublishedDependenciesError on StagesHavePublishedDependenciesError { + /// fragment ObjectModifiedChange on ObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// stages { + /// changes { /// __typename - /// name - /// publishedSchema { - /// __typename - /// version { - /// __typename - /// tag - /// } - /// } - /// publishedClients { - /// __typename - /// client { - /// __typename - /// name - /// } - /// publishedVersions { - /// __typename - /// version { - /// __typename - /// tag - /// } - /// } - /// } + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStagesMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the ListStagesQuery GraphQL operation - /// - /// query ListStagesQuery($apiId: ID!) { - /// node(id: $apiId) { - /// __typename - /// ... on Api { - /// stages { - /// __typename - /// id - /// name - /// displayName - /// ... StageDetailPrompt_Stage - /// } - /// } - /// } + /// + /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { + /// ... SchemaChange + /// interfaceName + /// severity /// } /// - /// fragment StageDetailPrompt_Stage on Stage { - /// id - /// name - /// displayName - /// conditions { - /// __typename - /// ... StageCondition - /// } + /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { + /// ... SchemaChange + /// interfaceName + /// severity /// } /// - /// fragment StageCondition on StageCondition { - /// ... AfterStageCondition + /// fragment DescriptionChanged on DescriptionChanged { + /// ... SchemaChange + /// old + /// new + /// severity + /// __typename /// } /// - /// fragment AfterStageCondition on AfterStageCondition { - /// afterStage { - /// __typename - /// name - /// } + /// fragment FieldAddedChange on FieldAddedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListStagesQueryQueryDocument() - { - } - - public static ListStagesQueryQueryDocument Instance { get; } = new ListStagesQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "ff9fd00b5a96ac47f6aa413a425337d9"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ListStagesQuery GraphQL operation - /// - /// query ListStagesQuery($apiId: ID!) { - /// node(id: $apiId) { + /// + /// fragment FieldRemovedChange on FieldRemovedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment OutputFieldChanged on OutputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// ... on Api { - /// stages { - /// __typename - /// id - /// name - /// displayName - /// ... StageDetailPrompt_Stage - /// } - /// } + /// ... ArgumentRemoved + /// ... ArgumentAdded + /// ... ArgumentChanged + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } /// } /// - /// fragment StageDetailPrompt_Stage on Stage { - /// id + /// fragment ArgumentRemoved on ArgumentRemoved { + /// ... SchemaChange + /// coordinate + /// severity /// name - /// displayName - /// conditions { + /// typeName + /// __typename + /// } + /// + /// fragment ArgumentAdded on ArgumentAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename + /// } + /// + /// fragment ArgumentChanged on ArgumentChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// __typename + /// changes { /// __typename - /// ... StageCondition + /// ... DescriptionChanged + /// ... DeprecatedChange + /// ... TypeChanged /// } /// } /// - /// fragment StageCondition on StageCondition { - /// ... AfterStageCondition + /// fragment DeprecatedChange on DeprecatedChange { + /// ... SchemaChange + /// deprecationReason + /// severity /// } /// - /// fragment AfterStageCondition on AfterStageCondition { - /// afterStage { + /// fragment TypeChanged on TypeChanged { + /// ... SchemaChange + /// oldType + /// newType + /// severity + /// __typename + /// } + /// + /// fragment InputObjectModifiedChange on InputObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// name + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... InputFieldChanged /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListStagesQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - private ListStagesQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListStagesQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListStagesQueryQueryDocument.Instance.Hash.Value, name: "ListStagesQuery", document: ListStagesQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the ListStagesQuery GraphQL operation - /// - /// query ListStagesQuery($apiId: ID!) { - /// node(id: $apiId) { + /// + /// fragment InputFieldChanged on InputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// ... on Api { - /// stages { - /// __typename - /// id - /// name - /// displayName - /// ... StageDetailPrompt_Stage - /// } - /// } + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } /// } /// - /// fragment StageDetailPrompt_Stage on Stage { - /// id - /// name - /// displayName - /// conditions { + /// fragment DirectiveModifiedChange on DirectiveModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// ... StageCondition + /// ... DirectiveLocationAdded + /// ... DirectiveLocationRemoved + /// ... DescriptionChanged + /// ... ArgumentRemoved + /// ... ArgumentChanged + /// ... ArgumentAdded /// } /// } /// - /// fragment StageCondition on StageCondition { - /// ... AfterStageCondition + /// fragment DirectiveLocationAdded on DirectiveLocationAdded { + /// ... SchemaChange + /// location + /// severity + /// __typename /// } /// - /// fragment AfterStageCondition on AfterStageCondition { - /// afterStage { - /// __typename - /// name - /// } + /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { + /// ... SchemaChange + /// location + /// severity + /// __typename /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListStagesQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the ListEnvironmentCommandQuery GraphQL operation - /// - /// query ListEnvironmentCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// + /// fragment ScalarModifiedChange on ScalarModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// environments(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... ListEnvironmentCommand_EnvironmentEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... DescriptionChanged /// } /// } /// - /// fragment ListEnvironmentCommand_EnvironmentEdge on EnvironmentsEdge { - /// cursor - /// node { + /// fragment EnumModifiedChange on EnumModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// ... ListEnvironmentCommand_Environment + /// ... DescriptionChanged + /// ... EnumValueRemoved + /// ... EnumValueAdded + /// ... EnumValueChanged /// } /// } /// - /// fragment ListEnvironmentCommand_Environment on Environment { - /// id - /// name - /// ... EnvironmentDetailPrompt_Environment + /// fragment EnumValueRemoved on EnumValueRemoved { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { + /// fragment EnumValueAdded on EnumValueAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// } + /// + /// fragment EnumValueChanged on EnumValueChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// changes { /// __typename - /// name + /// ... DeprecatedChange + /// ... DescriptionChanged /// } /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListEnvironmentCommandQueryQueryDocument() - { - } - - public static ListEnvironmentCommandQueryQueryDocument Instance { get; } = new ListEnvironmentCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "5d5c59c7c2e869cd8e37ec6a854f6d61"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ListEnvironmentCommandQuery GraphQL operation - /// - /// query ListEnvironmentCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// fragment UnionModifiedChange on UnionModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// environments(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... ListEnvironmentCommand_EnvironmentEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... DescriptionChanged + /// ... UnionMemberRemoved + /// ... UnionMemberAdded /// } /// } /// - /// fragment ListEnvironmentCommand_EnvironmentEdge on EnvironmentsEdge { - /// cursor - /// node { + /// fragment UnionMemberRemoved on UnionMemberRemoved { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment UnionMemberAdded on UnionMemberAdded { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment InterfaceModifiedChange on InterfaceModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// ... ListEnvironmentCommand_Environment + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// ... PossibleTypeAdded + /// ... PossibleTypeRemoved /// } /// } /// - /// fragment ListEnvironmentCommand_Environment on Environment { - /// id - /// name - /// ... EnvironmentDetailPrompt_Environment + /// fragment PossibleTypeAdded on PossibleTypeAdded { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { + /// fragment PossibleTypeRemoved on PossibleTypeRemoved { + /// ... SchemaChange + /// typeName + /// severity + /// } + /// + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// __typename + /// message + /// errors { /// __typename - /// name + /// message + /// code /// } /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// message + /// client { + /// __typename + /// id + /// name + /// } + /// queries { + /// __typename + /// deployedTags + /// message + /// hash + /// errors { + /// __typename + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _versionFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListEnvironmentCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _versionFormatter = serializerResolver.GetInputValueFormatter("Version"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private ListEnvironmentCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter versionFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _versionFormatter = versionFormatter; - _intFormatter = @intFormatter; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListEnvironmentCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListEnvironmentCommandQueryQuery(_operationExecutor, _configure.Add(configure), _versionFormatter, _intFormatter, _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListEnvironmentCommandQueryQueryDocument.Instance.Hash.Value, name: "ListEnvironmentCommandQuery", document: ListEnvironmentCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _versionFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the ListEnvironmentCommandQuery GraphQL operation - /// - /// query ListEnvironmentCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// + /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { + /// collections { /// __typename - /// environments(after: $after, first: $first) { + /// openApiCollection { /// __typename - /// edges { + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { /// __typename - /// ... ListEnvironmentCommand_EnvironmentEdge + /// ... OpenApiCollectionValidationDocumentError + /// ... OpenApiCollectionValidationEntityValidationError /// } - /// pageInfo { - /// __typename - /// ... PageInfo + /// ... on OpenApiCollectionValidationEndpoint { + /// httpMethod + /// route + /// } + /// ... on OpenApiCollectionValidationModel { + /// name /// } /// } /// } /// } /// - /// fragment ListEnvironmentCommand_EnvironmentEdge on EnvironmentsEdge { - /// cursor - /// node { + /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { /// __typename - /// ... ListEnvironmentCommand_Environment + /// column + /// line /// } /// } /// - /// fragment ListEnvironmentCommand_Environment on Environment { - /// id - /// name - /// ... EnvironmentDetailPrompt_Environment + /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { + /// message /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { - /// __typename - /// name - /// } + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename + /// } + /// + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListEnvironmentCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionCommandSubscriptionSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the ShowEnvironmentCommandQuery GraphQL operation + /// Represents the operation service of the UploadMcpFeatureCollectionCommandMutation GraphQL operation /// - /// query ShowEnvironmentCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { + /// mutation UploadMcpFeatureCollectionCommandMutation($input: UploadMcpFeatureCollectionInput!) { + /// uploadMcpFeatureCollection(input: $input) { /// __typename - /// ... EnvironmentDetailPrompt_Environment + /// mcpFeatureCollectionVersion { + /// __typename + /// id + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... McpFeatureCollectionNotFoundError + /// ... InvalidMcpFeatureCollectionArchiveError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... Error + /// } /// } /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { - /// __typename - /// name - /// } + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ShowEnvironmentCommandQueryQueryDocument() - { - } - - public static ShowEnvironmentCommandQueryQueryDocument Instance { get; } = new ShowEnvironmentCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "35993498c755e51178ea417965c3a164"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ShowEnvironmentCommandQuery GraphQL operation - /// - /// query ShowEnvironmentCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { - /// __typename - /// ... EnvironmentDetailPrompt_Environment - /// } + /// + /// fragment Error on Error { + /// message /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { - /// __typename - /// name - /// } + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ShowEnvironmentCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - private ShowEnvironmentCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IShowEnvironmentCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ShowEnvironmentCommandQueryQueryDocument.Instance.Hash.Value, name: "ShowEnvironmentCommandQuery", document: ShowEnvironmentCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the ShowEnvironmentCommandQuery GraphQL operation - /// - /// query ShowEnvironmentCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { - /// __typename - /// ... EnvironmentDetailPrompt_Environment - /// } + /// + /// fragment InvalidMcpFeatureCollectionArchiveError on InvalidMcpFeatureCollectionArchiveError { + /// message /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { - /// __typename - /// name - /// } + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowEnvironmentCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private UploadMcpFeatureCollectionCommandMutationMutationDocument() + { + } + + public static UploadMcpFeatureCollectionCommandMutationMutationDocument Instance { get; } = new UploadMcpFeatureCollectionCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "eb5219613bc72b416f81729786573163"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the CreateEnvironmentCommandMutation GraphQL operation + /// Represents the operation service of the UploadMcpFeatureCollectionCommandMutation GraphQL operation /// - /// mutation CreateEnvironmentCommandMutation($workspaceId: ID!, $name: String!) { - /// pushWorkspaceChanges(input: { changes: [ { environment: { create: { name: $name, referenceId: "env", workspaceId: $workspaceId } } } ] }) { + /// mutation UploadMcpFeatureCollectionCommandMutation($input: UploadMcpFeatureCollectionInput!) { + /// uploadMcpFeatureCollection(input: $input) { /// __typename - /// changes { + /// mcpFeatureCollectionVersion { /// __typename - /// referenceId - /// error { - /// __typename - /// ... Error - /// } - /// result { - /// __typename - /// ... CreateEnvironmentCommandMutation_Environment - /// } + /// id /// } /// errors { /// __typename + /// ... UnauthorizedOperation + /// ... McpFeatureCollectionNotFoundError + /// ... InvalidMcpFeatureCollectionArchiveError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError /// ... Error /// } /// } /// } /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// /// fragment Error on Error { /// message /// } /// - /// fragment CreateEnvironmentCommandMutation_Environment on Environment { - /// name - /// ... EnvironmentDetailPrompt_Environment + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { - /// __typename - /// name - /// } + /// fragment InvalidMcpFeatureCollectionArchiveError on InvalidMcpFeatureCollectionArchiveError { + /// message + /// } + /// + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private CreateEnvironmentCommandMutationMutationDocument() - { - } - - public static CreateEnvironmentCommandMutationMutationDocument Instance { get; } = new CreateEnvironmentCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "b9c18dd6d50ba180b90f48a77b096216"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadMcpFeatureCollectionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public UploadMcpFeatureCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _uploadMcpFeatureCollectionInputFormatter = serializerResolver.GetInputValueFormatter("UploadMcpFeatureCollectionInput"); + } + + private UploadMcpFeatureCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadMcpFeatureCollectionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _uploadMcpFeatureCollectionInputFormatter = uploadMcpFeatureCollectionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadMcpFeatureCollectionCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _uploadMcpFeatureCollectionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeUploadMcpFeatureCollectionInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput value, global::System.Collections.Generic.Dictionary files) + { + var pathCollection = path + ".collection"; + var valueCollection = value.Collection; + files.Add(pathCollection, valueCollection is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeUploadMcpFeatureCollectionInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: UploadMcpFeatureCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "UploadMcpFeatureCollectionCommandMutation", document: UploadMcpFeatureCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _uploadMcpFeatureCollectionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + /// - /// Represents the operation service of the CreateEnvironmentCommandMutation GraphQL operation + /// Represents the operation service of the UploadMcpFeatureCollectionCommandMutation GraphQL operation /// - /// mutation CreateEnvironmentCommandMutation($workspaceId: ID!, $name: String!) { - /// pushWorkspaceChanges(input: { changes: [ { environment: { create: { name: $name, referenceId: "env", workspaceId: $workspaceId } } } ] }) { + /// mutation UploadMcpFeatureCollectionCommandMutation($input: UploadMcpFeatureCollectionInput!) { + /// uploadMcpFeatureCollection(input: $input) { /// __typename - /// changes { + /// mcpFeatureCollectionVersion { /// __typename - /// referenceId - /// error { - /// __typename - /// ... Error - /// } - /// result { - /// __typename - /// ... CreateEnvironmentCommandMutation_Environment - /// } + /// id /// } /// errors { /// __typename + /// ... UnauthorizedOperation + /// ... McpFeatureCollectionNotFoundError + /// ... InvalidMcpFeatureCollectionArchiveError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError /// ... Error /// } /// } /// } /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// /// fragment Error on Error { /// message /// } /// - /// fragment CreateEnvironmentCommandMutation_Environment on Environment { - /// name - /// ... EnvironmentDetailPrompt_Environment + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { - /// __typename - /// name - /// } + /// fragment InvalidMcpFeatureCollectionArchiveError on InvalidMcpFeatureCollectionArchiveError { + /// message + /// } + /// + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CreateEnvironmentCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - private CreateEnvironmentCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateEnvironmentCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutationMutation(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String name, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId, name); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String name, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId, name); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String name) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - variables.Add("name", FormatName(name)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: CreateEnvironmentCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateEnvironmentCommandMutation", document: CreateEnvironmentCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatName(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _stringFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the CreateEnvironmentCommandMutation GraphQL operation + /// Represents the operation service of the ValidateMcpFeatureCollectionCommandMutation GraphQL operation /// - /// mutation CreateEnvironmentCommandMutation($workspaceId: ID!, $name: String!) { - /// pushWorkspaceChanges(input: { changes: [ { environment: { create: { name: $name, referenceId: "env", workspaceId: $workspaceId } } } ] }) { + /// mutation ValidateMcpFeatureCollectionCommandMutation($input: ValidateMcpFeatureCollectionInput!) { + /// validateMcpFeatureCollection(input: $input) { /// __typename - /// changes { - /// __typename - /// referenceId - /// error { - /// __typename - /// ... Error - /// } - /// result { - /// __typename - /// ... CreateEnvironmentCommandMutation_Environment - /// } - /// } + /// id /// errors { /// __typename + /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... McpFeatureCollectionNotFoundError /// ... Error /// } /// } /// } /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// /// fragment Error on Error { /// message /// } /// - /// fragment CreateEnvironmentCommandMutation_Environment on Environment { + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message /// name - /// ... EnvironmentDetailPrompt_Environment + /// ... Error /// } /// - /// fragment EnvironmentDetailPrompt_Environment on Environment { - /// id - /// name - /// workspace { - /// __typename - /// name - /// } + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateEnvironmentCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String name, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::System.String name, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private ValidateMcpFeatureCollectionCommandMutationMutationDocument() + { + } + + public static ValidateMcpFeatureCollectionCommandMutationMutationDocument Instance { get; } = new ValidateMcpFeatureCollectionCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "17c73eb7d485a0bf03b77efc0d4b7ecd"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the ListApiKeyCommandQuery GraphQL operation + /// Represents the operation service of the ValidateMcpFeatureCollectionCommandMutation GraphQL operation /// - /// query ListApiKeyCommandQuery($workspaceId: ID!, $after: String, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// mutation ValidateMcpFeatureCollectionCommandMutation($input: ValidateMcpFeatureCollectionInput!) { + /// validateMcpFeatureCollection(input: $input) { /// __typename - /// apiKeys(after: $after, first: $first) { + /// id + /// errors { /// __typename - /// edges { - /// __typename - /// ... ListApiKeyCommand_ApiKeyEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } + /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... McpFeatureCollectionNotFoundError + /// ... Error /// } /// } /// } /// - /// fragment ListApiKeyCommand_ApiKeyEdge on ApiKeysEdge { - /// cursor - /// node { - /// __typename - /// ... ListApiKeyCommand_ApiKey - /// } + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// - /// fragment ListApiKeyCommand_ApiKey on ApiKey { - /// id - /// name - /// ... ApiKeyDetailPrompt_ApiKey + /// fragment Error on Error { + /// message /// } /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { - /// id + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message /// name - /// workspace { - /// __typename - /// name - /// } + /// ... Error /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListApiKeyCommandQueryQueryDocument() - { - } - - public static ListApiKeyCommandQueryQueryDocument Instance { get; } = new ListApiKeyCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "73d47ef547275fb8b3364106fa956029"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateMcpFeatureCollectionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ValidateMcpFeatureCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _validateMcpFeatureCollectionInputFormatter = serializerResolver.GetInputValueFormatter("ValidateMcpFeatureCollectionInput"); + } + + private ValidateMcpFeatureCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateMcpFeatureCollectionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _validateMcpFeatureCollectionInputFormatter = validateMcpFeatureCollectionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateMcpFeatureCollectionCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _validateMcpFeatureCollectionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeValidateMcpFeatureCollectionInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput value, global::System.Collections.Generic.Dictionary files) + { + var pathCollection = path + ".collection"; + var valueCollection = value.Collection; + files.Add(pathCollection, valueCollection is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeValidateMcpFeatureCollectionInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: ValidateMcpFeatureCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "ValidateMcpFeatureCollectionCommandMutation", document: ValidateMcpFeatureCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _validateMcpFeatureCollectionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + /// - /// Represents the operation service of the ListApiKeyCommandQuery GraphQL operation + /// Represents the operation service of the ValidateMcpFeatureCollectionCommandMutation GraphQL operation /// - /// query ListApiKeyCommandQuery($workspaceId: ID!, $after: String, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// mutation ValidateMcpFeatureCollectionCommandMutation($input: ValidateMcpFeatureCollectionInput!) { + /// validateMcpFeatureCollection(input: $input) { /// __typename - /// apiKeys(after: $after, first: $first) { + /// id + /// errors { /// __typename - /// edges { - /// __typename - /// ... ListApiKeyCommand_ApiKeyEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } + /// ... UnauthorizedOperation + /// ... StageNotFoundError + /// ... McpFeatureCollectionNotFoundError + /// ... Error /// } /// } /// } /// - /// fragment ListApiKeyCommand_ApiKeyEdge on ApiKeysEdge { - /// cursor - /// node { - /// __typename - /// ... ListApiKeyCommand_ApiKey - /// } + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// - /// fragment ListApiKeyCommand_ApiKey on ApiKey { - /// id - /// name - /// ... ApiKeyDetailPrompt_ApiKey + /// fragment Error on Error { + /// message /// } /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { - /// id + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message /// name - /// workspace { - /// __typename - /// name - /// } + /// ... Error /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + /// mcpFeatureCollectionId + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListApiKeyCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private ListApiKeyCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _intFormatter = @intFormatter; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListApiKeyCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListApiKeyCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _intFormatter, _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListApiKeyCommandQueryQueryDocument.Instance.Hash.Value, name: "ListApiKeyCommandQuery", document: ListApiKeyCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the ListApiKeyCommandQuery GraphQL operation + /// Represents the operation service of the ValidateMcpFeatureCollectionCommandSubscription GraphQL operation /// - /// query ListApiKeyCommandQuery($workspaceId: ID!, $after: String, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// subscription ValidateMcpFeatureCollectionCommandSubscription($requestId: ID!) { + /// onMcpFeatureCollectionVersionValidationUpdate(requestId: $requestId) { /// __typename - /// apiKeys(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... ListApiKeyCommand_ApiKeyEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... McpFeatureCollectionVersionValidationFailed + /// ... McpFeatureCollectionVersionValidationSuccess + /// ... OperationInProgress + /// ... ValidationInProgress /// } /// } /// - /// fragment ListApiKeyCommand_ApiKeyEdge on ApiKeysEdge { - /// cursor - /// node { + /// fragment McpFeatureCollectionVersionValidationFailed on McpFeatureCollectionVersionValidationFailed { + /// state + /// errors { /// __typename - /// ... ListApiKeyCommand_ApiKey + /// ... ProcessingTimeoutError + /// ... UnexpectedProcessingError + /// ... McpFeatureCollectionValidationError + /// ... McpFeatureCollectionValidationArchiveError /// } /// } /// - /// fragment ListApiKeyCommand_ApiKey on ApiKey { - /// id - /// name - /// ... ApiKeyDetailPrompt_ApiKey + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename + /// message /// } /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { - /// id - /// name - /// workspace { - /// __typename - /// name - /// } + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListApiKeyCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the CreateApiKeyCommandMutation GraphQL operation - /// - /// mutation CreateApiKeyCommandMutation($input: CreateApiKeyInput!) { - /// createApiKey(input: $input) { + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// result { + /// mcpFeatureCollection { /// __typename - /// key { - /// __typename - /// ... CreateApiKeyCommandMutation_ApiKey - /// } - /// secret + /// id + /// name /// } - /// errors { + /// entities { /// __typename - /// ... ApiNotFoundError - /// ... WorkspaceNotFound - /// ... PersonalWorkspaceNotSupportedError - /// ... ValidationError - /// ... RoleNotFoundError - /// ... Error + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } /// } /// } /// } /// - /// fragment CreateApiKeyCommandMutation_ApiKey on ApiKey { - /// id - /// ... ApiKeyDetailPrompt_ApiKey - /// } - /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { - /// id - /// name - /// workspace { + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { /// __typename - /// name + /// column + /// line /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { /// message - /// apiId - /// ... Error /// } /// - /// fragment Error on Error { + /// fragment McpFeatureCollectionValidationArchiveError on McpFeatureCollectionValidationArchiveError { /// message /// } /// - /// fragment WorkspaceNotFound on WorkspaceNotFound { - /// __typename - /// message - /// workspaceId - /// ... Error + /// fragment McpFeatureCollectionVersionValidationSuccess on McpFeatureCollectionVersionValidationSuccess { + /// state /// } /// - /// fragment PersonalWorkspaceNotSupportedError on PersonalWorkspaceNotSupportedError { - /// __typename - /// message - /// ... Error + /// fragment OperationInProgress on OperationInProgress { + /// state /// } /// - /// fragment ValidationError on ValidationError { - /// __typename - /// message + /// fragment ValidationInProgress on ValidationInProgress { + /// state + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscriptionSubscriptionDocument : global::StrawberryShake.IDocument + { + private ValidateMcpFeatureCollectionCommandSubscriptionSubscriptionDocument() + { + } + + public static ValidateMcpFeatureCollectionCommandSubscriptionSubscriptionDocument Instance { get; } = new ValidateMcpFeatureCollectionCommandSubscriptionSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "9a5ac6c756ae69d3cb53bae89f844cb6"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ValidateMcpFeatureCollectionCommandSubscription GraphQL operation + /// + /// subscription ValidateMcpFeatureCollectionCommandSubscription($requestId: ID!) { + /// onMcpFeatureCollectionVersionValidationUpdate(requestId: $requestId) { + /// __typename + /// ... McpFeatureCollectionVersionValidationFailed + /// ... McpFeatureCollectionVersionValidationSuccess + /// ... OperationInProgress + /// ... ValidationInProgress + /// } + /// } + /// + /// fragment McpFeatureCollectionVersionValidationFailed on McpFeatureCollectionVersionValidationFailed { + /// state /// errors { /// __typename - /// message + /// ... ProcessingTimeoutError + /// ... UnexpectedProcessingError + /// ... McpFeatureCollectionValidationError + /// ... McpFeatureCollectionValidationArchiveError /// } - /// ... Error /// } /// - /// fragment RoleNotFoundError on RoleNotFoundError { + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { /// __typename /// message - /// roleId - /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private CreateApiKeyCommandMutationMutationDocument() - { - } - - public static CreateApiKeyCommandMutationMutationDocument Instance { get; } = new CreateApiKeyCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "992b8ab9fd5e45569fda61f616659e1a"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the CreateApiKeyCommandMutation GraphQL operation - /// - /// mutation CreateApiKeyCommandMutation($input: CreateApiKeyInput!) { - /// createApiKey(input: $input) { + /// + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message + /// } + /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// result { + /// mcpFeatureCollection { /// __typename - /// key { - /// __typename - /// ... CreateApiKeyCommandMutation_ApiKey - /// } - /// secret + /// id + /// name /// } - /// errors { + /// entities { /// __typename - /// ... ApiNotFoundError - /// ... WorkspaceNotFound - /// ... PersonalWorkspaceNotSupportedError - /// ... ValidationError - /// ... RoleNotFoundError - /// ... Error + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } /// } /// } /// } /// - /// fragment CreateApiKeyCommandMutation_ApiKey on ApiKey { - /// id - /// ... ApiKeyDetailPrompt_ApiKey - /// } - /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { - /// id - /// name - /// workspace { + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { /// __typename - /// name + /// column + /// line /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { /// message - /// apiId - /// ... Error /// } /// - /// fragment Error on Error { + /// fragment McpFeatureCollectionValidationArchiveError on McpFeatureCollectionValidationArchiveError { /// message /// } /// - /// fragment WorkspaceNotFound on WorkspaceNotFound { - /// __typename - /// message - /// workspaceId - /// ... Error + /// fragment McpFeatureCollectionVersionValidationSuccess on McpFeatureCollectionVersionValidationSuccess { + /// state /// } /// - /// fragment PersonalWorkspaceNotSupportedError on PersonalWorkspaceNotSupportedError { - /// __typename - /// message - /// ... Error + /// fragment OperationInProgress on OperationInProgress { + /// state /// } /// - /// fragment ValidationError on ValidationError { - /// __typename - /// message + /// fragment ValidationInProgress on ValidationInProgress { + /// state + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscriptionSubscription : global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscriptionSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public ValidateMcpFeatureCollectionCommandSubscriptionSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateMcpFeatureCollectionCommandSubscriptionResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ValidateMcpFeatureCollectionCommandSubscriptionSubscriptionDocument.Instance.Hash.Value, name: "ValidateMcpFeatureCollectionCommandSubscription", document: ValidateMcpFeatureCollectionCommandSubscriptionSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ValidateMcpFeatureCollectionCommandSubscription GraphQL operation + /// + /// subscription ValidateMcpFeatureCollectionCommandSubscription($requestId: ID!) { + /// onMcpFeatureCollectionVersionValidationUpdate(requestId: $requestId) { + /// __typename + /// ... McpFeatureCollectionVersionValidationFailed + /// ... McpFeatureCollectionVersionValidationSuccess + /// ... OperationInProgress + /// ... ValidationInProgress + /// } + /// } + /// + /// fragment McpFeatureCollectionVersionValidationFailed on McpFeatureCollectionVersionValidationFailed { + /// state /// errors { /// __typename - /// message + /// ... ProcessingTimeoutError + /// ... UnexpectedProcessingError + /// ... McpFeatureCollectionValidationError + /// ... McpFeatureCollectionValidationArchiveError /// } - /// ... Error /// } /// - /// fragment RoleNotFoundError on RoleNotFoundError { + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { /// __typename /// message - /// roleId - /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createApiKeyInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CreateApiKeyCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _createApiKeyInputFormatter = serializerResolver.GetInputValueFormatter("CreateApiKeyInput"); - } - - private CreateApiKeyCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createApiKeyInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _createApiKeyInputFormatter = createApiKeyInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateApiKeyCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createApiKeyInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: CreateApiKeyCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateApiKeyCommandMutation", document: CreateApiKeyCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _createApiKeyInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the CreateApiKeyCommandMutation GraphQL operation - /// - /// mutation CreateApiKeyCommandMutation($input: CreateApiKeyInput!) { - /// createApiKey(input: $input) { + /// + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename + /// message + /// } + /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// result { + /// mcpFeatureCollection { /// __typename - /// key { - /// __typename - /// ... CreateApiKeyCommandMutation_ApiKey - /// } - /// secret + /// id + /// name /// } - /// errors { + /// entities { /// __typename - /// ... ApiNotFoundError - /// ... WorkspaceNotFound - /// ... PersonalWorkspaceNotSupportedError - /// ... ValidationError - /// ... RoleNotFoundError - /// ... Error + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } /// } /// } /// } /// - /// fragment CreateApiKeyCommandMutation_ApiKey on ApiKey { - /// id - /// ... ApiKeyDetailPrompt_ApiKey - /// } - /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { - /// id - /// name - /// workspace { + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { /// __typename - /// name + /// column + /// line /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error - /// } - /// - /// fragment Error on Error { + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { /// message /// } /// - /// fragment WorkspaceNotFound on WorkspaceNotFound { - /// __typename + /// fragment McpFeatureCollectionValidationArchiveError on McpFeatureCollectionValidationArchiveError { /// message - /// workspaceId - /// ... Error /// } /// - /// fragment PersonalWorkspaceNotSupportedError on PersonalWorkspaceNotSupportedError { - /// __typename - /// message - /// ... Error + /// fragment McpFeatureCollectionVersionValidationSuccess on McpFeatureCollectionVersionValidationSuccess { + /// state /// } /// - /// fragment ValidationError on ValidationError { - /// __typename - /// message - /// errors { - /// __typename - /// message - /// } - /// ... Error + /// fragment OperationInProgress on OperationInProgress { + /// state /// } /// - /// fragment RoleNotFoundError on RoleNotFoundError { - /// __typename - /// message - /// roleId - /// ... Error + /// fragment ValidationInProgress on ValidationInProgress { + /// state /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionCommandSubscriptionSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the DeleteApiKeyCommandMutation GraphQL operation + /// Represents the operation service of the CreateMockSchema GraphQL operation /// - /// mutation DeleteApiKeyCommandMutation($input: DeleteApiKeyInput!) { - /// deleteApiKey(input: $input) { + /// mutation CreateMockSchema($apiId: ID!, $baseSchemaFile: Upload!, $downstreamUrl: String!, $extensionsSchemaFile: Upload!, $name: String!) { + /// createMockSchema(input: { apiId: $apiId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { /// __typename - /// apiKey { + /// mockSchema { /// __typename - /// ... DeleteApiKeyCommand_ApiKey + /// id + /// ... MockSchemaDetailPrompt /// } /// errors { /// __typename - /// ... ApiKeyNotFoundError - /// ... Error + /// ... ApiNotFoundError + /// ... MockSchemaNonUniqueNameError /// } /// } /// } /// - /// fragment DeleteApiKeyCommand_ApiKey on ApiKey { - /// id - /// ... ApiKeyDetailPrompt_ApiKey - /// } - /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id /// name - /// workspace { + /// createdAt + /// createdBy { /// __typename - /// name + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username /// } + /// downstreamUrl + /// url /// } /// - /// fragment ApiKeyNotFoundError on ApiKeyNotFoundError { + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename /// message - /// apiKeyId + /// apiId + /// ... Error /// } /// /// fragment Error on Error { /// message /// } + /// + /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// __typename + /// message + /// name + /// ... Error + /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private DeleteApiKeyCommandMutationMutationDocument() - { - } - - public static DeleteApiKeyCommandMutationMutationDocument Instance { get; } = new DeleteApiKeyCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "d9c3122efc6baad1e0bfd610a4503566"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchemaMutationDocument : global::StrawberryShake.IDocument + { + private CreateMockSchemaMutationDocument() + { + } + + public static CreateMockSchemaMutationDocument Instance { get; } = new CreateMockSchemaMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "dc1c3bda5bde62cf3e0b9afcaf32824e"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the DeleteApiKeyCommandMutation GraphQL operation + /// Represents the operation service of the CreateMockSchema GraphQL operation /// - /// mutation DeleteApiKeyCommandMutation($input: DeleteApiKeyInput!) { - /// deleteApiKey(input: $input) { + /// mutation CreateMockSchema($apiId: ID!, $baseSchemaFile: Upload!, $downstreamUrl: String!, $extensionsSchemaFile: Upload!, $name: String!) { + /// createMockSchema(input: { apiId: $apiId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { /// __typename - /// apiKey { + /// mockSchema { /// __typename - /// ... DeleteApiKeyCommand_ApiKey + /// id + /// ... MockSchemaDetailPrompt /// } /// errors { /// __typename - /// ... ApiKeyNotFoundError - /// ... Error + /// ... ApiNotFoundError + /// ... MockSchemaNonUniqueNameError /// } /// } /// } /// - /// fragment DeleteApiKeyCommand_ApiKey on ApiKey { - /// id - /// ... ApiKeyDetailPrompt_ApiKey - /// } - /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id /// name - /// workspace { + /// createdAt + /// createdBy { /// __typename - /// name + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username /// } + /// downstreamUrl + /// url /// } /// - /// fragment ApiKeyNotFoundError on ApiKeyNotFoundError { + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename /// message - /// apiKeyId + /// apiId + /// ... Error /// } /// /// fragment Error on Error { /// message /// } + /// + /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// __typename + /// message + /// name + /// ... Error + /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _deleteApiKeyInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public DeleteApiKeyCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _deleteApiKeyInputFormatter = serializerResolver.GetInputValueFormatter("DeleteApiKeyInput"); - } - - private DeleteApiKeyCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter deleteApiKeyInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _deleteApiKeyInputFormatter = deleteApiKeyInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteApiKeyCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyCommandMutationMutation(_operationExecutor, _configure.Add(configure), _deleteApiKeyInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: DeleteApiKeyCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteApiKeyCommandMutation", document: DeleteApiKeyCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _deleteApiKeyInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchemaMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreateMockSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + private CreateMockSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter uploadFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + _uploadFormatter = uploadFormatter; + _stringFormatter = @stringFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateMockSchemaResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchemaMutation(_operationExecutor, _configure.Add(configure), _iDFormatter, _uploadFormatter, _stringFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, baseSchemaFile, downstreamUrl, extensionsSchemaFile, name); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromArgumentBaseSchemaFile(global::System.String path, global::StrawberryShake.Upload value, global::System.Collections.Generic.Dictionary files) + { + files.Add(path, value is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentExtensionsSchemaFile(global::System.String path, global::StrawberryShake.Upload value, global::System.Collections.Generic.Dictionary files) + { + files.Add(path, value is global::StrawberryShake.Upload u ? u : null); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, baseSchemaFile, downstreamUrl, extensionsSchemaFile, name); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("baseSchemaFile", FormatBaseSchemaFile(baseSchemaFile)); + variables.Add("downstreamUrl", FormatDownstreamUrl(downstreamUrl)); + variables.Add("extensionsSchemaFile", FormatExtensionsSchemaFile(extensionsSchemaFile)); + variables.Add("name", FormatName(name)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentBaseSchemaFile("variables.baseSchemaFile", baseSchemaFile, files); + MapFilesFromArgumentExtensionsSchemaFile("variables.extensionsSchemaFile", extensionsSchemaFile, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: CreateMockSchemaMutationDocument.Instance.Hash.Value, name: "CreateMockSchema", document: CreateMockSchemaMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatBaseSchemaFile(global::StrawberryShake.Upload value) + { + return _uploadFormatter.Format(value); + } + + private global::System.Object? FormatDownstreamUrl(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _stringFormatter.Format(value); + } + + private global::System.Object? FormatExtensionsSchemaFile(global::StrawberryShake.Upload value) + { + return _uploadFormatter.Format(value); + } + + private global::System.Object? FormatName(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _stringFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + /// - /// Represents the operation service of the DeleteApiKeyCommandMutation GraphQL operation + /// Represents the operation service of the CreateMockSchema GraphQL operation /// - /// mutation DeleteApiKeyCommandMutation($input: DeleteApiKeyInput!) { - /// deleteApiKey(input: $input) { + /// mutation CreateMockSchema($apiId: ID!, $baseSchemaFile: Upload!, $downstreamUrl: String!, $extensionsSchemaFile: Upload!, $name: String!) { + /// createMockSchema(input: { apiId: $apiId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { /// __typename - /// apiKey { + /// mockSchema { /// __typename - /// ... DeleteApiKeyCommand_ApiKey + /// id + /// ... MockSchemaDetailPrompt /// } /// errors { /// __typename - /// ... ApiKeyNotFoundError - /// ... Error + /// ... ApiNotFoundError + /// ... MockSchemaNonUniqueNameError /// } /// } /// } /// - /// fragment DeleteApiKeyCommand_ApiKey on ApiKey { - /// id - /// ... ApiKeyDetailPrompt_ApiKey - /// } - /// - /// fragment ApiKeyDetailPrompt_ApiKey on ApiKey { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id /// name - /// workspace { + /// createdAt + /// createdBy { /// __typename - /// name + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username /// } + /// downstreamUrl + /// url /// } /// - /// fragment ApiKeyNotFoundError on ApiKeyNotFoundError { + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename /// message - /// apiKeyId + /// apiId + /// ... Error /// } /// /// fragment Error on Error { /// message /// } + /// + /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// __typename + /// message + /// name + /// ... Error + /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchemaMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.Upload baseSchemaFile, global::System.String downstreamUrl, global::StrawberryShake.Upload extensionsSchemaFile, global::System.String name, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the ListPersonalAccessTokenCommandQuery GraphQL operation + /// Represents the operation service of the ListMockCommandQuery GraphQL operation /// - /// query ListPersonalAccessTokenCommandQuery($after: String, $first: Int) { - /// me { + /// query ListMockCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// apiById(id: $apiId) { /// __typename - /// personalAccessTokens(after: $after, first: $first) { + /// mockSchemas(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... ListPersonalAccessTokenCommand_PersonalAccessTokenEdge + /// ... ListMockCommand_MockEdge /// } /// pageInfo { /// __typename @@ -123619,27 +149389,35 @@ public partial interface IDeleteApiKeyCommandMutationMutation : global::Strawber /// } /// } /// - /// fragment ListPersonalAccessTokenCommand_PersonalAccessTokenEdge on PersonalAccessTokensEdge { + /// fragment ListMockCommand_MockEdge on MockSchemasEdge { /// cursor /// node { /// __typename - /// ... ListPersonalAccessTokenCommand_PersonalAccessToken + /// ... ListMockCommand_Mock /// } /// } /// - /// fragment ListPersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// fragment ListMockCommand_Mock on MockSchema { /// id - /// description - /// expiresAt - /// createdAt - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// name + /// ... MockSchemaDetailPrompt /// } /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id - /// description + /// name /// createdAt - /// expiresAt + /// createdBy { + /// __typename + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username + /// } + /// downstreamUrl + /// url /// } /// /// fragment PageInfo on PageInfo { @@ -123650,39 +149428,39 @@ public partial interface IDeleteApiKeyCommandMutationMutation : global::Strawber /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListPersonalAccessTokenCommandQueryQueryDocument() - { - } - - public static ListPersonalAccessTokenCommandQueryQueryDocument Instance { get; } = new ListPersonalAccessTokenCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "8403a76012480cacf4ff791dfdf9ab03"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListMockCommandQueryQueryDocument() + { + } + + public static ListMockCommandQueryQueryDocument Instance { get; } = new ListMockCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "1b7ebd5e95b4f31767e0271f30d34242"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the ListPersonalAccessTokenCommandQuery GraphQL operation + /// Represents the operation service of the ListMockCommandQuery GraphQL operation /// - /// query ListPersonalAccessTokenCommandQuery($after: String, $first: Int) { - /// me { + /// query ListMockCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// apiById(id: $apiId) { /// __typename - /// personalAccessTokens(after: $after, first: $first) { + /// mockSchemas(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... ListPersonalAccessTokenCommand_PersonalAccessTokenEdge + /// ... ListMockCommand_MockEdge /// } /// pageInfo { /// __typename @@ -123692,27 +149470,35 @@ private ListPersonalAccessTokenCommandQueryQueryDocument() /// } /// } /// - /// fragment ListPersonalAccessTokenCommand_PersonalAccessTokenEdge on PersonalAccessTokensEdge { + /// fragment ListMockCommand_MockEdge on MockSchemasEdge { /// cursor /// node { /// __typename - /// ... ListPersonalAccessTokenCommand_PersonalAccessToken + /// ... ListMockCommand_Mock /// } /// } /// - /// fragment ListPersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// fragment ListMockCommand_Mock on MockSchema { /// id - /// description - /// expiresAt - /// createdAt - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// name + /// ... MockSchemaDetailPrompt /// } /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id - /// description + /// name /// createdAt - /// expiresAt + /// createdBy { + /// __typename + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username + /// } + /// downstreamUrl + /// url /// } /// /// fragment PageInfo on PageInfo { @@ -123723,116 +149509,130 @@ private ListPersonalAccessTokenCommandQueryQueryDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListPersonalAccessTokenCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private ListPersonalAccessTokenCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListPersonalAccessTokenCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListPersonalAccessTokenCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListPersonalAccessTokenCommandQueryQueryDocument.Instance.Hash.Value, name: "ListPersonalAccessTokenCommandQuery", document: ListPersonalAccessTokenCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListMockCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListMockCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListMockCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListMockCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListMockCommandQueryQueryDocument.Instance.Hash.Value, name: "ListMockCommandQuery", document: ListMockCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the ListPersonalAccessTokenCommandQuery GraphQL operation + /// Represents the operation service of the ListMockCommandQuery GraphQL operation /// - /// query ListPersonalAccessTokenCommandQuery($after: String, $first: Int) { - /// me { + /// query ListMockCommandQuery($apiId: ID!, $after: String, $first: Int) { + /// apiById(id: $apiId) { /// __typename - /// personalAccessTokens(after: $after, first: $first) { + /// mockSchemas(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... ListPersonalAccessTokenCommand_PersonalAccessTokenEdge + /// ... ListMockCommand_MockEdge /// } /// pageInfo { /// __typename @@ -123842,27 +149642,35 @@ private ListPersonalAccessTokenCommandQueryQuery(global::StrawberryShake.IOperat /// } /// } /// - /// fragment ListPersonalAccessTokenCommand_PersonalAccessTokenEdge on PersonalAccessTokensEdge { + /// fragment ListMockCommand_MockEdge on MockSchemasEdge { /// cursor /// node { /// __typename - /// ... ListPersonalAccessTokenCommand_PersonalAccessToken + /// ... ListMockCommand_Mock /// } /// } /// - /// fragment ListPersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// fragment ListMockCommand_Mock on MockSchema { /// id - /// description - /// expiresAt - /// createdAt - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// name + /// ... MockSchemaDetailPrompt /// } /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id - /// description + /// name /// createdAt - /// expiresAt + /// createdBy { + /// __typename + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username + /// } + /// downstreamUrl + /// url /// } /// /// fragment PageInfo on PageInfo { @@ -123873,51 +149681,53 @@ private ListPersonalAccessTokenCommandQueryQuery(global::StrawberryShake.IOperat /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListPersonalAccessTokenCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListMockCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the CreatePersonalAccessTokenCommandMutation GraphQL operation + /// Represents the operation service of the UpdateMockSchema GraphQL operation /// - /// mutation CreatePersonalAccessTokenCommandMutation($input: CreatePersonalAccessTokenInput!) { - /// createPersonalAccessToken(input: $input) { + /// mutation UpdateMockSchema($mockSchemaId: ID!, $baseSchemaFile: Upload, $downstreamUrl: String, $extensionsSchemaFile: Upload, $name: String) { + /// updateMockSchema(input: { id: $mockSchemaId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { /// __typename - /// result { + /// mockSchema { /// __typename - /// token { - /// __typename - /// ... CreatePersonalAccessTokenCommandMutation_PersonalAccessToken - /// } - /// secret + /// id + /// ... MockSchemaDetailPrompt /// } /// errors { /// __typename - /// ... UnauthorizedOperation - /// ... Error + /// ... MockSchemaNotFoundError + /// ... MockSchemaNonUniqueNameError /// } /// } /// } /// - /// fragment CreatePersonalAccessTokenCommandMutation_PersonalAccessToken on PersonalAccessToken { - /// id - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken - /// } - /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id - /// description + /// name /// createdAt - /// expiresAt + /// createdBy { + /// __typename + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username + /// } + /// downstreamUrl + /// url /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment MockSchemaNotFoundError on MockSchemaNotFoundError { /// __typename /// message /// ... Error @@ -123926,65 +149736,74 @@ public partial interface IListPersonalAccessTokenCommandQueryQuery : global::Str /// fragment Error on Error { /// message /// } + /// + /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// __typename + /// message + /// name + /// ... Error + /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private CreatePersonalAccessTokenCommandMutationMutationDocument() - { - } - - public static CreatePersonalAccessTokenCommandMutationMutationDocument Instance { get; } = new CreatePersonalAccessTokenCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "46cc5ecdb98af795749ecb6f2d419092"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchemaMutationDocument : global::StrawberryShake.IDocument + { + private UpdateMockSchemaMutationDocument() + { + } + + public static UpdateMockSchemaMutationDocument Instance { get; } = new UpdateMockSchemaMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "b111cbd352fbdf127d499cd8d4f84433"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the CreatePersonalAccessTokenCommandMutation GraphQL operation + /// Represents the operation service of the UpdateMockSchema GraphQL operation /// - /// mutation CreatePersonalAccessTokenCommandMutation($input: CreatePersonalAccessTokenInput!) { - /// createPersonalAccessToken(input: $input) { + /// mutation UpdateMockSchema($mockSchemaId: ID!, $baseSchemaFile: Upload, $downstreamUrl: String, $extensionsSchemaFile: Upload, $name: String) { + /// updateMockSchema(input: { id: $mockSchemaId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { /// __typename - /// result { + /// mockSchema { /// __typename - /// token { - /// __typename - /// ... CreatePersonalAccessTokenCommandMutation_PersonalAccessToken - /// } - /// secret + /// id + /// ... MockSchemaDetailPrompt /// } /// errors { /// __typename - /// ... UnauthorizedOperation - /// ... Error + /// ... MockSchemaNotFoundError + /// ... MockSchemaNonUniqueNameError /// } /// } /// } /// - /// fragment CreatePersonalAccessTokenCommandMutation_PersonalAccessToken on PersonalAccessToken { - /// id - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken - /// } - /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id - /// description + /// name /// createdAt - /// expiresAt + /// createdBy { + /// __typename + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username + /// } + /// downstreamUrl + /// url /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment MockSchemaNotFoundError on MockSchemaNotFoundError { /// __typename /// message /// ... Error @@ -123993,124 +149812,204 @@ private CreatePersonalAccessTokenCommandMutationMutationDocument() /// fragment Error on Error { /// message /// } + /// + /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// __typename + /// message + /// name + /// ... Error + /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createPersonalAccessTokenInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CreatePersonalAccessTokenCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _createPersonalAccessTokenInputFormatter = serializerResolver.GetInputValueFormatter("CreatePersonalAccessTokenInput"); - } - - private CreatePersonalAccessTokenCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createPersonalAccessTokenInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _createPersonalAccessTokenInputFormatter = createPersonalAccessTokenInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreatePersonalAccessTokenCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createPersonalAccessTokenInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: CreatePersonalAccessTokenCommandMutationMutationDocument.Instance.Hash.Value, name: "CreatePersonalAccessTokenCommandMutation", document: CreatePersonalAccessTokenCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _createPersonalAccessTokenInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchemaMutation : global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public UpdateMockSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _uploadFormatter = serializerResolver.GetInputValueFormatter("Upload"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + private UpdateMockSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _uploadFormatter = uploadFormatter; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUpdateMockSchemaResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchemaMutation(_operationExecutor, _configure.Add(configure), _uploadFormatter, _stringFormatter, _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(mockSchemaId, baseSchemaFile, downstreamUrl, extensionsSchemaFile, name); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromArgumentBaseSchemaFile(global::System.String path, global::StrawberryShake.Upload? value, global::System.Collections.Generic.Dictionary files) + { + files.Add(path, value is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentExtensionsSchemaFile(global::System.String path, global::StrawberryShake.Upload? value, global::System.Collections.Generic.Dictionary files) + { + files.Add(path, value is global::StrawberryShake.Upload u ? u : null); + } + + public global::System.IObservable> Watch(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(mockSchemaId, baseSchemaFile, downstreamUrl, extensionsSchemaFile, name); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("mockSchemaId", FormatMockSchemaId(mockSchemaId)); + variables.Add("baseSchemaFile", FormatBaseSchemaFile(baseSchemaFile)); + variables.Add("downstreamUrl", FormatDownstreamUrl(downstreamUrl)); + variables.Add("extensionsSchemaFile", FormatExtensionsSchemaFile(extensionsSchemaFile)); + variables.Add("name", FormatName(name)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentBaseSchemaFile("variables.baseSchemaFile", baseSchemaFile, files); + MapFilesFromArgumentExtensionsSchemaFile("variables.extensionsSchemaFile", extensionsSchemaFile, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: UpdateMockSchemaMutationDocument.Instance.Hash.Value, name: "UpdateMockSchema", document: UpdateMockSchemaMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatMockSchemaId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatBaseSchemaFile(global::StrawberryShake.Upload? value) + { + if (value is null) + { + return value; + } + else + { + return _uploadFormatter.Format(value); + } + } + + private global::System.Object? FormatDownstreamUrl(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatExtensionsSchemaFile(global::StrawberryShake.Upload? value) + { + if (value is null) + { + return value; + } + else + { + return _uploadFormatter.Format(value); + } + } + + private global::System.Object? FormatName(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + /// - /// Represents the operation service of the CreatePersonalAccessTokenCommandMutation GraphQL operation + /// Represents the operation service of the UpdateMockSchema GraphQL operation /// - /// mutation CreatePersonalAccessTokenCommandMutation($input: CreatePersonalAccessTokenInput!) { - /// createPersonalAccessToken(input: $input) { + /// mutation UpdateMockSchema($mockSchemaId: ID!, $baseSchemaFile: Upload, $downstreamUrl: String, $extensionsSchemaFile: Upload, $name: String) { + /// updateMockSchema(input: { id: $mockSchemaId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { /// __typename - /// result { + /// mockSchema { /// __typename - /// token { - /// __typename - /// ... CreatePersonalAccessTokenCommandMutation_PersonalAccessToken - /// } - /// secret + /// id + /// ... MockSchemaDetailPrompt /// } /// errors { /// __typename - /// ... UnauthorizedOperation - /// ... Error + /// ... MockSchemaNotFoundError + /// ... MockSchemaNonUniqueNameError /// } /// } /// } /// - /// fragment CreatePersonalAccessTokenCommandMutation_PersonalAccessToken on PersonalAccessToken { - /// id - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken - /// } - /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id - /// description + /// name /// createdAt - /// expiresAt + /// createdBy { + /// __typename + /// username + /// } + /// modifiedAt + /// modifiedBy { + /// __typename + /// username + /// } + /// downstreamUrl + /// url /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment MockSchemaNotFoundError on MockSchemaNotFoundError { /// __typename /// message /// ... Error @@ -124119,283 +150018,310 @@ private CreatePersonalAccessTokenCommandMutationMutation(global::StrawberryShake /// fragment Error on Error { /// message /// } + /// + /// fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { + /// __typename + /// message + /// name + /// ... Error + /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchemaMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String mockSchemaId, global::StrawberryShake.Upload? baseSchemaFile, global::System.String? downstreamUrl, global::StrawberryShake.Upload? extensionsSchemaFile, global::System.String? name, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the RevokePersonalAccessTokenCommandMutation GraphQL operation + /// Represents the operation service of the CreateOpenApiCollectionCommandMutation GraphQL operation /// - /// mutation RevokePersonalAccessTokenCommandMutation($input: RevokePersonalAccessTokenInput!) { - /// revokePersonalAccessToken(input: $input) { + /// mutation CreateOpenApiCollectionCommandMutation($input: CreateOpenApiCollectionInput!) { + /// createOpenApiCollection(input: $input) { /// __typename - /// personalAccessToken { + /// openApiCollection { /// __typename - /// ... RevokePersonalAccessTokenCommand_PersonalAccessToken + /// ... CreateOpenApiCollectionCommandMutation_OpenApiCollection /// } /// errors { /// __typename - /// ... PersonalAccessTokenNotFoundError /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation /// } /// } /// } /// - /// fragment RevokePersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// fragment CreateOpenApiCollectionCommandMutation_OpenApiCollection on OpenApiCollection { + /// name /// id - /// description - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// ... OpenApiCollectionDetailPrompt_OpenApiCollection /// } /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { /// id - /// description - /// createdAt - /// expiresAt + /// name /// } /// - /// fragment PersonalAccessTokenNotFoundError on PersonalAccessTokenNotFoundError { + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename /// message + /// apiId /// ... Error /// } /// - /// fragment Error on Error { + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private RevokePersonalAccessTokenCommandMutationMutationDocument() - { - } - - public static RevokePersonalAccessTokenCommandMutationMutationDocument Instance { get; } = new RevokePersonalAccessTokenCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "147298b7a2e237b07f06e5a7c2b1ef84"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private CreateOpenApiCollectionCommandMutationMutationDocument() + { + } + + public static CreateOpenApiCollectionCommandMutationMutationDocument Instance { get; } = new CreateOpenApiCollectionCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "5758d2edb80ceb1aa05694485dfdaeed"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the RevokePersonalAccessTokenCommandMutation GraphQL operation + /// Represents the operation service of the CreateOpenApiCollectionCommandMutation GraphQL operation /// - /// mutation RevokePersonalAccessTokenCommandMutation($input: RevokePersonalAccessTokenInput!) { - /// revokePersonalAccessToken(input: $input) { + /// mutation CreateOpenApiCollectionCommandMutation($input: CreateOpenApiCollectionInput!) { + /// createOpenApiCollection(input: $input) { /// __typename - /// personalAccessToken { + /// openApiCollection { /// __typename - /// ... RevokePersonalAccessTokenCommand_PersonalAccessToken + /// ... CreateOpenApiCollectionCommandMutation_OpenApiCollection /// } /// errors { /// __typename - /// ... PersonalAccessTokenNotFoundError /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation /// } /// } /// } /// - /// fragment RevokePersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// fragment CreateOpenApiCollectionCommandMutation_OpenApiCollection on OpenApiCollection { + /// name /// id - /// description - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// ... OpenApiCollectionDetailPrompt_OpenApiCollection /// } /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { /// id - /// description - /// createdAt - /// expiresAt + /// name /// } /// - /// fragment PersonalAccessTokenNotFoundError on PersonalAccessTokenNotFoundError { + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename /// message + /// apiId /// ... Error /// } /// - /// fragment Error on Error { + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _revokePersonalAccessTokenInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public RevokePersonalAccessTokenCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _revokePersonalAccessTokenInputFormatter = serializerResolver.GetInputValueFormatter("RevokePersonalAccessTokenInput"); - } - - private RevokePersonalAccessTokenCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter revokePersonalAccessTokenInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _revokePersonalAccessTokenInputFormatter = revokePersonalAccessTokenInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IRevokePersonalAccessTokenCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenCommandMutationMutation(_operationExecutor, _configure.Add(configure), _revokePersonalAccessTokenInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: RevokePersonalAccessTokenCommandMutationMutationDocument.Instance.Hash.Value, name: "RevokePersonalAccessTokenCommandMutation", document: RevokePersonalAccessTokenCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _revokePersonalAccessTokenInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createOpenApiCollectionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _createOpenApiCollectionInputFormatter = serializerResolver.GetInputValueFormatter("CreateOpenApiCollectionInput"); + } + + private CreateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createOpenApiCollectionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _createOpenApiCollectionInputFormatter = createOpenApiCollectionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateOpenApiCollectionCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createOpenApiCollectionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CreateOpenApiCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateOpenApiCollectionCommandMutation", document: CreateOpenApiCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _createOpenApiCollectionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the RevokePersonalAccessTokenCommandMutation GraphQL operation + /// Represents the operation service of the CreateOpenApiCollectionCommandMutation GraphQL operation /// - /// mutation RevokePersonalAccessTokenCommandMutation($input: RevokePersonalAccessTokenInput!) { - /// revokePersonalAccessToken(input: $input) { + /// mutation CreateOpenApiCollectionCommandMutation($input: CreateOpenApiCollectionInput!) { + /// createOpenApiCollection(input: $input) { /// __typename - /// personalAccessToken { + /// openApiCollection { /// __typename - /// ... RevokePersonalAccessTokenCommand_PersonalAccessToken + /// ... CreateOpenApiCollectionCommandMutation_OpenApiCollection /// } /// errors { /// __typename - /// ... PersonalAccessTokenNotFoundError /// ... Error + /// ... ApiNotFoundError + /// ... UnauthorizedOperation /// } /// } /// } /// - /// fragment RevokePersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// fragment CreateOpenApiCollectionCommandMutation_OpenApiCollection on OpenApiCollection { + /// name /// id - /// description - /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// ... OpenApiCollectionDetailPrompt_OpenApiCollection /// } /// - /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { /// id - /// description - /// createdAt - /// expiresAt + /// name /// } /// - /// fragment PersonalAccessTokenNotFoundError on PersonalAccessTokenNotFoundError { + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename /// message + /// apiId /// ... Error /// } /// - /// fragment Error on Error { + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the UploadOpenApiCollectionCommandMutation GraphQL operation + /// Represents the operation service of the DeleteOpenApiCollectionByIdCommandMutation GraphQL operation /// - /// mutation UploadOpenApiCollectionCommandMutation($input: UploadOpenApiCollectionInput!) { - /// uploadOpenApiCollection(input: $input) { + /// mutation DeleteOpenApiCollectionByIdCommandMutation($input: DeleteOpenApiCollectionByIdInput!) { + /// deleteOpenApiCollectionById(input: $input) { /// __typename - /// openApiCollectionVersion { + /// openApiCollection { /// __typename - /// id + /// ... DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection /// } /// errors { /// __typename - /// ... UnauthorizedOperation - /// ... OpenApiCollectionNotFoundError - /// ... InvalidOpenApiCollectionArchiveError - /// ... DuplicatedTagError - /// ... ConcurrentOperationError /// ... Error + /// ... OpenApiCollectionNotFoundError + /// ... UnauthorizedOperation /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error + /// fragment DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection on OpenApiCollection { + /// name + /// id + /// ... OpenApiCollectionDetailPrompt_OpenApiCollection + /// } + /// + /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { + /// id + /// name /// } /// /// fragment Error on Error { @@ -124407,71 +150333,63 @@ public partial interface IRevokePersonalAccessTokenCommandMutationMutation : glo /// ... Error /// } /// - /// fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchiveError { - /// message - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private UploadOpenApiCollectionCommandMutationMutationDocument() - { - } - - public static UploadOpenApiCollectionCommandMutationMutationDocument Instance { get; } = new UploadOpenApiCollectionCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "7fec40ddb8a7c93a69817de82959f38a"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private DeleteOpenApiCollectionByIdCommandMutationMutationDocument() + { + } + + public static DeleteOpenApiCollectionByIdCommandMutationMutationDocument Instance { get; } = new DeleteOpenApiCollectionByIdCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "e7828352aef7a0d78376c52b11a5f54e"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the UploadOpenApiCollectionCommandMutation GraphQL operation + /// Represents the operation service of the DeleteOpenApiCollectionByIdCommandMutation GraphQL operation /// - /// mutation UploadOpenApiCollectionCommandMutation($input: UploadOpenApiCollectionInput!) { - /// uploadOpenApiCollection(input: $input) { + /// mutation DeleteOpenApiCollectionByIdCommandMutation($input: DeleteOpenApiCollectionByIdInput!) { + /// deleteOpenApiCollectionById(input: $input) { /// __typename - /// openApiCollectionVersion { + /// openApiCollection { /// __typename - /// id + /// ... DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection /// } /// errors { /// __typename - /// ... UnauthorizedOperation - /// ... OpenApiCollectionNotFoundError - /// ... InvalidOpenApiCollectionArchiveError - /// ... DuplicatedTagError - /// ... ConcurrentOperationError /// ... Error + /// ... OpenApiCollectionNotFoundError + /// ... UnauthorizedOperation /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error + /// fragment DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection on OpenApiCollection { + /// name + /// id + /// ... OpenApiCollectionDetailPrompt_OpenApiCollection + /// } + /// + /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { + /// id + /// name /// } /// /// fragment Error on Error { @@ -124483,147 +150401,122 @@ private UploadOpenApiCollectionCommandMutationMutationDocument() /// ... Error /// } /// - /// fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchiveError { - /// message - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadOpenApiCollectionInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public UploadOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _uploadOpenApiCollectionInputFormatter = serializerResolver.GetInputValueFormatter("UploadOpenApiCollectionInput"); - } - - private UploadOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadOpenApiCollectionInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _uploadOpenApiCollectionInputFormatter = uploadOpenApiCollectionInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadOpenApiCollectionCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _uploadOpenApiCollectionInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeUploadOpenApiCollectionInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput value, global::System.Collections.Generic.Dictionary files) - { - var pathCollection = path + ".collection"; - var valueCollection = value.Collection; - files.Add(pathCollection, valueCollection is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeUploadOpenApiCollectionInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: UploadOpenApiCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "UploadOpenApiCollectionCommandMutation", document: UploadOpenApiCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _uploadOpenApiCollectionInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _deleteOpenApiCollectionByIdInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public DeleteOpenApiCollectionByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _deleteOpenApiCollectionByIdInputFormatter = serializerResolver.GetInputValueFormatter("DeleteOpenApiCollectionByIdInput"); + } + + private DeleteOpenApiCollectionByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter deleteOpenApiCollectionByIdInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _deleteOpenApiCollectionByIdInputFormatter = deleteOpenApiCollectionByIdInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteOpenApiCollectionByIdCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdCommandMutationMutation(_operationExecutor, _configure.Add(configure), _deleteOpenApiCollectionByIdInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: DeleteOpenApiCollectionByIdCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteOpenApiCollectionByIdCommandMutation", document: DeleteOpenApiCollectionByIdCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _deleteOpenApiCollectionByIdInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the UploadOpenApiCollectionCommandMutation GraphQL operation + /// Represents the operation service of the DeleteOpenApiCollectionByIdCommandMutation GraphQL operation /// - /// mutation UploadOpenApiCollectionCommandMutation($input: UploadOpenApiCollectionInput!) { - /// uploadOpenApiCollection(input: $input) { + /// mutation DeleteOpenApiCollectionByIdCommandMutation($input: DeleteOpenApiCollectionByIdInput!) { + /// deleteOpenApiCollectionById(input: $input) { /// __typename - /// openApiCollectionVersion { + /// openApiCollection { /// __typename - /// id + /// ... DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection /// } /// errors { /// __typename - /// ... UnauthorizedOperation - /// ... OpenApiCollectionNotFoundError - /// ... InvalidOpenApiCollectionArchiveError - /// ... DuplicatedTagError - /// ... ConcurrentOperationError /// ... Error + /// ... OpenApiCollectionNotFoundError + /// ... UnauthorizedOperation /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error + /// fragment DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection on OpenApiCollection { + /// name + /// id + /// ... OpenApiCollectionDetailPrompt_OpenApiCollection + /// } + /// + /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { + /// id + /// name /// } /// /// fragment Error on Error { @@ -124635,33 +150528,23 @@ private void MapFilesFromArgumentInput(global::System.String path, global::Chill /// ... Error /// } /// - /// fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchiveError { - /// message - /// } - /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the ListOpenApiCollectionCommandQuery GraphQL operation /// @@ -124711,28 +150594,28 @@ public partial interface IUploadOpenApiCollectionCommandMutationMutation : globa /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListOpenApiCollectionCommandQueryQueryDocument() - { - } - - public static ListOpenApiCollectionCommandQueryQueryDocument Instance { get; } = new ListOpenApiCollectionCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "cd98258e9a04da627abb631685b299df"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListOpenApiCollectionCommandQueryQueryDocument() + { + } + + public static ListOpenApiCollectionCommandQueryQueryDocument Instance { get; } = new ListOpenApiCollectionCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "cd98258e9a04da627abb631685b299df"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the ListOpenApiCollectionCommandQuery GraphQL operation /// @@ -124782,119 +150665,119 @@ private ListOpenApiCollectionCommandQueryQueryDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListOpenApiCollectionCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private ListOpenApiCollectionCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListOpenApiCollectionCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListOpenApiCollectionCommandQueryQueryDocument.Instance.Hash.Value, name: "ListOpenApiCollectionCommandQuery", document: ListOpenApiCollectionCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListOpenApiCollectionCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListOpenApiCollectionCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListOpenApiCollectionCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListOpenApiCollectionCommandQueryQueryDocument.Instance.Hash.Value, name: "ListOpenApiCollectionCommandQuery", document: ListOpenApiCollectionCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the ListOpenApiCollectionCommandQuery GraphQL operation /// @@ -124944,16 +150827,16 @@ private ListOpenApiCollectionCommandQueryQuery(global::StrawberryShake.IOperatio /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListOpenApiCollectionCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListOpenApiCollectionCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the PublishOpenApiCollectionCommandMutation GraphQL operation /// @@ -125002,28 +150885,28 @@ public partial interface IListOpenApiCollectionCommandQueryQuery : global::Straw /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private PublishOpenApiCollectionCommandMutationMutationDocument() - { - } - - public static PublishOpenApiCollectionCommandMutationMutationDocument Instance { get; } = new PublishOpenApiCollectionCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "3b9dd305052255f2532cc87618161446"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private PublishOpenApiCollectionCommandMutationMutationDocument() + { + } + + public static PublishOpenApiCollectionCommandMutationMutationDocument Instance { get; } = new PublishOpenApiCollectionCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "3b9dd305052255f2532cc87618161446"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the PublishOpenApiCollectionCommandMutation GraphQL operation /// @@ -125072,87 +150955,87 @@ private PublishOpenApiCollectionCommandMutationMutationDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _publishOpenApiCollectionInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public PublishOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _publishOpenApiCollectionInputFormatter = serializerResolver.GetInputValueFormatter("PublishOpenApiCollectionInput"); - } - - private PublishOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter publishOpenApiCollectionInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _publishOpenApiCollectionInputFormatter = publishOpenApiCollectionInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishOpenApiCollectionCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _publishOpenApiCollectionInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: PublishOpenApiCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "PublishOpenApiCollectionCommandMutation", document: PublishOpenApiCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _publishOpenApiCollectionInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _publishOpenApiCollectionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public PublishOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _publishOpenApiCollectionInputFormatter = serializerResolver.GetInputValueFormatter("PublishOpenApiCollectionInput"); + } + + private PublishOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter publishOpenApiCollectionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _publishOpenApiCollectionInputFormatter = publishOpenApiCollectionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishOpenApiCollectionCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _publishOpenApiCollectionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: PublishOpenApiCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "PublishOpenApiCollectionCommandMutation", document: PublishOpenApiCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _publishOpenApiCollectionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the PublishOpenApiCollectionCommandMutation GraphQL operation /// @@ -125201,16 +151084,16 @@ private PublishOpenApiCollectionCommandMutationMutation(global::StrawberryShake. /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the PublishOpenApiCollectionCommandSubscription GraphQL operation /// @@ -125320,6 +151203,7 @@ public partial interface IPublishOpenApiCollectionCommandMutationMutation : glob /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on ClientDeployment { @@ -125335,6 +151219,7 @@ public partial interface IPublishOpenApiCollectionCommandMutationMutation : glob /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on OpenApiCollectionDeployment { @@ -125343,6 +151228,12 @@ public partial interface IPublishOpenApiCollectionCommandMutationMutation : glob /// ... OpenApiCollectionValidationError /// } /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } /// } /// } /// @@ -125709,6 +151600,46 @@ public partial interface IPublishOpenApiCollectionCommandMutationMutation : glob /// } /// } /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// /// fragment ProcessingTaskApproved on ProcessingTaskApproved { /// state /// } @@ -125723,28 +151654,28 @@ public partial interface IPublishOpenApiCollectionCommandMutationMutation : glob /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument : global::StrawberryShake.IDocument - { - private PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument() - { - } - - public static PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument Instance { get; } = new PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "3e7c1fd788b6f07b00b9a4ca68aa6807"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument : global::StrawberryShake.IDocument + { + private PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument() + { + } + + public static PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument Instance { get; } = new PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "3cb7cfb1e2c00815ac6b61d95b84b060"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the PublishOpenApiCollectionCommandSubscription GraphQL operation /// @@ -125854,6 +151785,7 @@ private PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument() /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on ClientDeployment { @@ -125869,6 +151801,7 @@ private PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument() /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on OpenApiCollectionDeployment { @@ -125877,6 +151810,12 @@ private PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument() /// ... OpenApiCollectionValidationError /// } /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } /// } /// } /// @@ -126243,6 +152182,46 @@ private PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument() /// } /// } /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// /// fragment ProcessingTaskApproved on ProcessingTaskApproved { /// state /// } @@ -126257,53 +152236,53 @@ private PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscriptionSubscription : global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - public PublishOpenApiCollectionCommandSubscriptionSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishOpenApiCollectionCommandSubscriptionResult); - - public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(requestId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("requestId", FormatRequestId(requestId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument.Instance.Hash.Value, name: "PublishOpenApiCollectionCommandSubscription", document: PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatRequestId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscriptionSubscription : global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public PublishOpenApiCollectionCommandSubscriptionSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishOpenApiCollectionCommandSubscriptionResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument.Instance.Hash.Value, name: "PublishOpenApiCollectionCommandSubscription", document: PublishOpenApiCollectionCommandSubscriptionSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the PublishOpenApiCollectionCommandSubscription GraphQL operation /// @@ -126413,6 +152392,7 @@ public PublishOpenApiCollectionCommandSubscriptionSubscription(global::Strawberr /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on ClientDeployment { @@ -126428,6 +152408,7 @@ public PublishOpenApiCollectionCommandSubscriptionSubscription(global::Strawberr /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on OpenApiCollectionDeployment { @@ -126436,6 +152417,12 @@ public PublishOpenApiCollectionCommandSubscriptionSubscription(global::Strawberr /// ... OpenApiCollectionValidationError /// } /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } /// } /// } /// @@ -126802,26 +152789,358 @@ public PublishOpenApiCollectionCommandSubscriptionSubscription(global::Strawberr /// } /// } /// - /// fragment ProcessingTaskApproved on ProcessingTaskApproved { - /// state + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state + /// } + /// + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename + /// } + /// + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionCommandSubscriptionSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the UploadOpenApiCollectionCommandMutation GraphQL operation + /// + /// mutation UploadOpenApiCollectionCommandMutation($input: UploadOpenApiCollectionInput!) { + /// uploadOpenApiCollection(input: $input) { + /// __typename + /// openApiCollectionVersion { + /// __typename + /// id + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... OpenApiCollectionNotFoundError + /// ... InvalidOpenApiCollectionArchiveError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { + /// openApiCollectionId + /// ... Error + /// } + /// + /// fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchiveError { + /// message + /// } + /// + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private UploadOpenApiCollectionCommandMutationMutationDocument() + { + } + + public static UploadOpenApiCollectionCommandMutationMutationDocument Instance { get; } = new UploadOpenApiCollectionCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "7fec40ddb8a7c93a69817de82959f38a"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the UploadOpenApiCollectionCommandMutation GraphQL operation + /// + /// mutation UploadOpenApiCollectionCommandMutation($input: UploadOpenApiCollectionInput!) { + /// uploadOpenApiCollection(input: $input) { + /// __typename + /// openApiCollectionVersion { + /// __typename + /// id + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... OpenApiCollectionNotFoundError + /// ... InvalidOpenApiCollectionArchiveError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { + /// openApiCollectionId + /// ... Error + /// } + /// + /// fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchiveError { + /// message + /// } + /// + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadOpenApiCollectionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public UploadOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _uploadOpenApiCollectionInputFormatter = serializerResolver.GetInputValueFormatter("UploadOpenApiCollectionInput"); + } + + private UploadOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadOpenApiCollectionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _uploadOpenApiCollectionInputFormatter = uploadOpenApiCollectionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadOpenApiCollectionCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _uploadOpenApiCollectionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeUploadOpenApiCollectionInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput value, global::System.Collections.Generic.Dictionary files) + { + var pathCollection = path + ".collection"; + var valueCollection = value.Collection; + files.Add(pathCollection, valueCollection is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeUploadOpenApiCollectionInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: UploadOpenApiCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "UploadOpenApiCollectionCommandMutation", document: UploadOpenApiCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _uploadOpenApiCollectionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + + /// + /// Represents the operation service of the UploadOpenApiCollectionCommandMutation GraphQL operation + /// + /// mutation UploadOpenApiCollectionCommandMutation($input: UploadOpenApiCollectionInput!) { + /// uploadOpenApiCollection(input: $input) { + /// __typename + /// openApiCollectionVersion { + /// __typename + /// id + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... OpenApiCollectionNotFoundError + /// ... InvalidOpenApiCollectionArchiveError + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// - /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { - /// ready: __typename + /// fragment Error on Error { + /// message /// } /// - /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { - /// queued: __typename - /// queuePosition + /// fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { + /// openApiCollectionId + /// ... Error + /// } + /// + /// fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchiveError { + /// message + /// } + /// + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionCommandSubscriptionSubscription : global::StrawberryShake.IOperationRequestFactory - { - global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the ValidateOpenApiCollectionCommandMutation GraphQL operation /// @@ -126862,28 +153181,28 @@ public partial interface IPublishOpenApiCollectionCommandSubscriptionSubscriptio /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private ValidateOpenApiCollectionCommandMutationMutationDocument() - { - } - - public static ValidateOpenApiCollectionCommandMutationMutationDocument Instance { get; } = new ValidateOpenApiCollectionCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "e3e054b46fe9354a8fe15a8b0dea1624"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private ValidateOpenApiCollectionCommandMutationMutationDocument() + { + } + + public static ValidateOpenApiCollectionCommandMutationMutationDocument Instance { get; } = new ValidateOpenApiCollectionCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "e3e054b46fe9354a8fe15a8b0dea1624"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the ValidateOpenApiCollectionCommandMutation GraphQL operation /// @@ -126924,104 +153243,104 @@ private ValidateOpenApiCollectionCommandMutationMutationDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateOpenApiCollectionInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ValidateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _validateOpenApiCollectionInputFormatter = serializerResolver.GetInputValueFormatter("ValidateOpenApiCollectionInput"); - } - - private ValidateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateOpenApiCollectionInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _validateOpenApiCollectionInputFormatter = validateOpenApiCollectionInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateOpenApiCollectionCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _validateOpenApiCollectionInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeValidateOpenApiCollectionInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput value, global::System.Collections.Generic.Dictionary files) - { - var pathCollection = path + ".collection"; - var valueCollection = value.Collection; - files.Add(pathCollection, valueCollection is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeValidateOpenApiCollectionInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: ValidateOpenApiCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "ValidateOpenApiCollectionCommandMutation", document: ValidateOpenApiCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _validateOpenApiCollectionInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateOpenApiCollectionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ValidateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _validateOpenApiCollectionInputFormatter = serializerResolver.GetInputValueFormatter("ValidateOpenApiCollectionInput"); + } + + private ValidateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateOpenApiCollectionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _validateOpenApiCollectionInputFormatter = validateOpenApiCollectionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateOpenApiCollectionCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _validateOpenApiCollectionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeValidateOpenApiCollectionInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput value, global::System.Collections.Generic.Dictionary files) + { + var pathCollection = path + ".collection"; + var valueCollection = value.Collection; + files.Add(pathCollection, valueCollection is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeValidateOpenApiCollectionInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: ValidateOpenApiCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "ValidateOpenApiCollectionCommandMutation", document: ValidateOpenApiCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _validateOpenApiCollectionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + /// /// Represents the operation service of the ValidateOpenApiCollectionCommandMutation GraphQL operation /// @@ -127062,16 +153381,16 @@ private void MapFilesFromArgumentInput(global::System.String path, global::Chill /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the ValidateOpenApiCollectionCommandSubscription GraphQL operation /// @@ -127164,28 +153483,28 @@ public partial interface IValidateOpenApiCollectionCommandMutationMutation : glo /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument : global::StrawberryShake.IDocument - { - private ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument() - { - } - - public static ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument Instance { get; } = new ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "f230bc4d51fb6f5456e272f3aa163aff"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument : global::StrawberryShake.IDocument + { + private ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument() + { + } + + public static ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument Instance { get; } = new ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "f230bc4d51fb6f5456e272f3aa163aff"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the ValidateOpenApiCollectionCommandSubscription GraphQL operation /// @@ -127278,53 +153597,53 @@ private ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscriptionSubscription : global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - public ValidateOpenApiCollectionCommandSubscriptionSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateOpenApiCollectionCommandSubscriptionResult); - - public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(requestId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("requestId", FormatRequestId(requestId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument.Instance.Hash.Value, name: "ValidateOpenApiCollectionCommandSubscription", document: ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatRequestId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscriptionSubscription : global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public ValidateOpenApiCollectionCommandSubscriptionSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateOpenApiCollectionCommandSubscriptionResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument.Instance.Hash.Value, name: "ValidateOpenApiCollectionCommandSubscription", document: ValidateOpenApiCollectionCommandSubscriptionSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the ValidateOpenApiCollectionCommandSubscription GraphQL operation /// @@ -127417,239 +153736,805 @@ public ValidateOpenApiCollectionCommandSubscriptionSubscription(global::Strawber /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionCommandSubscriptionSubscription : global::StrawberryShake.IOperationRequestFactory - { - global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionCommandSubscriptionSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the CreateOpenApiCollectionCommandMutation GraphQL operation + /// Represents the operation service of the CreatePersonalAccessTokenCommandMutation GraphQL operation /// - /// mutation CreateOpenApiCollectionCommandMutation($input: CreateOpenApiCollectionInput!) { - /// createOpenApiCollection(input: $input) { + /// mutation CreatePersonalAccessTokenCommandMutation($input: CreatePersonalAccessTokenInput!) { + /// createPersonalAccessToken(input: $input) { /// __typename - /// openApiCollection { + /// result { /// __typename - /// ... CreateOpenApiCollectionCommandMutation_OpenApiCollection + /// token { + /// __typename + /// ... CreatePersonalAccessTokenCommandMutation_PersonalAccessToken + /// } + /// secret /// } /// errors { /// __typename - /// ... Error - /// ... ApiNotFoundError /// ... UnauthorizedOperation + /// ... Error /// } /// } /// } /// - /// fragment CreateOpenApiCollectionCommandMutation_OpenApiCollection on OpenApiCollection { - /// name + /// fragment CreatePersonalAccessTokenCommandMutation_PersonalAccessToken on PersonalAccessToken { /// id - /// ... OpenApiCollectionDetailPrompt_OpenApiCollection + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken /// } /// - /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { /// id - /// name + /// description + /// createdAt + /// expiresAt + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { /// message /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private CreatePersonalAccessTokenCommandMutationMutationDocument() + { + } + + public static CreatePersonalAccessTokenCommandMutationMutationDocument Instance { get; } = new CreatePersonalAccessTokenCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "46cc5ecdb98af795749ecb6f2d419092"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CreatePersonalAccessTokenCommandMutation GraphQL operation + /// + /// mutation CreatePersonalAccessTokenCommandMutation($input: CreatePersonalAccessTokenInput!) { + /// createPersonalAccessToken(input: $input) { + /// __typename + /// result { + /// __typename + /// token { + /// __typename + /// ... CreatePersonalAccessTokenCommandMutation_PersonalAccessToken + /// } + /// secret + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... Error + /// } + /// } + /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment CreatePersonalAccessTokenCommandMutation_PersonalAccessToken on PersonalAccessToken { + /// id + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// } + /// + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// createdAt + /// expiresAt + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message - /// apiId /// ... Error /// } /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createPersonalAccessTokenInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreatePersonalAccessTokenCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _createPersonalAccessTokenInputFormatter = serializerResolver.GetInputValueFormatter("CreatePersonalAccessTokenInput"); + } + + private CreatePersonalAccessTokenCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createPersonalAccessTokenInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _createPersonalAccessTokenInputFormatter = createPersonalAccessTokenInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreatePersonalAccessTokenCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createPersonalAccessTokenInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CreatePersonalAccessTokenCommandMutationMutationDocument.Instance.Hash.Value, name: "CreatePersonalAccessTokenCommandMutation", document: CreatePersonalAccessTokenCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _createPersonalAccessTokenInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the CreatePersonalAccessTokenCommandMutation GraphQL operation + /// + /// mutation CreatePersonalAccessTokenCommandMutation($input: CreatePersonalAccessTokenInput!) { + /// createPersonalAccessToken(input: $input) { + /// __typename + /// result { + /// __typename + /// token { + /// __typename + /// ... CreatePersonalAccessTokenCommandMutation_PersonalAccessToken + /// } + /// secret + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... Error + /// } + /// } + /// } + /// + /// fragment CreatePersonalAccessTokenCommandMutation_PersonalAccessToken on PersonalAccessToken { + /// id + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// } + /// + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// createdAt + /// expiresAt + /// } + /// /// fragment UnauthorizedOperation on UnauthorizedOperation { /// __typename /// message /// ... Error /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ListPersonalAccessTokenCommandQuery GraphQL operation + /// + /// query ListPersonalAccessTokenCommandQuery($after: String, $first: Int) { + /// me { + /// __typename + /// personalAccessTokens(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListPersonalAccessTokenCommand_PersonalAccessTokenEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListPersonalAccessTokenCommand_PersonalAccessTokenEdge on PersonalAccessTokensEdge { + /// cursor + /// node { + /// __typename + /// ... ListPersonalAccessTokenCommand_PersonalAccessToken + /// } + /// } + /// + /// fragment ListPersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// expiresAt + /// createdAt + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// } + /// + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// createdAt + /// expiresAt + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private CreateOpenApiCollectionCommandMutationMutationDocument() - { - } - - public static CreateOpenApiCollectionCommandMutationMutationDocument Instance { get; } = new CreateOpenApiCollectionCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "5758d2edb80ceb1aa05694485dfdaeed"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListPersonalAccessTokenCommandQueryQueryDocument() + { + } + + public static ListPersonalAccessTokenCommandQueryQueryDocument Instance { get; } = new ListPersonalAccessTokenCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "8403a76012480cacf4ff791dfdf9ab03"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the CreateOpenApiCollectionCommandMutation GraphQL operation + /// Represents the operation service of the ListPersonalAccessTokenCommandQuery GraphQL operation /// - /// mutation CreateOpenApiCollectionCommandMutation($input: CreateOpenApiCollectionInput!) { - /// createOpenApiCollection(input: $input) { + /// query ListPersonalAccessTokenCommandQuery($after: String, $first: Int) { + /// me { /// __typename - /// openApiCollection { + /// personalAccessTokens(after: $after, first: $first) { /// __typename - /// ... CreateOpenApiCollectionCommandMutation_OpenApiCollection + /// edges { + /// __typename + /// ... ListPersonalAccessTokenCommand_PersonalAccessTokenEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListPersonalAccessTokenCommand_PersonalAccessTokenEdge on PersonalAccessTokensEdge { + /// cursor + /// node { + /// __typename + /// ... ListPersonalAccessTokenCommand_PersonalAccessToken + /// } + /// } + /// + /// fragment ListPersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// expiresAt + /// createdAt + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// } + /// + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// createdAt + /// expiresAt + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListPersonalAccessTokenCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListPersonalAccessTokenCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListPersonalAccessTokenCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListPersonalAccessTokenCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListPersonalAccessTokenCommandQueryQueryDocument.Instance.Hash.Value, name: "ListPersonalAccessTokenCommandQuery", document: ListPersonalAccessTokenCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ListPersonalAccessTokenCommandQuery GraphQL operation + /// + /// query ListPersonalAccessTokenCommandQuery($after: String, $first: Int) { + /// me { + /// __typename + /// personalAccessTokens(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListPersonalAccessTokenCommand_PersonalAccessTokenEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } + /// } + /// + /// fragment ListPersonalAccessTokenCommand_PersonalAccessTokenEdge on PersonalAccessTokensEdge { + /// cursor + /// node { + /// __typename + /// ... ListPersonalAccessTokenCommand_PersonalAccessToken + /// } + /// } + /// + /// fragment ListPersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// expiresAt + /// createdAt + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// } + /// + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// createdAt + /// expiresAt + /// } + /// + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListPersonalAccessTokenCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the RevokePersonalAccessTokenCommandMutation GraphQL operation + /// + /// mutation RevokePersonalAccessTokenCommandMutation($input: RevokePersonalAccessTokenInput!) { + /// revokePersonalAccessToken(input: $input) { + /// __typename + /// personalAccessToken { + /// __typename + /// ... RevokePersonalAccessTokenCommand_PersonalAccessToken /// } /// errors { /// __typename + /// ... PersonalAccessTokenNotFoundError /// ... Error - /// ... ApiNotFoundError - /// ... UnauthorizedOperation /// } /// } /// } /// - /// fragment CreateOpenApiCollectionCommandMutation_OpenApiCollection on OpenApiCollection { - /// name + /// fragment RevokePersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { /// id - /// ... OpenApiCollectionDetailPrompt_OpenApiCollection + /// description + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken /// } /// - /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { /// id - /// name + /// description + /// createdAt + /// expiresAt + /// } + /// + /// fragment PersonalAccessTokenNotFoundError on PersonalAccessTokenNotFoundError { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { /// message /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private RevokePersonalAccessTokenCommandMutationMutationDocument() + { + } + + public static RevokePersonalAccessTokenCommandMutationMutationDocument Instance { get; } = new RevokePersonalAccessTokenCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "147298b7a2e237b07f06e5a7c2b1ef84"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the RevokePersonalAccessTokenCommandMutation GraphQL operation + /// + /// mutation RevokePersonalAccessTokenCommandMutation($input: RevokePersonalAccessTokenInput!) { + /// revokePersonalAccessToken(input: $input) { + /// __typename + /// personalAccessToken { + /// __typename + /// ... RevokePersonalAccessTokenCommand_PersonalAccessToken + /// } + /// errors { + /// __typename + /// ... PersonalAccessTokenNotFoundError + /// ... Error + /// } + /// } + /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment RevokePersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// } + /// + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// createdAt + /// expiresAt + /// } + /// + /// fragment PersonalAccessTokenNotFoundError on PersonalAccessTokenNotFoundError { /// __typename /// message - /// apiId /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename + /// fragment Error on Error { /// message - /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createOpenApiCollectionInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CreateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _createOpenApiCollectionInputFormatter = serializerResolver.GetInputValueFormatter("CreateOpenApiCollectionInput"); - } - - private CreateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createOpenApiCollectionInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _createOpenApiCollectionInputFormatter = createOpenApiCollectionInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateOpenApiCollectionCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createOpenApiCollectionInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: CreateOpenApiCollectionCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateOpenApiCollectionCommandMutation", document: CreateOpenApiCollectionCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _createOpenApiCollectionInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _revokePersonalAccessTokenInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public RevokePersonalAccessTokenCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _revokePersonalAccessTokenInputFormatter = serializerResolver.GetInputValueFormatter("RevokePersonalAccessTokenInput"); + } + + private RevokePersonalAccessTokenCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter revokePersonalAccessTokenInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _revokePersonalAccessTokenInputFormatter = revokePersonalAccessTokenInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IRevokePersonalAccessTokenCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenCommandMutationMutation(_operationExecutor, _configure.Add(configure), _revokePersonalAccessTokenInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: RevokePersonalAccessTokenCommandMutationMutationDocument.Instance.Hash.Value, name: "RevokePersonalAccessTokenCommandMutation", document: RevokePersonalAccessTokenCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _revokePersonalAccessTokenInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the CreateOpenApiCollectionCommandMutation GraphQL operation + /// Represents the operation service of the RevokePersonalAccessTokenCommandMutation GraphQL operation /// - /// mutation CreateOpenApiCollectionCommandMutation($input: CreateOpenApiCollectionInput!) { - /// createOpenApiCollection(input: $input) { + /// mutation RevokePersonalAccessTokenCommandMutation($input: RevokePersonalAccessTokenInput!) { + /// revokePersonalAccessToken(input: $input) { /// __typename - /// openApiCollection { + /// personalAccessToken { /// __typename - /// ... CreateOpenApiCollectionCommandMutation_OpenApiCollection + /// ... RevokePersonalAccessTokenCommand_PersonalAccessToken + /// } + /// errors { + /// __typename + /// ... PersonalAccessTokenNotFoundError + /// ... Error /// } + /// } + /// } + /// + /// fragment RevokePersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// ... PersonalAccessTokenDetailPrompt_PersonalAccessToken + /// } + /// + /// fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { + /// id + /// description + /// createdAt + /// expiresAt + /// } + /// + /// fragment PersonalAccessTokenNotFoundError on PersonalAccessTokenNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the PublishSchemaVersion GraphQL operation + /// + /// mutation PublishSchemaVersion($input: PublishSchemaInput!) { + /// publishSchema(input: $input) { + /// __typename + /// id /// errors { /// __typename - /// ... Error - /// ... ApiNotFoundError /// ... UnauthorizedOperation + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... SchemaNotFoundError + /// ... Error /// } /// } /// } /// - /// fragment CreateOpenApiCollectionCommandMutation_OpenApiCollection on OpenApiCollection { - /// name - /// id - /// ... OpenApiCollectionDetailPrompt_OpenApiCollection - /// } - /// - /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { - /// id - /// name + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { @@ -127663,1439 +154548,832 @@ private CreateOpenApiCollectionCommandMutationMutation(global::StrawberryShake.I /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment StageNotFoundError on StageNotFoundError { /// __typename /// message + /// name + /// ... Error + /// } + /// + /// fragment SchemaNotFoundError on SchemaNotFoundError { + /// message + /// apiId + /// tag /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersionMutationDocument : global::StrawberryShake.IDocument + { + private PublishSchemaVersionMutationDocument() + { + } + + public static PublishSchemaVersionMutationDocument Instance { get; } = new PublishSchemaVersionMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "d38a43a7b864ae9c3d787807b5f5f460"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the DeleteOpenApiCollectionByIdCommandMutation GraphQL operation + /// Represents the operation service of the PublishSchemaVersion GraphQL operation /// - /// mutation DeleteOpenApiCollectionByIdCommandMutation($input: DeleteOpenApiCollectionByIdInput!) { - /// deleteOpenApiCollectionById(input: $input) { + /// mutation PublishSchemaVersion($input: PublishSchemaInput!) { + /// publishSchema(input: $input) { /// __typename - /// openApiCollection { - /// __typename - /// ... DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection - /// } + /// id /// errors { /// __typename - /// ... Error - /// ... OpenApiCollectionNotFoundError /// ... UnauthorizedOperation + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... SchemaNotFoundError + /// ... Error /// } /// } /// } /// - /// fragment DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection on OpenApiCollection { - /// name - /// id - /// ... OpenApiCollectionDetailPrompt_OpenApiCollection - /// } - /// - /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { - /// id - /// name + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { /// message /// } /// - /// fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { - /// openApiCollectionId + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment StageNotFoundError on StageNotFoundError { /// __typename /// message + /// name + /// ... Error + /// } + /// + /// fragment SchemaNotFoundError on SchemaNotFoundError { + /// message + /// apiId + /// tag /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private DeleteOpenApiCollectionByIdCommandMutationMutationDocument() - { - } - - public static DeleteOpenApiCollectionByIdCommandMutationMutationDocument Instance { get; } = new DeleteOpenApiCollectionByIdCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "e7828352aef7a0d78376c52b11a5f54e"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersionMutation : global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _publishSchemaInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public PublishSchemaVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _publishSchemaInputFormatter = serializerResolver.GetInputValueFormatter("PublishSchemaInput"); + } + + private PublishSchemaVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter publishSchemaInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _publishSchemaInputFormatter = publishSchemaInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishSchemaVersionResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersionMutation(_operationExecutor, _configure.Add(configure), _publishSchemaInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: PublishSchemaVersionMutationDocument.Instance.Hash.Value, name: "PublishSchemaVersion", document: PublishSchemaVersionMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _publishSchemaInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the DeleteOpenApiCollectionByIdCommandMutation GraphQL operation + /// Represents the operation service of the PublishSchemaVersion GraphQL operation /// - /// mutation DeleteOpenApiCollectionByIdCommandMutation($input: DeleteOpenApiCollectionByIdInput!) { - /// deleteOpenApiCollectionById(input: $input) { + /// mutation PublishSchemaVersion($input: PublishSchemaInput!) { + /// publishSchema(input: $input) { /// __typename - /// openApiCollection { - /// __typename - /// ... DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection - /// } + /// id /// errors { /// __typename - /// ... Error - /// ... OpenApiCollectionNotFoundError /// ... UnauthorizedOperation + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... SchemaNotFoundError + /// ... Error /// } /// } /// } /// - /// fragment DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection on OpenApiCollection { - /// name - /// id - /// ... OpenApiCollectionDetailPrompt_OpenApiCollection - /// } - /// - /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { - /// id - /// name + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { /// message /// } /// - /// fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { - /// openApiCollectionId + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId /// ... Error /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment StageNotFoundError on StageNotFoundError { /// __typename /// message + /// name + /// ... Error + /// } + /// + /// fragment SchemaNotFoundError on SchemaNotFoundError { + /// message + /// apiId + /// tag /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _deleteOpenApiCollectionByIdInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public DeleteOpenApiCollectionByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _deleteOpenApiCollectionByIdInputFormatter = serializerResolver.GetInputValueFormatter("DeleteOpenApiCollectionByIdInput"); - } - - private DeleteOpenApiCollectionByIdCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter deleteOpenApiCollectionByIdInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _deleteOpenApiCollectionByIdInputFormatter = deleteOpenApiCollectionByIdInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IDeleteOpenApiCollectionByIdCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdCommandMutationMutation(_operationExecutor, _configure.Add(configure), _deleteOpenApiCollectionByIdInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: DeleteOpenApiCollectionByIdCommandMutationMutationDocument.Instance.Hash.Value, name: "DeleteOpenApiCollectionByIdCommandMutation", document: DeleteOpenApiCollectionByIdCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _deleteOpenApiCollectionByIdInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaVersionMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the DeleteOpenApiCollectionByIdCommandMutation GraphQL operation + /// Represents the operation service of the OnSchemaVersionPublishUpdated GraphQL operation /// - /// mutation DeleteOpenApiCollectionByIdCommandMutation($input: DeleteOpenApiCollectionByIdInput!) { - /// deleteOpenApiCollectionById(input: $input) { + /// subscription OnSchemaVersionPublishUpdated($requestId: ID!) { + /// onSchemaVersionPublishingUpdate(requestId: $requestId) { /// __typename - /// openApiCollection { - /// __typename - /// ... DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection - /// } - /// errors { - /// __typename - /// ... Error - /// ... OpenApiCollectionNotFoundError - /// ... UnauthorizedOperation - /// } + /// ... SchemaVersionPublishFailed + /// ... SchemaVersionPublishSuccess + /// ... OperationInProgress + /// ... WaitForApproval + /// ... ProcessingTaskApproved + /// ... ProcessingTaskIsReady + /// ... ProcessingTaskIsQueued /// } /// } /// - /// fragment DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection on OpenApiCollection { - /// name - /// id - /// ... OpenApiCollectionDetailPrompt_OpenApiCollection + /// fragment SchemaVersionPublishFailed on SchemaVersionPublishFailed { + /// __typename + /// state + /// errors { + /// __typename + /// ... ConcurrentOperationError + /// ... OperationsAreNotAllowedError + /// ... SchemaVersionSyntaxError + /// ... SchemaVersionChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } /// } /// - /// fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { - /// id - /// name + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error /// } /// /// fragment Error on Error { /// message /// } /// - /// fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { - /// openApiCollectionId - /// ... Error + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { + /// __typename + /// message /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { /// __typename /// message - /// ... Error + /// column + /// position + /// line /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the ShowWorkspaceCommandQuery GraphQL operation - /// - /// query ShowWorkspaceCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { + /// + /// fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { + /// __typename + /// changes { /// __typename - /// ... WorkspaceDetailPrompt_Workspace + /// ... SchemaChangeLogEntry /// } /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id - /// name - /// personal - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ShowWorkspaceCommandQueryQueryDocument() - { - } - - public static ShowWorkspaceCommandQueryQueryDocument Instance { get; } = new ShowWorkspaceCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "c46bc0ec07d6718f937f666a59f957b0"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ShowWorkspaceCommandQuery GraphQL operation - /// - /// query ShowWorkspaceCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { - /// __typename - /// ... WorkspaceDetailPrompt_Workspace - /// } + /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { + /// __typename + /// ... TypeSystemMemberAddedChange + /// ... TypeSystemMemberRemovedChange + /// ... ObjectModifiedChange + /// ... InputObjectModifiedChange + /// ... DirectiveModifiedChange + /// ... ScalarModifiedChange + /// ... EnumModifiedChange + /// ... UnionModifiedChange + /// ... InterfaceModifiedChange + /// ... SchemaChange /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ShowWorkspaceCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - private ShowWorkspaceCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IShowWorkspaceCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ShowWorkspaceCommandQueryQueryDocument.Instance.Hash.Value, name: "ShowWorkspaceCommandQuery", document: ShowWorkspaceCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the ShowWorkspaceCommandQuery GraphQL operation - /// - /// query ShowWorkspaceCommandQuery($workspaceId: ID!) { - /// node(id: $workspaceId) { - /// __typename - /// ... WorkspaceDetailPrompt_Workspace - /// } + /// + /// fragment SchemaChange on SchemaChange { + /// severity /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IShowWorkspaceCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the CreateWorkspaceCommandMutation GraphQL operation - /// - /// mutation CreateWorkspaceCommandMutation($input: CreateWorkspaceInput!) { - /// createWorkspace(input: $input) { + /// + /// fragment ObjectModifiedChange on ObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// workspace { - /// __typename - /// id - /// name - /// ... WorkspaceDetailPrompt_Workspace - /// } - /// errors { - /// __typename - /// ... on UnauthorizedOperation { - /// message - /// } - /// ... on ValidationError { - /// message - /// } - /// ... on Error { - /// message - /// } - /// } + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged /// } /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { + /// ... SchemaChange + /// interfaceName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutationMutationDocument : global::StrawberryShake.IDocument - { - private CreateWorkspaceCommandMutationMutationDocument() - { - } - - public static CreateWorkspaceCommandMutationMutationDocument Instance { get; } = new CreateWorkspaceCommandMutationMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "c8d21a0bb621a01952ffb6224bbbfe0d"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the CreateWorkspaceCommandMutation GraphQL operation - /// - /// mutation CreateWorkspaceCommandMutation($input: CreateWorkspaceInput!) { - /// createWorkspace(input: $input) { - /// __typename - /// workspace { - /// __typename - /// id - /// name - /// ... WorkspaceDetailPrompt_Workspace - /// } - /// errors { - /// __typename - /// ... on UnauthorizedOperation { - /// message - /// } - /// ... on ValidationError { - /// message - /// } - /// ... on Error { - /// message - /// } - /// } - /// } + /// + /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { + /// ... SchemaChange + /// interfaceName + /// severity /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment DescriptionChanged on DescriptionChanged { + /// ... SchemaChange + /// old + /// new + /// severity + /// __typename /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createWorkspaceInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CreateWorkspaceCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _createWorkspaceInputFormatter = serializerResolver.GetInputValueFormatter("CreateWorkspaceInput"); - } - - private CreateWorkspaceCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createWorkspaceInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _createWorkspaceInputFormatter = createWorkspaceInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateWorkspaceCommandMutationResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createWorkspaceInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: CreateWorkspaceCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateWorkspaceCommandMutation", document: CreateWorkspaceCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _createWorkspaceInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the CreateWorkspaceCommandMutation GraphQL operation - /// - /// mutation CreateWorkspaceCommandMutation($input: CreateWorkspaceInput!) { - /// createWorkspace(input: $input) { - /// __typename - /// workspace { - /// __typename - /// id - /// name - /// ... WorkspaceDetailPrompt_Workspace - /// } - /// errors { - /// __typename - /// ... on UnauthorizedOperation { - /// message - /// } - /// ... on ValidationError { - /// message - /// } - /// ... on Error { - /// message - /// } - /// } - /// } + /// + /// fragment FieldAddedChange on FieldAddedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment FieldRemovedChange on FieldRemovedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the ListWorkspaceCommandQuery GraphQL operation - /// - /// query ListWorkspaceCommandQuery($after: String, $first: Int) { - /// me { + /// + /// fragment OutputFieldChanged on OutputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// workspaces(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... ListWorkspaceCommand_WorkspaceEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... ArgumentRemoved + /// ... ArgumentAdded + /// ... ArgumentChanged + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } /// } /// - /// fragment ListWorkspaceCommand_WorkspaceEdge on WorkspacesEdge { - /// cursor - /// node { - /// __typename - /// ... ListWorkspaceCommand_Workspace - /// } + /// fragment ArgumentRemoved on ArgumentRemoved { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename /// } /// - /// fragment ListWorkspaceCommand_Workspace on Workspace { - /// id + /// fragment ArgumentAdded on ArgumentAdded { + /// ... SchemaChange + /// coordinate + /// severity /// name - /// personal - /// ... WorkspaceDetailPrompt_Workspace + /// typeName + /// __typename /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id + /// fragment ArgumentChanged on ArgumentChanged { + /// ... SchemaChange + /// coordinate + /// severity /// name - /// personal + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... DeprecatedChange + /// ... TypeChanged + /// } /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment DeprecatedChange on DeprecatedChange { + /// ... SchemaChange + /// deprecationReason + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQueryQueryDocument : global::StrawberryShake.IDocument - { - private ListWorkspaceCommandQueryQueryDocument() - { - } - - public static ListWorkspaceCommandQueryQueryDocument Instance { get; } = new ListWorkspaceCommandQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "81090212b99490332c1b0614e4509b64"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ListWorkspaceCommandQuery GraphQL operation - /// - /// query ListWorkspaceCommandQuery($after: String, $first: Int) { - /// me { - /// __typename - /// workspaces(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... ListWorkspaceCommand_WorkspaceEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// + /// fragment TypeChanged on TypeChanged { + /// ... SchemaChange + /// oldType + /// newType + /// severity + /// __typename + /// } + /// + /// fragment InputObjectModifiedChange on InputObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... InputFieldChanged /// } /// } /// - /// fragment ListWorkspaceCommand_WorkspaceEdge on WorkspacesEdge { - /// cursor - /// node { + /// fragment InputFieldChanged on InputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { /// __typename - /// ... ListWorkspaceCommand_Workspace + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange /// } /// } /// - /// fragment ListWorkspaceCommand_Workspace on Workspace { - /// id - /// name - /// personal - /// ... WorkspaceDetailPrompt_Workspace + /// fragment DirectiveModifiedChange on DirectiveModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DirectiveLocationAdded + /// ... DirectiveLocationRemoved + /// ... DescriptionChanged + /// ... ArgumentRemoved + /// ... ArgumentChanged + /// ... ArgumentAdded + /// } /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment DirectiveLocationAdded on DirectiveLocationAdded { + /// ... SchemaChange + /// location + /// severity + /// __typename /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { + /// ... SchemaChange + /// location + /// severity + /// __typename /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ListWorkspaceCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private ListWorkspaceCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListWorkspaceCommandQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ListWorkspaceCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: ListWorkspaceCommandQueryQueryDocument.Instance.Hash.Value, name: "ListWorkspaceCommandQuery", document: ListWorkspaceCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the ListWorkspaceCommandQuery GraphQL operation - /// - /// query ListWorkspaceCommandQuery($after: String, $first: Int) { - /// me { + /// + /// fragment ScalarModifiedChange on ScalarModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// workspaces(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... ListWorkspaceCommand_WorkspaceEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... DescriptionChanged /// } /// } /// - /// fragment ListWorkspaceCommand_WorkspaceEdge on WorkspacesEdge { - /// cursor - /// node { + /// fragment EnumModifiedChange on EnumModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// ... ListWorkspaceCommand_Workspace + /// ... DescriptionChanged + /// ... EnumValueRemoved + /// ... EnumValueAdded + /// ... EnumValueChanged /// } /// } /// - /// fragment ListWorkspaceCommand_Workspace on Workspace { - /// id - /// name - /// personal - /// ... WorkspaceDetailPrompt_Workspace + /// fragment EnumValueRemoved on EnumValueRemoved { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment WorkspaceDetailPrompt_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment EnumValueAdded on EnumValueAdded { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment EnumValueChanged on EnumValueChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// changes { + /// __typename + /// ... DeprecatedChange + /// ... DescriptionChanged + /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IListWorkspaceCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the SetDefaultWorkspaceCommand_SelectWorkspace_Query GraphQL operation - /// - /// query SetDefaultWorkspaceCommand_SelectWorkspace_Query($after: String, $first: Int) { - /// me { + /// + /// fragment UnionModifiedChange on UnionModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// workspaces(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// cursor - /// node { - /// __typename - /// ... SetDefaultWorkspaceCommand_Workspace - /// } - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... DescriptionChanged + /// ... UnionMemberRemoved + /// ... UnionMemberAdded /// } /// } /// - /// fragment SetDefaultWorkspaceCommand_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment UnionMemberRemoved on UnionMemberRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment UnionMemberAdded on UnionMemberAdded { + /// ... SchemaChange + /// typeName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument : global::StrawberryShake.IDocument - { - private SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument() - { - } - - public static SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument Instance { get; } = new SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "bb47ed5730c7751c64b0f1fdcc3f0bf5"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the SetDefaultWorkspaceCommand_SelectWorkspace_Query GraphQL operation - /// - /// query SetDefaultWorkspaceCommand_SelectWorkspace_Query($after: String, $first: Int) { - /// me { + /// + /// fragment InterfaceModifiedChange on InterfaceModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { /// __typename - /// workspaces(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// cursor - /// node { - /// __typename - /// ... SetDefaultWorkspaceCommand_Workspace - /// } - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// ... PossibleTypeAdded + /// ... PossibleTypeRemoved /// } /// } /// - /// fragment SetDefaultWorkspaceCommand_Workspace on Workspace { - /// id - /// name - /// personal + /// fragment PossibleTypeAdded on PossibleTypeAdded { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment PossibleTypeRemoved on PossibleTypeRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public SetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private SetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISetDefaultWorkspaceCommand_SelectWorkspace_QueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.SetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument.Instance.Hash.Value, name: "SetDefaultWorkspaceCommand_SelectWorkspace_Query", document: SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the SetDefaultWorkspaceCommand_SelectWorkspace_Query GraphQL operation - /// - /// query SetDefaultWorkspaceCommand_SelectWorkspace_Query($after: String, $first: Int) { - /// me { + /// + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// __typename + /// message + /// errors { /// __typename - /// workspaces(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// cursor - /// node { - /// __typename - /// ... SetDefaultWorkspaceCommand_Workspace - /// } - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } + /// message + /// code /// } /// } /// - /// fragment SetDefaultWorkspaceCommand_Workspace on Workspace { - /// id - /// name - /// personal - /// } - /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the PublishSchemaVersion GraphQL operation - /// - /// mutation PublishSchemaVersion($input: PublishSchemaInput!) { - /// publishSchema(input: $input) { + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// message + /// client { /// __typename /// id + /// name + /// } + /// queries { + /// __typename + /// deployedTags + /// message + /// hash /// errors { /// __typename - /// ... UnauthorizedOperation - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... SchemaNotFoundError - /// ... Error + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { /// __typename /// message - /// ... Error /// } /// - /// fragment Error on Error { + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// __typename /// message /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error + /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { + /// collections { + /// __typename + /// openApiCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... OpenApiCollectionValidationDocumentError + /// ... OpenApiCollectionValidationEntityValidationError + /// } + /// ... on OpenApiCollectionValidationEndpoint { + /// httpMethod + /// route + /// } + /// ... on OpenApiCollectionValidationModel { + /// name + /// } + /// } + /// } /// } /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename + /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { + /// code /// message - /// name - /// ... Error + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// - /// fragment SchemaNotFoundError on SchemaNotFoundError { + /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { /// message - /// apiId - /// tag - /// ... Error /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersionMutationDocument : global::StrawberryShake.IDocument - { - private PublishSchemaVersionMutationDocument() - { - } - - public static PublishSchemaVersionMutationDocument Instance { get; } = new PublishSchemaVersionMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "d38a43a7b864ae9c3d787807b5f5f460"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the PublishSchemaVersion GraphQL operation - /// - /// mutation PublishSchemaVersion($input: PublishSchemaInput!) { - /// publishSchema(input: $input) { + /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// id - /// errors { + /// mcpFeatureCollection { /// __typename - /// ... UnauthorizedOperation - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... SchemaNotFoundError - /// ... Error + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code /// message - /// ... Error + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// - /// fragment Error on Error { + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { /// message /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment SchemaVersionPublishSuccess on SchemaVersionPublishSuccess { /// __typename - /// message - /// apiId - /// ... Error + /// state /// } /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename - /// message - /// name - /// ... Error + /// fragment OperationInProgress on OperationInProgress { + /// state /// } /// - /// fragment SchemaNotFoundError on SchemaNotFoundError { - /// message - /// apiId - /// tag - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersionMutation : global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _publishSchemaInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public PublishSchemaVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _publishSchemaInputFormatter = serializerResolver.GetInputValueFormatter("PublishSchemaInput"); - } - - private PublishSchemaVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter publishSchemaInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _publishSchemaInputFormatter = publishSchemaInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPublishSchemaVersionResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersionMutation(_operationExecutor, _configure.Add(configure), _publishSchemaInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: PublishSchemaVersionMutationDocument.Instance.Hash.Value, name: "PublishSchemaVersion", document: PublishSchemaVersionMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _publishSchemaInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the PublishSchemaVersion GraphQL operation - /// - /// mutation PublishSchemaVersion($input: PublishSchemaInput!) { - /// publishSchema(input: $input) { + /// fragment WaitForApproval on WaitForApproval { + /// state + /// deployment { /// __typename - /// id - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... SchemaNotFoundError - /// ... Error + /// ... on SchemaDeployment { + /// errors { + /// __typename + /// ... OperationsAreNotAllowedError + /// ... SchemaVersionSyntaxError + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on ClientDeployment { + /// errors { + /// __typename + /// ... PersistedQueryValidationError + /// } + /// } + /// ... on FusionConfigurationDeployment { + /// errors { + /// __typename + /// ... SchemaChangeViolationError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// ... on OpenApiCollectionDeployment { + /// errors { + /// __typename + /// ... OpenApiCollectionValidationError + /// } + /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { + /// fragment SchemaChangeViolationError on SchemaChangeViolationError { /// message + /// changes { + /// __typename + /// ... SchemaChangeLogEntry + /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state /// } /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename - /// message - /// name - /// ... Error + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename /// } /// - /// fragment SchemaNotFoundError on SchemaNotFoundError { - /// message - /// apiId - /// tag - /// ... Error + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaVersionMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdatedSubscriptionDocument : global::StrawberryShake.IDocument + { + private OnSchemaVersionPublishUpdatedSubscriptionDocument() + { + } + + public static OnSchemaVersionPublishUpdatedSubscriptionDocument Instance { get; } = new OnSchemaVersionPublishUpdatedSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "a299690b49723e3cdbf46ea56ec77e25"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the OnSchemaVersionPublishUpdated GraphQL operation /// @@ -129126,6 +155404,7 @@ public partial interface IPublishSchemaVersionMutation : global::StrawberryShake /// ... UnexpectedProcessingError /// ... ProcessingTimeoutError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// @@ -129553,6 +155832,46 @@ public partial interface IPublishSchemaVersionMutation : global::StrawberryShake /// message /// } /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// /// fragment SchemaVersionPublishSuccess on SchemaVersionPublishSuccess { /// __typename /// state @@ -129575,6 +155894,7 @@ public partial interface IPublishSchemaVersionMutation : global::StrawberryShake /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on ClientDeployment { @@ -129590,6 +155910,7 @@ public partial interface IPublishSchemaVersionMutation : global::StrawberryShake /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on OpenApiCollectionDeployment { @@ -129598,6 +155919,12 @@ public partial interface IPublishSchemaVersionMutation : global::StrawberryShake /// ... OpenApiCollectionValidationError /// } /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } /// } /// } /// @@ -129623,28 +155950,53 @@ public partial interface IPublishSchemaVersionMutation : global::StrawberryShake /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdatedSubscriptionDocument : global::StrawberryShake.IDocument - { - private OnSchemaVersionPublishUpdatedSubscriptionDocument() - { - } - - public static OnSchemaVersionPublishUpdatedSubscriptionDocument Instance { get; } = new OnSchemaVersionPublishUpdatedSubscriptionDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "dc969e65dffba08309fb25e19b221ead"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdatedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public OnSchemaVersionPublishUpdatedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnSchemaVersionPublishUpdatedResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: OnSchemaVersionPublishUpdatedSubscriptionDocument.Instance.Hash.Value, name: "OnSchemaVersionPublishUpdated", document: OnSchemaVersionPublishUpdatedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the OnSchemaVersionPublishUpdated GraphQL operation /// @@ -129675,6 +156027,7 @@ private OnSchemaVersionPublishUpdatedSubscriptionDocument() /// ... UnexpectedProcessingError /// ... ProcessingTimeoutError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// @@ -130102,6 +156455,46 @@ private OnSchemaVersionPublishUpdatedSubscriptionDocument() /// message /// } /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// /// fragment SchemaVersionPublishSuccess on SchemaVersionPublishSuccess { /// __typename /// state @@ -130124,6 +156517,7 @@ private OnSchemaVersionPublishUpdatedSubscriptionDocument() /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on ClientDeployment { @@ -130139,6 +156533,7 @@ private OnSchemaVersionPublishUpdatedSubscriptionDocument() /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on OpenApiCollectionDeployment { @@ -130147,122 +156542,641 @@ private OnSchemaVersionPublishUpdatedSubscriptionDocument() /// ... OpenApiCollectionValidationError /// } /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } + /// } + /// } + /// + /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// message + /// changes { + /// __typename + /// ... SchemaChangeLogEntry + /// } + /// } + /// + /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// state + /// } + /// + /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { + /// ready: __typename + /// } + /// + /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { + /// queued: __typename + /// queuePosition + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionPublishUpdatedSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the UploadSchema GraphQL operation + /// + /// mutation UploadSchema($input: UploadSchemaInput!) { + /// uploadSchema(input: $input) { + /// __typename + /// schemaVersion { + /// __typename + /// id + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... ApiNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchemaMutationDocument : global::StrawberryShake.IDocument + { + private UploadSchemaMutationDocument() + { + } + + public static UploadSchemaMutationDocument Instance { get; } = new UploadSchemaMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "6f2552b2efab37e84bf41e0fd2ef37e1"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the UploadSchema GraphQL operation + /// + /// mutation UploadSchema($input: UploadSchemaInput!) { + /// uploadSchema(input: $input) { + /// __typename + /// schemaVersion { + /// __typename + /// id + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... ApiNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchemaMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadSchemaInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public UploadSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _uploadSchemaInputFormatter = serializerResolver.GetInputValueFormatter("UploadSchemaInput"); + } + + private UploadSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadSchemaInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _uploadSchemaInputFormatter = uploadSchemaInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadSchemaResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaMutation(_operationExecutor, _configure.Add(configure), _uploadSchemaInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeUploadSchemaInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput value, global::System.Collections.Generic.Dictionary files) + { + var pathSchema = path + ".schema"; + var valueSchema = value.Schema; + files.Add(pathSchema, valueSchema is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeUploadSchemaInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: UploadSchemaMutationDocument.Instance.Hash.Value, name: "UploadSchema", document: UploadSchemaMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _uploadSchemaInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + + /// + /// Represents the operation service of the UploadSchema GraphQL operation + /// + /// mutation UploadSchema($input: UploadSchemaInput!) { + /// uploadSchema(input: $input) { + /// __typename + /// schemaVersion { + /// __typename + /// id + /// } + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... DuplicatedTagError + /// ... ConcurrentOperationError + /// ... ApiNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment DuplicatedTagError on DuplicatedTagError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchemaMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ValidateSchemaVersion GraphQL operation + /// + /// mutation ValidateSchemaVersion($input: ValidateSchemaInput!) { + /// validateSchema(input: $input) { + /// __typename + /// id + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... SchemaNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message + /// name + /// ... Error + /// } + /// + /// fragment SchemaNotFoundError on SchemaNotFoundError { + /// message + /// apiId + /// tag + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersionMutationDocument : global::StrawberryShake.IDocument + { + private ValidateSchemaVersionMutationDocument() + { + } + + public static ValidateSchemaVersionMutationDocument Instance { get; } = new ValidateSchemaVersionMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "20f39ffae2a0c07009008b6836aba650"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ValidateSchemaVersion GraphQL operation + /// + /// mutation ValidateSchemaVersion($input: ValidateSchemaInput!) { + /// validateSchema(input: $input) { + /// __typename + /// id + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... SchemaNotFoundError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message + /// name + /// ... Error + /// } + /// + /// fragment SchemaNotFoundError on SchemaNotFoundError { + /// message + /// apiId + /// tag + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersionMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateSchemaInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ValidateSchemaVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _validateSchemaInputFormatter = serializerResolver.GetInputValueFormatter("ValidateSchemaInput"); + } + + private ValidateSchemaVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateSchemaInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _validateSchemaInputFormatter = validateSchemaInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateSchemaVersionResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersionMutation(_operationExecutor, _configure.Add(configure), _validateSchemaInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeValidateSchemaInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput value, global::System.Collections.Generic.Dictionary files) + { + var pathSchema = path + ".schema"; + var valueSchema = value.Schema; + files.Add(pathSchema, valueSchema is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeValidateSchemaInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: ValidateSchemaVersionMutationDocument.Instance.Hash.Value, name: "ValidateSchemaVersion", document: ValidateSchemaVersionMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _validateSchemaInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + + /// + /// Represents the operation service of the ValidateSchemaVersion GraphQL operation + /// + /// mutation ValidateSchemaVersion($input: ValidateSchemaInput!) { + /// validateSchema(input: $input) { + /// __typename + /// id + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... SchemaNotFoundError + /// ... Error + /// } /// } /// } /// - /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename /// message - /// changes { - /// __typename - /// ... SchemaChangeLogEntry - /// } + /// ... Error /// } /// - /// fragment ProcessingTaskApproved on ProcessingTaskApproved { - /// state + /// fragment Error on Error { + /// message /// } /// - /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { - /// ready: __typename + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error /// } /// - /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { - /// queued: __typename - /// queuePosition + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message + /// name + /// ... Error + /// } + /// + /// fragment SchemaNotFoundError on SchemaNotFoundError { + /// message + /// apiId + /// tag + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdatedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - public OnSchemaVersionPublishUpdatedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnSchemaVersionPublishUpdatedResult); - - public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(requestId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("requestId", FormatRequestId(requestId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: OnSchemaVersionPublishUpdatedSubscriptionDocument.Instance.Hash.Value, name: "OnSchemaVersionPublishUpdated", document: OnSchemaVersionPublishUpdatedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatRequestId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaVersionMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the OnSchemaVersionPublishUpdated GraphQL operation + /// Represents the operation service of the OnSchemaVersionValidationUpdated GraphQL operation /// - /// subscription OnSchemaVersionPublishUpdated($requestId: ID!) { - /// onSchemaVersionPublishingUpdate(requestId: $requestId) { + /// subscription OnSchemaVersionValidationUpdated($requestId: ID!) { + /// onSchemaVersionValidationUpdate(requestId: $requestId) { /// __typename - /// ... SchemaVersionPublishFailed - /// ... SchemaVersionPublishSuccess + /// ... SchemaVersionValidationFailed + /// ... SchemaVersionValidationSuccess /// ... OperationInProgress - /// ... WaitForApproval - /// ... ProcessingTaskApproved - /// ... ProcessingTaskIsReady - /// ... ProcessingTaskIsQueued + /// ... ValidationInProgress /// } /// } /// - /// fragment SchemaVersionPublishFailed on SchemaVersionPublishFailed { - /// __typename + /// fragment SchemaVersionValidationFailed on SchemaVersionValidationFailed { /// state /// errors { /// __typename - /// ... ConcurrentOperationError - /// ... OperationsAreNotAllowedError + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError /// ... SchemaVersionSyntaxError - /// ... SchemaVersionChangeViolationError /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError - /// ... UnexpectedProcessingError - /// ... ProcessingTimeoutError + /// ... SchemaVersionChangeViolationError + /// ... OperationsAreNotAllowedError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { /// __typename /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message /// } /// - /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { /// __typename /// message /// } @@ -130275,6 +157189,42 @@ public OnSchemaVersionPublishUpdatedSubscription(global::StrawberryShake.IOperat /// line /// } /// + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// __typename + /// message + /// errors { + /// __typename + /// message + /// code + /// } + /// } + /// + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// message + /// client { + /// __typename + /// id + /// name + /// } + /// queries { + /// __typename + /// deployedTags + /// message + /// hash + /// errors { + /// __typename + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// } + /// } + /// /// fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { /// __typename /// changes { @@ -130589,48 +157539,7 @@ public OnSchemaVersionPublishUpdatedSubscription(global::StrawberryShake.IOperat /// severity /// } /// - /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { - /// __typename - /// message - /// errors { - /// __typename - /// message - /// code - /// } - /// } - /// - /// fragment PersistedQueryValidationError on PersistedQueryValidationError { - /// message - /// client { - /// __typename - /// id - /// name - /// } - /// queries { - /// __typename - /// deployedTags - /// message - /// hash - /// errors { - /// __typename - /// message - /// code - /// path - /// locations { - /// __typename - /// column - /// line - /// } - /// } - /// } - /// } - /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { - /// __typename - /// message - /// } - /// - /// fragment ProcessingTimeoutError on ProcessingTimeoutError { + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { /// __typename /// message /// } @@ -130676,645 +157585,632 @@ public OnSchemaVersionPublishUpdatedSubscription(global::StrawberryShake.IOperat /// message /// } /// - /// fragment SchemaVersionPublishSuccess on SchemaVersionPublishSuccess { - /// __typename - /// state - /// } - /// - /// fragment OperationInProgress on OperationInProgress { - /// state - /// } - /// - /// fragment WaitForApproval on WaitForApproval { - /// state - /// deployment { + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// ... on SchemaDeployment { - /// errors { - /// __typename - /// ... OperationsAreNotAllowedError - /// ... SchemaVersionSyntaxError - /// ... SchemaChangeViolationError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... OpenApiCollectionValidationError - /// } + /// mcpFeatureCollection { + /// __typename + /// id + /// name /// } - /// ... on ClientDeployment { + /// entities { + /// __typename /// errors { /// __typename - /// ... PersistedQueryValidationError + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError /// } - /// } - /// ... on FusionConfigurationDeployment { - /// errors { - /// __typename - /// ... SchemaChangeViolationError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... OpenApiCollectionValidationError + /// ... on McpFeatureCollectionValidationPrompt { + /// name /// } - /// } - /// ... on OpenApiCollectionDeployment { - /// errors { - /// __typename - /// ... OpenApiCollectionValidationError + /// ... on McpFeatureCollectionValidationTool { + /// name /// } /// } /// } /// } /// - /// fragment SchemaChangeViolationError on SchemaChangeViolationError { + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code /// message - /// changes { + /// path + /// locations { /// __typename - /// ... SchemaChangeLogEntry + /// column + /// line /// } /// } /// - /// fragment ProcessingTaskApproved on ProcessingTaskApproved { + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// + /// fragment SchemaVersionValidationSuccess on SchemaVersionValidationSuccess { /// state + /// changes { + /// __typename + /// ... SchemaChangeLogEntry + /// } /// } /// - /// fragment ProcessingTaskIsReady on ProcessingTaskIsReady { - /// ready: __typename + /// fragment OperationInProgress on OperationInProgress { + /// state /// } /// - /// fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { - /// queued: __typename - /// queuePosition + /// fragment ValidationInProgress on ValidationInProgress { + /// state /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionPublishUpdatedSubscription : global::StrawberryShake.IOperationRequestFactory - { - global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdatedSubscriptionDocument : global::StrawberryShake.IDocument + { + private OnSchemaVersionValidationUpdatedSubscriptionDocument() + { + } + + public static OnSchemaVersionValidationUpdatedSubscriptionDocument Instance { get; } = new OnSchemaVersionValidationUpdatedSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "50d28b9daaa1cc64ed3762123b19bc5a"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the UploadSchema GraphQL operation + /// Represents the operation service of the OnSchemaVersionValidationUpdated GraphQL operation /// - /// mutation UploadSchema($input: UploadSchemaInput!) { - /// uploadSchema(input: $input) { + /// subscription OnSchemaVersionValidationUpdated($requestId: ID!) { + /// onSchemaVersionValidationUpdate(requestId: $requestId) { /// __typename - /// schemaVersion { - /// __typename - /// id - /// } - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... ApiNotFoundError - /// ... Error - /// } + /// ... SchemaVersionValidationFailed + /// ... SchemaVersionValidationSuccess + /// ... OperationInProgress + /// ... ValidationInProgress /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error + /// fragment SchemaVersionValidationFailed on SchemaVersionValidationFailed { + /// state + /// errors { + /// __typename + /// ... UnexpectedProcessingError + /// ... ProcessingTimeoutError + /// ... SchemaVersionSyntaxError + /// ... InvalidGraphQLSchemaError + /// ... PersistedQueryValidationError + /// ... SchemaVersionChangeViolationError + /// ... OperationsAreNotAllowedError + /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError + /// } /// } /// - /// fragment Error on Error { + /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// __typename /// message /// } /// - /// fragment DuplicatedTagError on DuplicatedTagError { + /// fragment ProcessingTimeoutError on ProcessingTimeoutError { /// __typename /// message - /// ... Error /// } /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { /// __typename /// message - /// ... Error + /// column + /// position + /// line /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { /// __typename /// message - /// apiId - /// ... Error + /// errors { + /// __typename + /// message + /// code + /// } /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchemaMutationDocument : global::StrawberryShake.IDocument - { - private UploadSchemaMutationDocument() - { - } - - public static UploadSchemaMutationDocument Instance { get; } = new UploadSchemaMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "6f2552b2efab37e84bf41e0fd2ef37e1"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the UploadSchema GraphQL operation - /// - /// mutation UploadSchema($input: UploadSchemaInput!) { - /// uploadSchema(input: $input) { + /// + /// fragment PersistedQueryValidationError on PersistedQueryValidationError { + /// message + /// client { /// __typename - /// schemaVersion { - /// __typename - /// id - /// } + /// id + /// name + /// } + /// queries { + /// __typename + /// deployedTags + /// message + /// hash /// errors { /// __typename - /// ... UnauthorizedOperation - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... ApiNotFoundError - /// ... Error + /// message + /// code + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { + /// __typename + /// changes { + /// __typename + /// ... SchemaChangeLogEntry + /// } + /// } + /// + /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { + /// __typename + /// ... TypeSystemMemberAddedChange + /// ... TypeSystemMemberRemovedChange + /// ... ObjectModifiedChange + /// ... InputObjectModifiedChange + /// ... DirectiveModifiedChange + /// ... ScalarModifiedChange + /// ... EnumModifiedChange + /// ... UnionModifiedChange + /// ... InterfaceModifiedChange + /// ... SchemaChange + /// } + /// + /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment SchemaChange on SchemaChange { + /// severity + /// } + /// + /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// } + /// + /// fragment ObjectModifiedChange on ObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// } + /// } + /// + /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { + /// ... SchemaChange + /// interfaceName + /// severity + /// } + /// + /// fragment DescriptionChanged on DescriptionChanged { + /// ... SchemaChange + /// old + /// new + /// severity + /// __typename + /// } + /// + /// fragment FieldAddedChange on FieldAddedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment FieldRemovedChange on FieldRemovedChange { + /// ... SchemaChange + /// coordinate + /// typeName + /// fieldName + /// severity + /// } + /// + /// fragment OutputFieldChanged on OutputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { + /// __typename + /// ... ArgumentRemoved + /// ... ArgumentAdded + /// ... ArgumentChanged + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange + /// } + /// } + /// + /// fragment ArgumentRemoved on ArgumentRemoved { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename + /// } + /// + /// fragment ArgumentAdded on ArgumentAdded { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// typeName + /// __typename + /// } + /// + /// fragment ArgumentChanged on ArgumentChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// name + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... DeprecatedChange + /// ... TypeChanged + /// } + /// } + /// + /// fragment DeprecatedChange on DeprecatedChange { + /// ... SchemaChange + /// deprecationReason + /// severity + /// } + /// + /// fragment TypeChanged on TypeChanged { + /// ... SchemaChange + /// oldType + /// newType + /// severity + /// __typename + /// } + /// + /// fragment InputObjectModifiedChange on InputObjectModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity + /// __typename + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... InputFieldChanged + /// } + /// } + /// + /// fragment InputFieldChanged on InputFieldChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// fieldName + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... TypeChanged + /// ... DeprecatedChange + /// } + /// } + /// + /// fragment DirectiveModifiedChange on DirectiveModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message + /// changes { + /// __typename + /// ... DirectiveLocationAdded + /// ... DirectiveLocationRemoved + /// ... DescriptionChanged + /// ... ArgumentRemoved + /// ... ArgumentChanged + /// ... ArgumentAdded + /// } /// } /// - /// fragment DuplicatedTagError on DuplicatedTagError { + /// fragment DirectiveLocationAdded on DirectiveLocationAdded { + /// ... SchemaChange + /// location + /// severity /// __typename - /// message - /// ... Error /// } /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { + /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { + /// ... SchemaChange + /// location + /// severity /// __typename - /// message - /// ... Error /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment ScalarModifiedChange on ScalarModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// apiId - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchemaMutation : global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _uploadSchemaInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public UploadSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _uploadSchemaInputFormatter = serializerResolver.GetInputValueFormatter("UploadSchemaInput"); - } - - private UploadSchemaMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter uploadSchemaInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _uploadSchemaInputFormatter = uploadSchemaInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUploadSchemaResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaMutation(_operationExecutor, _configure.Add(configure), _uploadSchemaInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeUploadSchemaInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput value, global::System.Collections.Generic.Dictionary files) - { - var pathSchema = path + ".schema"; - var valueSchema = value.Schema; - files.Add(pathSchema, valueSchema is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeUploadSchemaInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: UploadSchemaMutationDocument.Instance.Hash.Value, name: "UploadSchema", document: UploadSchemaMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _uploadSchemaInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - - /// - /// Represents the operation service of the UploadSchema GraphQL operation - /// - /// mutation UploadSchema($input: UploadSchemaInput!) { - /// uploadSchema(input: $input) { + /// changes { /// __typename - /// schemaVersion { - /// __typename - /// id - /// } - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... DuplicatedTagError - /// ... ConcurrentOperationError - /// ... ApiNotFoundError - /// ... Error - /// } + /// ... DescriptionChanged /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment EnumModifiedChange on EnumModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// ... Error + /// changes { + /// __typename + /// ... DescriptionChanged + /// ... EnumValueRemoved + /// ... EnumValueAdded + /// ... EnumValueChanged + /// } /// } /// - /// fragment Error on Error { - /// message + /// fragment EnumValueRemoved on EnumValueRemoved { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment DuplicatedTagError on DuplicatedTagError { - /// __typename - /// message - /// ... Error + /// fragment EnumValueAdded on EnumValueAdded { + /// ... SchemaChange + /// coordinate + /// severity /// } /// - /// fragment ConcurrentOperationError on ConcurrentOperationError { - /// __typename - /// message - /// ... Error + /// fragment EnumValueChanged on EnumValueChanged { + /// ... SchemaChange + /// coordinate + /// severity + /// changes { + /// __typename + /// ... DeprecatedChange + /// ... DescriptionChanged + /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment UnionModifiedChange on UnionModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// apiId - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchemaMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UploadSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the ValidateSchemaVersion GraphQL operation - /// - /// mutation ValidateSchemaVersion($input: ValidateSchemaInput!) { - /// validateSchema(input: $input) { + /// changes { /// __typename - /// id - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... SchemaNotFoundError - /// ... Error - /// } + /// ... DescriptionChanged + /// ... UnionMemberRemoved + /// ... UnionMemberAdded /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error + /// fragment UnionMemberRemoved on UnionMemberRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment Error on Error { - /// message + /// fragment UnionMemberAdded on UnionMemberAdded { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { + /// fragment InterfaceModifiedChange on InterfaceModifiedChange { + /// ... SchemaChange + /// coordinate + /// severity /// __typename - /// message - /// apiId - /// ... Error + /// changes { + /// __typename + /// ... InterfaceImplementationAdded + /// ... InterfaceImplementationRemoved + /// ... DescriptionChanged + /// ... FieldAddedChange + /// ... FieldRemovedChange + /// ... OutputFieldChanged + /// ... PossibleTypeAdded + /// ... PossibleTypeRemoved + /// } /// } /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename - /// message - /// name - /// ... Error + /// fragment PossibleTypeAdded on PossibleTypeAdded { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment SchemaNotFoundError on SchemaNotFoundError { - /// message - /// apiId - /// tag - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersionMutationDocument : global::StrawberryShake.IDocument - { - private ValidateSchemaVersionMutationDocument() - { - } - - public static ValidateSchemaVersionMutationDocument Instance { get; } = new ValidateSchemaVersionMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "20f39ffae2a0c07009008b6836aba650"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the ValidateSchemaVersion GraphQL operation - /// - /// mutation ValidateSchemaVersion($input: ValidateSchemaInput!) { - /// validateSchema(input: $input) { - /// __typename - /// id - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... SchemaNotFoundError - /// ... Error - /// } - /// } + /// fragment PossibleTypeRemoved on PossibleTypeRemoved { + /// ... SchemaChange + /// typeName + /// severity /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { /// __typename /// message - /// ... Error /// } /// - /// fragment Error on Error { - /// message + /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { + /// collections { + /// __typename + /// openApiCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... OpenApiCollectionValidationDocumentError + /// ... OpenApiCollectionValidationEntityValidationError + /// } + /// ... on OpenApiCollectionValidationEndpoint { + /// httpMethod + /// route + /// } + /// ... on OpenApiCollectionValidationModel { + /// name + /// } + /// } + /// } /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename + /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { + /// code /// message - /// apiId - /// ... Error + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename + /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { /// message - /// name - /// ... Error /// } /// - /// fragment SchemaNotFoundError on SchemaNotFoundError { - /// message - /// apiId - /// tag - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersionMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateSchemaInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ValidateSchemaVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _validateSchemaInputFormatter = serializerResolver.GetInputValueFormatter("ValidateSchemaInput"); - } - - private ValidateSchemaVersionMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateSchemaInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _validateSchemaInputFormatter = validateSchemaInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateSchemaVersionResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersionMutation(_operationExecutor, _configure.Add(configure), _validateSchemaInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeValidateSchemaInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput value, global::System.Collections.Generic.Dictionary files) - { - var pathSchema = path + ".schema"; - var valueSchema = value.Schema; - files.Add(pathSchema, valueSchema is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeValidateSchemaInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: ValidateSchemaVersionMutationDocument.Instance.Hash.Value, name: "ValidateSchemaVersion", document: ValidateSchemaVersionMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _validateSchemaInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - - /// - /// Represents the operation service of the ValidateSchemaVersion GraphQL operation - /// - /// mutation ValidateSchemaVersion($input: ValidateSchemaInput!) { - /// validateSchema(input: $input) { + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { /// __typename - /// id - /// errors { + /// mcpFeatureCollection { /// __typename - /// ... UnauthorizedOperation - /// ... ApiNotFoundError - /// ... StageNotFoundError - /// ... SchemaNotFoundError - /// ... Error + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code /// message - /// ... Error + /// path + /// locations { + /// __typename + /// column + /// line + /// } /// } /// - /// fragment Error on Error { + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { /// message /// } /// - /// fragment ApiNotFoundError on ApiNotFoundError { - /// __typename - /// message - /// apiId - /// ... Error + /// fragment SchemaVersionValidationSuccess on SchemaVersionValidationSuccess { + /// state + /// changes { + /// __typename + /// ... SchemaChangeLogEntry + /// } /// } /// - /// fragment StageNotFoundError on StageNotFoundError { - /// __typename - /// message - /// name - /// ... Error + /// fragment OperationInProgress on OperationInProgress { + /// state /// } /// - /// fragment SchemaNotFoundError on SchemaNotFoundError { - /// message - /// apiId - /// tag - /// ... Error + /// fragment ValidationInProgress on ValidationInProgress { + /// state /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaVersionMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdatedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public OnSchemaVersionValidationUpdatedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnSchemaVersionValidationUpdatedResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: OnSchemaVersionValidationUpdatedSubscriptionDocument.Instance.Hash.Value, name: "OnSchemaVersionValidationUpdated", document: OnSchemaVersionValidationUpdatedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the OnSchemaVersionValidationUpdated GraphQL operation /// @@ -131340,6 +158236,7 @@ public partial interface IValidateSchemaVersionMutation : global::StrawberryShak /// ... SchemaVersionChangeViolationError /// ... OperationsAreNotAllowedError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// @@ -131757,6 +158654,46 @@ public partial interface IValidateSchemaVersionMutation : global::StrawberryShak /// message /// } /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// /// fragment SchemaVersionValidationSuccess on SchemaVersionValidationSuccess { /// state /// changes { @@ -131774,1706 +158711,2517 @@ public partial interface IValidateSchemaVersionMutation : global::StrawberryShak /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdatedSubscriptionDocument : global::StrawberryShake.IDocument - { - private OnSchemaVersionValidationUpdatedSubscriptionDocument() - { - } - - public static OnSchemaVersionValidationUpdatedSubscriptionDocument Instance { get; } = new OnSchemaVersionValidationUpdatedSubscriptionDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "166ad390699c17f05b060ddcef1d7bea"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnSchemaVersionValidationUpdatedSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the UpdateStages GraphQL operation + /// + /// mutation UpdateStages($input: UpdateStagesInput!) { + /// updateStages(input: $input) { + /// __typename + /// api { + /// __typename + /// stages { + /// __typename + /// ... StageDetailPrompt_Stage + /// } + /// } + /// errors { + /// __typename + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... StagesHavePublishedDependenciesError + /// ... on Error { + /// message + /// __typename + /// } + /// } + /// } + /// } + /// + /// fragment StageDetailPrompt_Stage on Stage { + /// id + /// name + /// displayName + /// conditions { + /// __typename + /// ... StageCondition + /// } + /// } + /// + /// fragment StageCondition on StageCondition { + /// ... AfterStageCondition + /// } + /// + /// fragment AfterStageCondition on AfterStageCondition { + /// afterStage { + /// __typename + /// name + /// } + /// } + /// + /// fragment ApiNotFoundError on ApiNotFoundError { + /// __typename + /// message + /// apiId + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment StageNotFoundError on StageNotFoundError { + /// __typename + /// message + /// name + /// ... Error + /// } + /// + /// fragment StagesHavePublishedDependenciesError on StagesHavePublishedDependenciesError { + /// __typename + /// message + /// stages { + /// __typename + /// name + /// publishedSchema { + /// __typename + /// version { + /// __typename + /// tag + /// } + /// } + /// publishedClients { + /// __typename + /// client { + /// __typename + /// name + /// } + /// publishedVersions { + /// __typename + /// version { + /// __typename + /// tag + /// } + /// } + /// } + /// } + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStagesMutationDocument : global::StrawberryShake.IDocument + { + private UpdateStagesMutationDocument() + { + } + + public static UpdateStagesMutationDocument Instance { get; } = new UpdateStagesMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "a50cce1fa951fcdc164e78c6f8726374"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the OnSchemaVersionValidationUpdated GraphQL operation + /// Represents the operation service of the UpdateStages GraphQL operation /// - /// subscription OnSchemaVersionValidationUpdated($requestId: ID!) { - /// onSchemaVersionValidationUpdate(requestId: $requestId) { + /// mutation UpdateStages($input: UpdateStagesInput!) { + /// updateStages(input: $input) { /// __typename - /// ... SchemaVersionValidationFailed - /// ... SchemaVersionValidationSuccess - /// ... OperationInProgress - /// ... ValidationInProgress + /// api { + /// __typename + /// stages { + /// __typename + /// ... StageDetailPrompt_Stage + /// } + /// } + /// errors { + /// __typename + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... StagesHavePublishedDependenciesError + /// ... on Error { + /// message + /// __typename + /// } + /// } /// } /// } /// - /// fragment SchemaVersionValidationFailed on SchemaVersionValidationFailed { - /// state - /// errors { + /// fragment StageDetailPrompt_Stage on Stage { + /// id + /// name + /// displayName + /// conditions { /// __typename - /// ... UnexpectedProcessingError - /// ... ProcessingTimeoutError - /// ... SchemaVersionSyntaxError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... SchemaVersionChangeViolationError - /// ... OperationsAreNotAllowedError - /// ... OpenApiCollectionValidationError + /// ... StageCondition + /// } + /// } + /// + /// fragment StageCondition on StageCondition { + /// ... AfterStageCondition + /// } + /// + /// fragment AfterStageCondition on AfterStageCondition { + /// afterStage { + /// __typename + /// name /// } /// } /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename /// message + /// apiId + /// ... Error /// } /// - /// fragment ProcessingTimeoutError on ProcessingTimeoutError { - /// __typename + /// fragment Error on Error { /// message /// } /// - /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { + /// fragment StageNotFoundError on StageNotFoundError { /// __typename /// message - /// column - /// position - /// line + /// name + /// ... Error /// } /// - /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { + /// fragment StagesHavePublishedDependenciesError on StagesHavePublishedDependenciesError { /// __typename /// message - /// errors { - /// __typename - /// message - /// code - /// } - /// } - /// - /// fragment PersistedQueryValidationError on PersistedQueryValidationError { - /// message - /// client { + /// stages { /// __typename - /// id /// name + /// publishedSchema { + /// __typename + /// version { + /// __typename + /// tag + /// } + /// } + /// publishedClients { + /// __typename + /// client { + /// __typename + /// name + /// } + /// publishedVersions { + /// __typename + /// version { + /// __typename + /// tag + /// } + /// } + /// } /// } - /// queries { + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStagesMutation : global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _updateStagesInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public UpdateStagesMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _updateStagesInputFormatter = serializerResolver.GetInputValueFormatter("UpdateStagesInput"); + } + + private UpdateStagesMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter updateStagesInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _updateStagesInputFormatter = updateStagesInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IUpdateStagesResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesMutation(_operationExecutor, _configure.Add(configure), _updateStagesInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: UpdateStagesMutationDocument.Instance.Hash.Value, name: "UpdateStages", document: UpdateStagesMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _updateStagesInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the UpdateStages GraphQL operation + /// + /// mutation UpdateStages($input: UpdateStagesInput!) { + /// updateStages(input: $input) { /// __typename - /// deployedTags - /// message - /// hash + /// api { + /// __typename + /// stages { + /// __typename + /// ... StageDetailPrompt_Stage + /// } + /// } /// errors { /// __typename - /// message - /// code - /// path - /// locations { + /// ... ApiNotFoundError + /// ... StageNotFoundError + /// ... StagesHavePublishedDependenciesError + /// ... on Error { + /// message /// __typename - /// column - /// line /// } /// } /// } /// } /// - /// fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { - /// __typename - /// changes { + /// fragment StageDetailPrompt_Stage on Stage { + /// id + /// name + /// displayName + /// conditions { /// __typename - /// ... SchemaChangeLogEntry + /// ... StageCondition /// } /// } /// - /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { - /// __typename - /// ... TypeSystemMemberAddedChange - /// ... TypeSystemMemberRemovedChange - /// ... ObjectModifiedChange - /// ... InputObjectModifiedChange - /// ... DirectiveModifiedChange - /// ... ScalarModifiedChange - /// ... EnumModifiedChange - /// ... UnionModifiedChange - /// ... InterfaceModifiedChange - /// ... SchemaChange - /// } - /// - /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// } - /// - /// fragment SchemaChange on SchemaChange { - /// severity - /// } - /// - /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename + /// fragment StageCondition on StageCondition { + /// ... AfterStageCondition /// } /// - /// fragment ObjectModifiedChange on ObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment AfterStageCondition on AfterStageCondition { + /// afterStage { /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged + /// name /// } /// } /// - /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { - /// ... SchemaChange - /// interfaceName - /// severity - /// } - /// - /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { - /// ... SchemaChange - /// interfaceName - /// severity - /// } - /// - /// fragment DescriptionChanged on DescriptionChanged { - /// ... SchemaChange - /// old - /// new - /// severity + /// fragment ApiNotFoundError on ApiNotFoundError { /// __typename + /// message + /// apiId + /// ... Error /// } /// - /// fragment FieldAddedChange on FieldAddedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity - /// } - /// - /// fragment FieldRemovedChange on FieldRemovedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity - /// } - /// - /// fragment OutputFieldChanged on OutputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { - /// __typename - /// ... ArgumentRemoved - /// ... ArgumentAdded - /// ... ArgumentChanged - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange - /// } - /// } - /// - /// fragment ArgumentRemoved on ArgumentRemoved { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// typeName - /// __typename + /// fragment Error on Error { + /// message /// } /// - /// fragment ArgumentAdded on ArgumentAdded { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// typeName + /// fragment StageNotFoundError on StageNotFoundError { /// __typename - /// } - /// - /// fragment ArgumentChanged on ArgumentChanged { - /// ... SchemaChange - /// coordinate - /// severity + /// message /// name - /// __typename - /// changes { - /// __typename - /// ... DescriptionChanged - /// ... DeprecatedChange - /// ... TypeChanged - /// } - /// } - /// - /// fragment DeprecatedChange on DeprecatedChange { - /// ... SchemaChange - /// deprecationReason - /// severity - /// } - /// - /// fragment TypeChanged on TypeChanged { - /// ... SchemaChange - /// oldType - /// newType - /// severity - /// __typename + /// ... Error /// } /// - /// fragment InputObjectModifiedChange on InputObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment StagesHavePublishedDependenciesError on StagesHavePublishedDependenciesError { /// __typename - /// changes { + /// message + /// stages { /// __typename - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... InputFieldChanged + /// name + /// publishedSchema { + /// __typename + /// version { + /// __typename + /// tag + /// } + /// } + /// publishedClients { + /// __typename + /// client { + /// __typename + /// name + /// } + /// publishedVersions { + /// __typename + /// version { + /// __typename + /// tag + /// } + /// } + /// } /// } /// } - /// - /// fragment InputFieldChanged on InputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStagesMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.UpdateStagesInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ListStagesQuery GraphQL operation + /// + /// query ListStagesQuery($apiId: ID!) { + /// node(id: $apiId) { /// __typename - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange + /// ... on Api { + /// stages { + /// __typename + /// id + /// name + /// displayName + /// ... StageDetailPrompt_Stage + /// } + /// } /// } /// } /// - /// fragment DirectiveModifiedChange on DirectiveModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment StageDetailPrompt_Stage on Stage { + /// id + /// name + /// displayName + /// conditions { /// __typename - /// ... DirectiveLocationAdded - /// ... DirectiveLocationRemoved - /// ... DescriptionChanged - /// ... ArgumentRemoved - /// ... ArgumentChanged - /// ... ArgumentAdded + /// ... StageCondition /// } /// } /// - /// fragment DirectiveLocationAdded on DirectiveLocationAdded { - /// ... SchemaChange - /// location - /// severity - /// __typename - /// } - /// - /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { - /// ... SchemaChange - /// location - /// severity - /// __typename + /// fragment StageCondition on StageCondition { + /// ... AfterStageCondition /// } /// - /// fragment ScalarModifiedChange on ScalarModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment AfterStageCondition on AfterStageCondition { + /// afterStage { /// __typename - /// ... DescriptionChanged + /// name /// } /// } - /// - /// fragment EnumModifiedChange on EnumModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListStagesQueryQueryDocument() + { + } + + public static ListStagesQueryQueryDocument Instance { get; } = new ListStagesQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "ff9fd00b5a96ac47f6aa413a425337d9"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ListStagesQuery GraphQL operation + /// + /// query ListStagesQuery($apiId: ID!) { + /// node(id: $apiId) { /// __typename - /// ... DescriptionChanged - /// ... EnumValueRemoved - /// ... EnumValueAdded - /// ... EnumValueChanged + /// ... on Api { + /// stages { + /// __typename + /// id + /// name + /// displayName + /// ... StageDetailPrompt_Stage + /// } + /// } /// } /// } /// - /// fragment EnumValueRemoved on EnumValueRemoved { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment StageDetailPrompt_Stage on Stage { + /// id + /// name + /// displayName + /// conditions { + /// __typename + /// ... StageCondition + /// } /// } /// - /// fragment EnumValueAdded on EnumValueAdded { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment StageCondition on StageCondition { + /// ... AfterStageCondition /// } /// - /// fragment EnumValueChanged on EnumValueChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// changes { + /// fragment AfterStageCondition on AfterStageCondition { + /// afterStage { /// __typename - /// ... DeprecatedChange - /// ... DescriptionChanged + /// name /// } /// } - /// - /// fragment UnionModifiedChange on UnionModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListStagesQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + private ListStagesQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListStagesQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListStagesQueryQueryDocument.Instance.Hash.Value, name: "ListStagesQuery", document: ListStagesQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ListStagesQuery GraphQL operation + /// + /// query ListStagesQuery($apiId: ID!) { + /// node(id: $apiId) { /// __typename - /// ... DescriptionChanged - /// ... UnionMemberRemoved - /// ... UnionMemberAdded + /// ... on Api { + /// stages { + /// __typename + /// id + /// name + /// displayName + /// ... StageDetailPrompt_Stage + /// } + /// } /// } /// } /// - /// fragment UnionMemberRemoved on UnionMemberRemoved { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment UnionMemberAdded on UnionMemberAdded { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment InterfaceModifiedChange on InterfaceModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment StageDetailPrompt_Stage on Stage { + /// id + /// name + /// displayName + /// conditions { /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged - /// ... PossibleTypeAdded - /// ... PossibleTypeRemoved + /// ... StageCondition /// } /// } /// - /// fragment PossibleTypeAdded on PossibleTypeAdded { - /// ... SchemaChange - /// typeName - /// severity - /// } - /// - /// fragment PossibleTypeRemoved on PossibleTypeRemoved { - /// ... SchemaChange - /// typeName - /// severity + /// fragment StageCondition on StageCondition { + /// ... AfterStageCondition /// } /// - /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { - /// __typename - /// message + /// fragment AfterStageCondition on AfterStageCondition { + /// afterStage { + /// __typename + /// name + /// } /// } - /// - /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { - /// collections { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListStagesQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the CreateWorkspaceCommandMutation GraphQL operation + /// + /// mutation CreateWorkspaceCommandMutation($input: CreateWorkspaceInput!) { + /// createWorkspace(input: $input) { /// __typename - /// openApiCollection { + /// workspace { /// __typename /// id /// name + /// ... WorkspaceDetailPrompt_Workspace /// } - /// entities { + /// errors { /// __typename - /// errors { - /// __typename - /// ... OpenApiCollectionValidationDocumentError - /// ... OpenApiCollectionValidationEntityValidationError + /// ... on UnauthorizedOperation { + /// message /// } - /// ... on OpenApiCollectionValidationEndpoint { - /// httpMethod - /// route + /// ... on ValidationError { + /// message /// } - /// ... on OpenApiCollectionValidationModel { - /// name + /// ... on Error { + /// message /// } /// } /// } /// } /// - /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { - /// code - /// message - /// path - /// locations { + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutationMutationDocument : global::StrawberryShake.IDocument + { + private CreateWorkspaceCommandMutationMutationDocument() + { + } + + public static CreateWorkspaceCommandMutationMutationDocument Instance { get; } = new CreateWorkspaceCommandMutationMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "c8d21a0bb621a01952ffb6224bbbfe0d"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CreateWorkspaceCommandMutation GraphQL operation + /// + /// mutation CreateWorkspaceCommandMutation($input: CreateWorkspaceInput!) { + /// createWorkspace(input: $input) { /// __typename - /// column - /// line + /// workspace { + /// __typename + /// id + /// name + /// ... WorkspaceDetailPrompt_Workspace + /// } + /// errors { + /// __typename + /// ... on UnauthorizedOperation { + /// message + /// } + /// ... on ValidationError { + /// message + /// } + /// ... on Error { + /// message + /// } + /// } /// } /// } /// - /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { - /// message + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal /// } - /// - /// fragment SchemaVersionValidationSuccess on SchemaVersionValidationSuccess { - /// state - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutationMutation : global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _createWorkspaceInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CreateWorkspaceCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _createWorkspaceInputFormatter = serializerResolver.GetInputValueFormatter("CreateWorkspaceInput"); + } + + private CreateWorkspaceCommandMutationMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter createWorkspaceInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _createWorkspaceInputFormatter = createWorkspaceInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICreateWorkspaceCommandMutationResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceCommandMutationMutation(_operationExecutor, _configure.Add(configure), _createWorkspaceInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CreateWorkspaceCommandMutationMutationDocument.Instance.Hash.Value, name: "CreateWorkspaceCommandMutation", document: CreateWorkspaceCommandMutationMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _createWorkspaceInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the CreateWorkspaceCommandMutation GraphQL operation + /// + /// mutation CreateWorkspaceCommandMutation($input: CreateWorkspaceInput!) { + /// createWorkspace(input: $input) { /// __typename - /// ... SchemaChangeLogEntry + /// workspace { + /// __typename + /// id + /// name + /// ... WorkspaceDetailPrompt_Workspace + /// } + /// errors { + /// __typename + /// ... on UnauthorizedOperation { + /// message + /// } + /// ... on ValidationError { + /// message + /// } + /// ... on Error { + /// message + /// } + /// } /// } /// } /// - /// fragment OperationInProgress on OperationInProgress { - /// state - /// } - /// - /// fragment ValidationInProgress on ValidationInProgress { - /// state + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdatedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - public OnSchemaVersionValidationUpdatedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnSchemaVersionValidationUpdatedResult); - - public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(requestId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("requestId", FormatRequestId(requestId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: OnSchemaVersionValidationUpdatedSubscriptionDocument.Instance.Hash.Value, name: "OnSchemaVersionValidationUpdated", document: OnSchemaVersionValidationUpdatedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatRequestId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceCommandMutationMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the OnSchemaVersionValidationUpdated GraphQL operation + /// Represents the operation service of the ListWorkspaceCommandQuery GraphQL operation /// - /// subscription OnSchemaVersionValidationUpdated($requestId: ID!) { - /// onSchemaVersionValidationUpdate(requestId: $requestId) { + /// query ListWorkspaceCommandQuery($after: String, $first: Int) { + /// me { /// __typename - /// ... SchemaVersionValidationFailed - /// ... SchemaVersionValidationSuccess - /// ... OperationInProgress - /// ... ValidationInProgress + /// workspaces(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListWorkspaceCommand_WorkspaceEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } /// } /// } /// - /// fragment SchemaVersionValidationFailed on SchemaVersionValidationFailed { - /// state - /// errors { + /// fragment ListWorkspaceCommand_WorkspaceEdge on WorkspacesEdge { + /// cursor + /// node { /// __typename - /// ... UnexpectedProcessingError - /// ... ProcessingTimeoutError - /// ... SchemaVersionSyntaxError - /// ... InvalidGraphQLSchemaError - /// ... PersistedQueryValidationError - /// ... SchemaVersionChangeViolationError - /// ... OperationsAreNotAllowedError - /// ... OpenApiCollectionValidationError + /// ... ListWorkspaceCommand_Workspace /// } /// } /// - /// fragment UnexpectedProcessingError on UnexpectedProcessingError { - /// __typename - /// message - /// } - /// - /// fragment ProcessingTimeoutError on ProcessingTimeoutError { - /// __typename - /// message + /// fragment ListWorkspaceCommand_Workspace on Workspace { + /// id + /// name + /// personal + /// ... WorkspaceDetailPrompt_Workspace /// } /// - /// fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { - /// __typename - /// message - /// column - /// position - /// line + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal /// } /// - /// fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { - /// __typename - /// message - /// errors { - /// __typename - /// message - /// code - /// } + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } - /// - /// fragment PersistedQueryValidationError on PersistedQueryValidationError { - /// message - /// client { - /// __typename - /// id - /// name - /// } - /// queries { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ListWorkspaceCommandQueryQueryDocument() + { + } + + public static ListWorkspaceCommandQueryQueryDocument Instance { get; } = new ListWorkspaceCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "81090212b99490332c1b0614e4509b64"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ListWorkspaceCommandQuery GraphQL operation + /// + /// query ListWorkspaceCommandQuery($after: String, $first: Int) { + /// me { /// __typename - /// deployedTags - /// message - /// hash - /// errors { + /// workspaces(after: $after, first: $first) { /// __typename - /// message - /// code - /// path - /// locations { + /// edges { /// __typename - /// column - /// line + /// ... ListWorkspaceCommand_WorkspaceEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo /// } /// } /// } /// } /// - /// fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { - /// __typename - /// changes { + /// fragment ListWorkspaceCommand_WorkspaceEdge on WorkspacesEdge { + /// cursor + /// node { /// __typename - /// ... SchemaChangeLogEntry + /// ... ListWorkspaceCommand_Workspace /// } /// } /// - /// fragment SchemaChangeLogEntry on SchemaChangeLogEntry { - /// __typename - /// ... TypeSystemMemberAddedChange - /// ... TypeSystemMemberRemovedChange - /// ... ObjectModifiedChange - /// ... InputObjectModifiedChange - /// ... DirectiveModifiedChange - /// ... ScalarModifiedChange - /// ... EnumModifiedChange - /// ... UnionModifiedChange - /// ... InterfaceModifiedChange - /// ... SchemaChange + /// fragment ListWorkspaceCommand_Workspace on Workspace { + /// id + /// name + /// personal + /// ... WorkspaceDetailPrompt_Workspace /// } /// - /// fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal /// } /// - /// fragment SchemaChange on SchemaChange { - /// severity + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } - /// - /// fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ListWorkspaceCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private ListWorkspaceCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IListWorkspaceCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ListWorkspaceCommandQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ListWorkspaceCommandQueryQueryDocument.Instance.Hash.Value, name: "ListWorkspaceCommandQuery", document: ListWorkspaceCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ListWorkspaceCommandQuery GraphQL operation + /// + /// query ListWorkspaceCommandQuery($after: String, $first: Int) { + /// me { + /// __typename + /// workspaces(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... ListWorkspaceCommand_WorkspaceEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } /// } /// - /// fragment ObjectModifiedChange on ObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment ListWorkspaceCommand_WorkspaceEdge on WorkspacesEdge { + /// cursor + /// node { /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged + /// ... ListWorkspaceCommand_Workspace /// } /// } /// - /// fragment InterfaceImplementationAdded on InterfaceImplementationAdded { - /// ... SchemaChange - /// interfaceName - /// severity + /// fragment ListWorkspaceCommand_Workspace on Workspace { + /// id + /// name + /// personal + /// ... WorkspaceDetailPrompt_Workspace /// } /// - /// fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { - /// ... SchemaChange - /// interfaceName - /// severity + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal /// } /// - /// fragment DescriptionChanged on DescriptionChanged { - /// ... SchemaChange - /// old - /// new - /// severity - /// __typename + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } - /// - /// fragment FieldAddedChange on FieldAddedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IListWorkspaceCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the SetDefaultWorkspaceCommand_SelectWorkspace_Query GraphQL operation + /// + /// query SetDefaultWorkspaceCommand_SelectWorkspace_Query($after: String, $first: Int) { + /// me { + /// __typename + /// workspaces(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// cursor + /// node { + /// __typename + /// ... SetDefaultWorkspaceCommand_Workspace + /// } + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } /// } /// - /// fragment FieldRemovedChange on FieldRemovedChange { - /// ... SchemaChange - /// coordinate - /// typeName - /// fieldName - /// severity + /// fragment SetDefaultWorkspaceCommand_Workspace on Workspace { + /// id + /// name + /// personal /// } /// - /// fragment OutputFieldChanged on OutputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument : global::StrawberryShake.IDocument + { + private SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument() + { + } + + public static SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument Instance { get; } = new SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "bb47ed5730c7751c64b0f1fdcc3f0bf5"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the SetDefaultWorkspaceCommand_SelectWorkspace_Query GraphQL operation + /// + /// query SetDefaultWorkspaceCommand_SelectWorkspace_Query($after: String, $first: Int) { + /// me { /// __typename - /// ... ArgumentRemoved - /// ... ArgumentAdded - /// ... ArgumentChanged - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange + /// workspaces(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// cursor + /// node { + /// __typename + /// ... SetDefaultWorkspaceCommand_Workspace + /// } + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } /// } /// } /// - /// fragment ArgumentRemoved on ArgumentRemoved { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment SetDefaultWorkspaceCommand_Workspace on Workspace { + /// id /// name - /// typeName - /// __typename + /// personal /// } /// - /// fragment ArgumentAdded on ArgumentAdded { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// typeName - /// __typename + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } - /// - /// fragment ArgumentChanged on ArgumentChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// name - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public SetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private SetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISetDefaultWorkspaceCommand_SelectWorkspace_QueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.SetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument.Instance.Hash.Value, name: "SetDefaultWorkspaceCommand_SelectWorkspace_Query", document: SetDefaultWorkspaceCommand_SelectWorkspace_QueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the SetDefaultWorkspaceCommand_SelectWorkspace_Query GraphQL operation + /// + /// query SetDefaultWorkspaceCommand_SelectWorkspace_Query($after: String, $first: Int) { + /// me { /// __typename - /// ... DescriptionChanged - /// ... DeprecatedChange - /// ... TypeChanged + /// workspaces(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// cursor + /// node { + /// __typename + /// ... SetDefaultWorkspaceCommand_Workspace + /// } + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } /// } /// } /// - /// fragment DeprecatedChange on DeprecatedChange { - /// ... SchemaChange - /// deprecationReason - /// severity + /// fragment SetDefaultWorkspaceCommand_Workspace on Workspace { + /// id + /// name + /// personal /// } /// - /// fragment TypeChanged on TypeChanged { - /// ... SchemaChange - /// oldType - /// newType - /// severity - /// __typename + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } - /// - /// fragment InputObjectModifiedChange on InputObjectModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the ShowWorkspaceCommandQuery GraphQL operation + /// + /// query ShowWorkspaceCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { /// __typename - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... InputFieldChanged + /// ... WorkspaceDetailPrompt_Workspace /// } /// } /// - /// fragment InputFieldChanged on InputFieldChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// fieldName - /// changes { + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQueryQueryDocument : global::StrawberryShake.IDocument + { + private ShowWorkspaceCommandQueryQueryDocument() + { + } + + public static ShowWorkspaceCommandQueryQueryDocument Instance { get; } = new ShowWorkspaceCommandQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "c46bc0ec07d6718f937f666a59f957b0"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the ShowWorkspaceCommandQuery GraphQL operation + /// + /// query ShowWorkspaceCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { /// __typename - /// ... DescriptionChanged - /// ... TypeChanged - /// ... DeprecatedChange + /// ... WorkspaceDetailPrompt_Workspace /// } /// } /// - /// fragment DirectiveModifiedChange on DirectiveModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ShowWorkspaceCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + private ShowWorkspaceCommandQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IShowWorkspaceCommandQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQueryQuery(_operationExecutor, _configure.Add(configure), _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: ShowWorkspaceCommandQueryQueryDocument.Instance.Hash.Value, name: "ShowWorkspaceCommandQuery", document: ShowWorkspaceCommandQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the ShowWorkspaceCommandQuery GraphQL operation + /// + /// query ShowWorkspaceCommandQuery($workspaceId: ID!) { + /// node(id: $workspaceId) { /// __typename - /// ... DirectiveLocationAdded - /// ... DirectiveLocationRemoved - /// ... DescriptionChanged - /// ... ArgumentRemoved - /// ... ArgumentChanged - /// ... ArgumentAdded + /// ... WorkspaceDetailPrompt_Workspace /// } /// } /// - /// fragment DirectiveLocationAdded on DirectiveLocationAdded { - /// ... SchemaChange - /// location - /// severity - /// __typename - /// } - /// - /// fragment DirectiveLocationRemoved on DirectiveLocationRemoved { - /// ... SchemaChange - /// location - /// severity - /// __typename + /// fragment WorkspaceDetailPrompt_Workspace on Workspace { + /// id + /// name + /// personal /// } - /// - /// fragment ScalarModifiedChange on ScalarModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IShowWorkspaceCommandQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the SelectApiPromptQuery GraphQL operation + /// + /// query SelectApiPromptQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { /// __typename - /// ... DescriptionChanged + /// apis(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... SelectApiPrompt_ApiEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } /// } /// } /// - /// fragment EnumModifiedChange on EnumModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment SelectApiPrompt_ApiEdge on ApisEdge { + /// cursor + /// node { /// __typename - /// ... DescriptionChanged - /// ... EnumValueRemoved - /// ... EnumValueAdded - /// ... EnumValueChanged + /// ... SelectApiPrompt_Api /// } /// } /// - /// fragment EnumValueRemoved on EnumValueRemoved { - /// ... SchemaChange - /// coordinate - /// severity - /// } - /// - /// fragment EnumValueAdded on EnumValueAdded { - /// ... SchemaChange - /// coordinate - /// severity + /// fragment SelectApiPrompt_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api /// } /// - /// fragment EnumValueChanged on EnumValueChanged { - /// ... SchemaChange - /// coordinate - /// severity - /// changes { + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { /// __typename - /// ... DeprecatedChange - /// ... DescriptionChanged + /// id + /// name /// } - /// } - /// - /// fragment UnionModifiedChange on UnionModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// settings { /// __typename - /// ... DescriptionChanged - /// ... UnionMemberRemoved - /// ... UnionMemberAdded + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } /// } /// } /// - /// fragment UnionMemberRemoved on UnionMemberRemoved { - /// ... SchemaChange - /// typeName - /// severity + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } - /// - /// fragment UnionMemberAdded on UnionMemberAdded { - /// ... SchemaChange - /// typeName - /// severity + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQueryQueryDocument : global::StrawberryShake.IDocument + { + private SelectApiPromptQueryQueryDocument() + { + } + + public static SelectApiPromptQueryQueryDocument Instance { get; } = new SelectApiPromptQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "a99c8cea1f4c187c4b1a8f615aa22fac"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the SelectApiPromptQuery GraphQL operation + /// + /// query SelectApiPromptQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { + /// __typename + /// apis(after: $after, first: $first) { + /// __typename + /// edges { + /// __typename + /// ... SelectApiPrompt_ApiEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } + /// } + /// } /// } /// - /// fragment InterfaceModifiedChange on InterfaceModifiedChange { - /// ... SchemaChange - /// coordinate - /// severity - /// __typename - /// changes { + /// fragment SelectApiPrompt_ApiEdge on ApisEdge { + /// cursor + /// node { /// __typename - /// ... InterfaceImplementationAdded - /// ... InterfaceImplementationRemoved - /// ... DescriptionChanged - /// ... FieldAddedChange - /// ... FieldRemovedChange - /// ... OutputFieldChanged - /// ... PossibleTypeAdded - /// ... PossibleTypeRemoved + /// ... SelectApiPrompt_Api /// } /// } /// - /// fragment PossibleTypeAdded on PossibleTypeAdded { - /// ... SchemaChange - /// typeName - /// severity + /// fragment SelectApiPrompt_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api /// } /// - /// fragment PossibleTypeRemoved on PossibleTypeRemoved { - /// ... SchemaChange - /// typeName - /// severity + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { + /// __typename + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } + /// } /// } /// - /// fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { - /// __typename - /// message + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } - /// - /// fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { - /// collections { + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _versionFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public SelectApiPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _versionFormatter = serializerResolver.GetInputValueFormatter("Version"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private SelectApiPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter versionFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _versionFormatter = versionFormatter; + _intFormatter = @intFormatter; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectApiPromptQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.SelectApiPromptQueryQuery(_operationExecutor, _configure.Add(configure), _versionFormatter, _intFormatter, _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(workspaceId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(workspaceId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: SelectApiPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectApiPromptQuery", document: SelectApiPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatWorkspaceId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _versionFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the SelectApiPromptQuery GraphQL operation + /// + /// query SelectApiPromptQuery($workspaceId: ID!, $after: Version, $first: Int) { + /// workspaceById(workspaceId: $workspaceId) { /// __typename - /// openApiCollection { - /// __typename - /// id - /// name - /// } - /// entities { + /// apis(after: $after, first: $first) { /// __typename - /// errors { + /// edges { /// __typename - /// ... OpenApiCollectionValidationDocumentError - /// ... OpenApiCollectionValidationEntityValidationError - /// } - /// ... on OpenApiCollectionValidationEndpoint { - /// httpMethod - /// route + /// ... SelectApiPrompt_ApiEdge /// } - /// ... on OpenApiCollectionValidationModel { - /// name + /// pageInfo { + /// __typename + /// ... PageInfo /// } /// } /// } /// } /// - /// fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { - /// code - /// message - /// path - /// locations { + /// fragment SelectApiPrompt_ApiEdge on ApisEdge { + /// cursor + /// node { /// __typename - /// column - /// line + /// ... SelectApiPrompt_Api /// } /// } /// - /// fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { - /// message + /// fragment SelectApiPrompt_Api on Api { + /// id + /// name + /// path + /// ... ApiDetailPrompt_Api /// } /// - /// fragment SchemaVersionValidationSuccess on SchemaVersionValidationSuccess { - /// state - /// changes { + /// fragment ApiDetailPrompt_Api on Api { + /// id + /// name + /// path + /// workspace { /// __typename - /// ... SchemaChangeLogEntry + /// id + /// name + /// } + /// settings { + /// __typename + /// schemaRegistry { + /// __typename + /// treatDangerousAsBreaking + /// allowBreakingSchemaChanges + /// } /// } /// } /// - /// fragment OperationInProgress on OperationInProgress { - /// state - /// } - /// - /// fragment ValidationInProgress on ValidationInProgress { - /// state + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnSchemaVersionValidationUpdatedSubscription : global::StrawberryShake.IOperationRequestFactory - { - global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectApiPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the CancelFusionConfigurationPublish GraphQL operation + /// Represents the operation service of the PageClientVersionDetailQuery GraphQL operation /// - /// mutation CancelFusionConfigurationPublish($input: CancelFusionConfigurationCompositionInput!) { - /// cancelFusionConfigurationComposition(input: $input) { + /// query PageClientVersionDetailQuery($id: ID!, $after: String!) { + /// node(id: $id) { /// __typename - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// ... on Client { + /// versions(first: 10, after: $after) { + /// __typename + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } /// } - /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQueryQueryDocument : global::StrawberryShake.IDocument + { + private PageClientVersionDetailQueryQueryDocument() + { + } + + public static PageClientVersionDetailQueryQueryDocument Instance { get; } = new PageClientVersionDetailQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "d2cc1b6089c0354e5f8addda5f6d5b56"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the PageClientVersionDetailQuery GraphQL operation + /// + /// query PageClientVersionDetailQuery($id: ID!, $after: String!) { + /// node(id: $id) { + /// __typename + /// ... on Client { + /// versions(first: 10, after: $after) { + /// __typename + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// } + /// } + /// } /// } /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument - { - private CancelFusionConfigurationPublishMutationDocument() - { - } - - public static CancelFusionConfigurationPublishMutationDocument Instance { get; } = new CancelFusionConfigurationPublishMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "39e48feb517b1ca240cec144623126c8"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public PageClientVersionDetailQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + } + + private PageClientVersionDetailQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPageClientVersionDetailQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String id, global::System.String after, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(id, after); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String id, global::System.String after, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(id, after); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String id, global::System.String after) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("id", FormatId(id)); + variables.Add("after", FormatAfter(after)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: PageClientVersionDetailQueryQueryDocument.Instance.Hash.Value, name: "PageClientVersionDetailQuery", document: PageClientVersionDetailQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _stringFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the CancelFusionConfigurationPublish GraphQL operation + /// Represents the operation service of the PageClientVersionDetailQuery GraphQL operation /// - /// mutation CancelFusionConfigurationPublish($input: CancelFusionConfigurationCompositionInput!) { - /// cancelFusionConfigurationComposition(input: $input) { + /// query PageClientVersionDetailQuery($id: ID!, $after: String!) { + /// node(id: $id) { /// __typename - /// errors { - /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// ... on Client { + /// versions(first: 10, after: $after) { + /// __typename + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor + /// } + /// edges { + /// __typename + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _cancelFusionConfigurationCompositionInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CancelFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _cancelFusionConfigurationCompositionInputFormatter = serializerResolver.GetInputValueFormatter("CancelFusionConfigurationCompositionInput"); - } - - private CancelFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter cancelFusionConfigurationCompositionInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _cancelFusionConfigurationCompositionInputFormatter = cancelFusionConfigurationCompositionInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICancelFusionConfigurationPublishResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _cancelFusionConfigurationCompositionInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: CancelFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "CancelFusionConfigurationPublish", document: CancelFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _cancelFusionConfigurationCompositionInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPageClientVersionDetailQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String id, global::System.String after, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String id, global::System.String after, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the CancelFusionConfigurationPublish GraphQL operation + /// Represents the operation service of the SelectClientPromptQuery GraphQL operation /// - /// mutation CancelFusionConfigurationPublish($input: CancelFusionConfigurationCompositionInput!) { - /// cancelFusionConfigurationComposition(input: $input) { + /// query SelectClientPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// apiById(id: $apiId) { /// __typename - /// errors { + /// clients(after: $after, first: $first) { /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// edges { + /// __typename + /// ... SelectClientPrompt_ClientEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message + /// fragment SelectClientPrompt_ClientEdge on ClientsEdge { + /// cursor + /// node { + /// __typename + /// ... SelectClientPrompt_Client + /// } /// } /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error + /// fragment SelectClientPrompt_Client on Client { + /// id + /// name + /// ... ClientDetailPrompt_Client /// } /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the CommitFusionConfigurationPublish GraphQL operation - /// - /// mutation CommitFusionConfigurationPublish($input: CommitFusionConfigurationPublishInput!) { - /// commitFusionConfigurationPublish(input: $input) { + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { /// __typename - /// errors { + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } /// } /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument - { - private CommitFusionConfigurationPublishMutationDocument() - { - } - - public static CommitFusionConfigurationPublishMutationDocument Instance { get; } = new CommitFusionConfigurationPublishMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "fd942dedfe5e376385ae72436c97104a"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQueryQueryDocument : global::StrawberryShake.IDocument + { + private SelectClientPromptQueryQueryDocument() + { + } + + public static SelectClientPromptQueryQueryDocument Instance { get; } = new SelectClientPromptQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "89d9fea06884980ce1721212dff781b9"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the CommitFusionConfigurationPublish GraphQL operation + /// Represents the operation service of the SelectClientPromptQuery GraphQL operation /// - /// mutation CommitFusionConfigurationPublish($input: CommitFusionConfigurationPublishInput!) { - /// commitFusionConfigurationPublish(input: $input) { + /// query SelectClientPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// apiById(id: $apiId) { /// __typename - /// errors { + /// clients(after: $after, first: $first) { /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// edges { + /// __typename + /// ... SelectClientPrompt_ClientEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message + /// fragment SelectClientPrompt_ClientEdge on ClientsEdge { + /// cursor + /// node { + /// __typename + /// ... SelectClientPrompt_Client + /// } /// } /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error + /// fragment SelectClientPrompt_Client on Client { + /// id + /// name + /// ... ClientDetailPrompt_Client /// } /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _commitFusionConfigurationPublishInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public CommitFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _commitFusionConfigurationPublishInputFormatter = serializerResolver.GetInputValueFormatter("CommitFusionConfigurationPublishInput"); - } - - private CommitFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter commitFusionConfigurationPublishInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _commitFusionConfigurationPublishInputFormatter = commitFusionConfigurationPublishInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICommitFusionConfigurationPublishResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _commitFusionConfigurationPublishInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeCommitFusionConfigurationPublishInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput value, global::System.Collections.Generic.Dictionary files) - { - var pathConfiguration = path + ".configuration"; - var valueConfiguration = value.Configuration; - files.Add(pathConfiguration, valueConfiguration is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeCommitFusionConfigurationPublishInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: CommitFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "CommitFusionConfigurationPublish", document: CommitFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _commitFusionConfigurationPublishInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - - /// - /// Represents the operation service of the CommitFusionConfigurationPublish GraphQL operation - /// - /// mutation CommitFusionConfigurationPublish($input: CommitFusionConfigurationPublishInput!) { - /// commitFusionConfigurationPublish(input: $input) { + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { /// __typename - /// errors { + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the StartFusionConfigurationPublish GraphQL operation - /// - /// mutation StartFusionConfigurationPublish($input: StartFusionConfigurationCompositionInput!) { - /// startFusionConfigurationComposition(input: $input) { + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { /// __typename - /// errors { + /// id + /// createdAt + /// tag + /// publishedTo { /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// stage { + /// __typename + /// name + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument - { - private StartFusionConfigurationPublishMutationDocument() - { - } - - public static StartFusionConfigurationPublishMutationDocument Instance { get; } = new StartFusionConfigurationPublishMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "2513a57b937300d59ac37db38e3592e5"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public SelectClientPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private SelectClientPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectClientPromptQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.SelectClientPromptQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: SelectClientPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectClientPromptQuery", document: SelectClientPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the StartFusionConfigurationPublish GraphQL operation + /// Represents the operation service of the SelectClientPromptQuery GraphQL operation /// - /// mutation StartFusionConfigurationPublish($input: StartFusionConfigurationCompositionInput!) { - /// startFusionConfigurationComposition(input: $input) { + /// query SelectClientPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// apiById(id: $apiId) { /// __typename - /// errors { + /// clients(after: $after, first: $first) { /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// edges { + /// __typename + /// ... SelectClientPrompt_ClientEdge + /// } + /// pageInfo { + /// __typename + /// ... PageInfo + /// } /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message + /// fragment SelectClientPrompt_ClientEdge on ClientsEdge { + /// cursor + /// node { + /// __typename + /// ... SelectClientPrompt_Client + /// } /// } /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error + /// fragment SelectClientPrompt_Client on Client { + /// id + /// name + /// ... ClientDetailPrompt_Client /// } /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _startFusionConfigurationCompositionInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public StartFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _startFusionConfigurationCompositionInputFormatter = serializerResolver.GetInputValueFormatter("StartFusionConfigurationCompositionInput"); - } - - private StartFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter startFusionConfigurationCompositionInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _startFusionConfigurationCompositionInputFormatter = startFusionConfigurationCompositionInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IStartFusionConfigurationPublishResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _startFusionConfigurationCompositionInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: StartFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "StartFusionConfigurationPublish", document: StartFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _startFusionConfigurationCompositionInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the StartFusionConfigurationPublish GraphQL operation - /// - /// mutation StartFusionConfigurationPublish($input: StartFusionConfigurationCompositionInput!) { - /// startFusionConfigurationComposition(input: $input) { + /// fragment ClientDetailPrompt_Client on Client { + /// id + /// name + /// api { /// __typename - /// errors { + /// name + /// path + /// } + /// versions { + /// __typename + /// edges { /// __typename - /// ... UnauthorizedOperation - /// ... FusionConfigurationRequestNotFoundError - /// ... InvalidProcessingStateTransitionError - /// ... Error + /// ... ClientDetailPrompt_ClientVersionEdge + /// } + /// pageInfo { + /// __typename + /// hasNextPage + /// endCursor /// } /// } /// } /// - /// fragment UnauthorizedOperation on UnauthorizedOperation { - /// __typename - /// message - /// ... Error - /// } - /// - /// fragment Error on Error { - /// message - /// } - /// - /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { - /// __typename - /// message - /// ... Error + /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { + /// cursor + /// node { + /// __typename + /// id + /// createdAt + /// tag + /// publishedTo { + /// __typename + /// stage { + /// __typename + /// name + /// } + /// } + /// } /// } /// - /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { - /// __typename - /// message - /// ... Error + /// fragment PageInfo on PageInfo { + /// hasPreviousPage + /// hasNextPage + /// endCursor + /// startCursor /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectClientPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the BeginFusionConfigurationPublish GraphQL operation /// @@ -133530,28 +161278,28 @@ public partial interface IStartFusionConfigurationPublishMutation : global::Stra /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument - { - private BeginFusionConfigurationPublishMutationDocument() - { - } - - public static BeginFusionConfigurationPublishMutationDocument Instance { get; } = new BeginFusionConfigurationPublishMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "300e84eb9429d49f38148115ee5a4681"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument + { + private BeginFusionConfigurationPublishMutationDocument() + { + } + + public static BeginFusionConfigurationPublishMutationDocument Instance { get; } = new BeginFusionConfigurationPublishMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "300e84eb9429d49f38148115ee5a4681"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the BeginFusionConfigurationPublish GraphQL operation /// @@ -133608,87 +161356,87 @@ private BeginFusionConfigurationPublishMutationDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _beginFusionConfigurationPublishInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public BeginFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _beginFusionConfigurationPublishInputFormatter = serializerResolver.GetInputValueFormatter("BeginFusionConfigurationPublishInput"); - } - - private BeginFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter beginFusionConfigurationPublishInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _beginFusionConfigurationPublishInputFormatter = beginFusionConfigurationPublishInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IBeginFusionConfigurationPublishResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _beginFusionConfigurationPublishInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: BeginFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "BeginFusionConfigurationPublish", document: BeginFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _beginFusionConfigurationPublishInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _beginFusionConfigurationPublishInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public BeginFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _beginFusionConfigurationPublishInputFormatter = serializerResolver.GetInputValueFormatter("BeginFusionConfigurationPublishInput"); + } + + private BeginFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter beginFusionConfigurationPublishInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _beginFusionConfigurationPublishInputFormatter = beginFusionConfigurationPublishInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IBeginFusionConfigurationPublishResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _beginFusionConfigurationPublishInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: BeginFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "BeginFusionConfigurationPublish", document: BeginFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _beginFusionConfigurationPublishInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the BeginFusionConfigurationPublish GraphQL operation /// @@ -133745,16 +161493,16 @@ private BeginFusionConfigurationPublishMutation(global::StrawberryShake.IOperati /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublishInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the OnFusionConfigurationPublishingTaskChanged GraphQL operation /// @@ -134130,6 +161878,7 @@ public partial interface IBeginFusionConfigurationPublishMutation : global::Stra /// ... SchemaVersionChangeViolationError /// ... InvalidGraphQLSchemaError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// @@ -134213,6 +161962,46 @@ public partial interface IBeginFusionConfigurationPublishMutation : global::Stra /// message /// } /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// /// fragment ValidationInProgress on ValidationInProgress { /// state /// } @@ -134234,6 +162023,7 @@ public partial interface IBeginFusionConfigurationPublishMutation : global::Stra /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on ClientDeployment { @@ -134249,6 +162039,7 @@ public partial interface IBeginFusionConfigurationPublishMutation : global::Stra /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on OpenApiCollectionDeployment { @@ -134257,6 +162048,12 @@ public partial interface IBeginFusionConfigurationPublishMutation : global::Stra /// ... OpenApiCollectionValidationError /// } /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } /// } /// } /// @@ -134286,28 +162083,28 @@ public partial interface IBeginFusionConfigurationPublishMutation : global::Stra /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChangedSubscriptionDocument : global::StrawberryShake.IDocument - { - private OnFusionConfigurationPublishingTaskChangedSubscriptionDocument() - { - } - - public static OnFusionConfigurationPublishingTaskChangedSubscriptionDocument Instance { get; } = new OnFusionConfigurationPublishingTaskChangedSubscriptionDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "e6b146560b4bb683bc425f9dad615f5a"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChangedSubscriptionDocument : global::StrawberryShake.IDocument + { + private OnFusionConfigurationPublishingTaskChangedSubscriptionDocument() + { + } + + public static OnFusionConfigurationPublishingTaskChangedSubscriptionDocument Instance { get; } = new OnFusionConfigurationPublishingTaskChangedSubscriptionDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Subscription; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "ad7832cb824babc85c41b06418596ac6"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the OnFusionConfigurationPublishingTaskChanged GraphQL operation /// @@ -134683,6 +162480,7 @@ private OnFusionConfigurationPublishingTaskChangedSubscriptionDocument() /// ... SchemaVersionChangeViolationError /// ... InvalidGraphQLSchemaError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// @@ -134766,6 +162564,46 @@ private OnFusionConfigurationPublishingTaskChangedSubscriptionDocument() /// message /// } /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// /// fragment ValidationInProgress on ValidationInProgress { /// state /// } @@ -134787,6 +162625,7 @@ private OnFusionConfigurationPublishingTaskChangedSubscriptionDocument() /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on ClientDeployment { @@ -134802,6 +162641,7 @@ private OnFusionConfigurationPublishingTaskChangedSubscriptionDocument() /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on OpenApiCollectionDeployment { @@ -134810,6 +162650,12 @@ private OnFusionConfigurationPublishingTaskChangedSubscriptionDocument() /// ... OpenApiCollectionValidationError /// } /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } /// } /// } /// @@ -134839,53 +162685,53 @@ private OnFusionConfigurationPublishingTaskChangedSubscriptionDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChangedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - public OnFusionConfigurationPublishingTaskChangedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnFusionConfigurationPublishingTaskChangedResult); - - public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(requestId); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("requestId", FormatRequestId(requestId)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: OnFusionConfigurationPublishingTaskChangedSubscriptionDocument.Instance.Hash.Value, name: "OnFusionConfigurationPublishingTaskChanged", document: OnFusionConfigurationPublishingTaskChangedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatRequestId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChangedSubscription : global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + public OnFusionConfigurationPublishingTaskChangedSubscription(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IOnFusionConfigurationPublishingTaskChangedResult); + + public global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(requestId); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String requestId) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("requestId", FormatRequestId(requestId)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: OnFusionConfigurationPublishingTaskChangedSubscriptionDocument.Instance.Hash.Value, name: "OnFusionConfigurationPublishingTaskChanged", document: OnFusionConfigurationPublishingTaskChangedSubscriptionDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatRequestId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the OnFusionConfigurationPublishingTaskChanged GraphQL operation /// @@ -135261,6 +163107,7 @@ public OnFusionConfigurationPublishingTaskChangedSubscription(global::Strawberry /// ... SchemaVersionChangeViolationError /// ... InvalidGraphQLSchemaError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// @@ -135344,6 +163191,46 @@ public OnFusionConfigurationPublishingTaskChangedSubscription(global::Strawberry /// message /// } /// + /// fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + /// collections { + /// __typename + /// mcpFeatureCollection { + /// __typename + /// id + /// name + /// } + /// entities { + /// __typename + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationDocumentError + /// ... McpFeatureCollectionValidationEntityValidationError + /// } + /// ... on McpFeatureCollectionValidationPrompt { + /// name + /// } + /// ... on McpFeatureCollectionValidationTool { + /// name + /// } + /// } + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + /// code + /// message + /// path + /// locations { + /// __typename + /// column + /// line + /// } + /// } + /// + /// fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + /// message + /// } + /// /// fragment ValidationInProgress on ValidationInProgress { /// state /// } @@ -135365,6 +163252,7 @@ public OnFusionConfigurationPublishingTaskChangedSubscription(global::Strawberry /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on ClientDeployment { @@ -135380,6 +163268,7 @@ public OnFusionConfigurationPublishingTaskChangedSubscription(global::Strawberry /// ... InvalidGraphQLSchemaError /// ... PersistedQueryValidationError /// ... OpenApiCollectionValidationError + /// ... McpFeatureCollectionValidationError /// } /// } /// ... on OpenApiCollectionDeployment { @@ -135388,6 +163277,12 @@ public OnFusionConfigurationPublishingTaskChangedSubscription(global::Strawberry /// ... OpenApiCollectionValidationError /// } /// } + /// ... on McpFeatureCollectionDeployment { + /// errors { + /// __typename + /// ... McpFeatureCollectionValidationError + /// } + /// } /// } /// } /// @@ -135417,17 +163312,675 @@ public OnFusionConfigurationPublishingTaskChangedSubscription(global::Strawberry /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOnFusionConfigurationPublishingTaskChangedSubscription : global::StrawberryShake.IOperationRequestFactory - { - global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOnFusionConfigurationPublishingTaskChangedSubscription : global::StrawberryShake.IOperationRequestFactory + { + global::System.IObservable> Watch(global::System.String requestId, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the CancelFusionConfigurationPublish GraphQL operation + /// + /// mutation CancelFusionConfigurationPublish($input: CancelFusionConfigurationCompositionInput!) { + /// cancelFusionConfigurationComposition(input: $input) { + /// __typename + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument + { + private CancelFusionConfigurationPublishMutationDocument() + { + } + + public static CancelFusionConfigurationPublishMutationDocument Instance { get; } = new CancelFusionConfigurationPublishMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "39e48feb517b1ca240cec144623126c8"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CancelFusionConfigurationPublish GraphQL operation + /// + /// mutation CancelFusionConfigurationPublish($input: CancelFusionConfigurationCompositionInput!) { + /// cancelFusionConfigurationComposition(input: $input) { + /// __typename + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _cancelFusionConfigurationCompositionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CancelFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _cancelFusionConfigurationCompositionInputFormatter = serializerResolver.GetInputValueFormatter("CancelFusionConfigurationCompositionInput"); + } + + private CancelFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter cancelFusionConfigurationCompositionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _cancelFusionConfigurationCompositionInputFormatter = cancelFusionConfigurationCompositionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICancelFusionConfigurationPublishResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _cancelFusionConfigurationCompositionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: CancelFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "CancelFusionConfigurationPublish", document: CancelFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _cancelFusionConfigurationCompositionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + + /// + /// Represents the operation service of the CancelFusionConfigurationPublish GraphQL operation + /// + /// mutation CancelFusionConfigurationPublish($input: CancelFusionConfigurationCompositionInput!) { + /// cancelFusionConfigurationComposition(input: $input) { + /// __typename + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the CommitFusionConfigurationPublish GraphQL operation + /// + /// mutation CommitFusionConfigurationPublish($input: CommitFusionConfigurationPublishInput!) { + /// commitFusionConfigurationPublish(input: $input) { + /// __typename + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument + { + private CommitFusionConfigurationPublishMutationDocument() + { + } + + public static CommitFusionConfigurationPublishMutationDocument Instance { get; } = new CommitFusionConfigurationPublishMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "fd942dedfe5e376385ae72436c97104a"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the CommitFusionConfigurationPublish GraphQL operation + /// + /// mutation CommitFusionConfigurationPublish($input: CommitFusionConfigurationPublishInput!) { + /// commitFusionConfigurationPublish(input: $input) { + /// __typename + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _commitFusionConfigurationPublishInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public CommitFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _commitFusionConfigurationPublishInputFormatter = serializerResolver.GetInputValueFormatter("CommitFusionConfigurationPublishInput"); + } + + private CommitFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter commitFusionConfigurationPublishInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _commitFusionConfigurationPublishInputFormatter = commitFusionConfigurationPublishInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ICommitFusionConfigurationPublishResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _commitFusionConfigurationPublishInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeCommitFusionConfigurationPublishInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput value, global::System.Collections.Generic.Dictionary files) + { + var pathConfiguration = path + ".configuration"; + var valueConfiguration = value.Configuration; + files.Add(pathConfiguration, valueConfiguration is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeCommitFusionConfigurationPublishInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: CommitFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "CommitFusionConfigurationPublish", document: CommitFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _commitFusionConfigurationPublishInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + + /// + /// Represents the operation service of the CommitFusionConfigurationPublish GraphQL operation + /// + /// mutation CommitFusionConfigurationPublish($input: CommitFusionConfigurationPublishInput!) { + /// commitFusionConfigurationPublish(input: $input) { + /// __typename + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublishInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + + /// + /// Represents the operation service of the StartFusionConfigurationPublish GraphQL operation + /// + /// mutation StartFusionConfigurationPublish($input: StartFusionConfigurationCompositionInput!) { + /// startFusionConfigurationComposition(input: $input) { + /// __typename + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument + { + private StartFusionConfigurationPublishMutationDocument() + { + } + + public static StartFusionConfigurationPublishMutationDocument Instance { get; } = new StartFusionConfigurationPublishMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "2513a57b937300d59ac37db38e3592e5"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + + /// + /// Represents the operation service of the StartFusionConfigurationPublish GraphQL operation + /// + /// mutation StartFusionConfigurationPublish($input: StartFusionConfigurationCompositionInput!) { + /// startFusionConfigurationComposition(input: $input) { + /// __typename + /// errors { + /// __typename + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error + /// } + /// } + /// } + /// + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment Error on Error { + /// message + /// } + /// + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error + /// } + /// + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error + /// } + /// + /// + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _startFusionConfigurationCompositionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public StartFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _startFusionConfigurationCompositionInputFormatter = serializerResolver.GetInputValueFormatter("StartFusionConfigurationCompositionInput"); + } + + private StartFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter startFusionConfigurationCompositionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _startFusionConfigurationCompositionInputFormatter = startFusionConfigurationCompositionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IStartFusionConfigurationPublishResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _startFusionConfigurationCompositionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: StartFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "StartFusionConfigurationPublish", document: StartFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _startFusionConfigurationCompositionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the ValidateFusionConfigurationPublish GraphQL operation + /// Represents the operation service of the StartFusionConfigurationPublish GraphQL operation /// - /// mutation ValidateFusionConfigurationPublish($input: ValidateFusionConfigurationCompositionInput!) { - /// validateFusionConfigurationComposition(input: $input) { + /// mutation StartFusionConfigurationPublish($input: StartFusionConfigurationCompositionInput!) { + /// startFusionConfigurationComposition(input: $input) { /// __typename /// errors { /// __typename @@ -135462,28 +164015,16 @@ public partial interface IOnFusionConfigurationPublishingTaskChangedSubscription /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument - { - private ValidateFusionConfigurationPublishMutationDocument() - { - } - - public static ValidateFusionConfigurationPublishMutationDocument Instance { get; } = new ValidateFusionConfigurationPublishMutationDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "6795a8c7e7e54136f9b2b563753a134e"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the ValidateFusionConfigurationPublish GraphQL operation /// @@ -135523,104 +164064,28 @@ private ValidateFusionConfigurationPublishMutationDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateFusionConfigurationCompositionInputFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public ValidateFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _validateFusionConfigurationCompositionInputFormatter = serializerResolver.GetInputValueFormatter("ValidateFusionConfigurationCompositionInput"); - } - - private ValidateFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateFusionConfigurationCompositionInputFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _validateFusionConfigurationCompositionInputFormatter = validateFusionConfigurationCompositionInputFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateFusionConfigurationPublishResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _validateFusionConfigurationCompositionInputFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(input); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - private void MapFilesFromTypeValidateFusionConfigurationCompositionInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput value, global::System.Collections.Generic.Dictionary files) - { - var pathConfiguration = path + ".configuration"; - var valueConfiguration = value.Configuration; - files.Add(pathConfiguration, valueConfiguration is global::StrawberryShake.Upload u ? u : null); - } - - private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput value, global::System.Collections.Generic.Dictionary files) - { - if (value is { } value_i) - { - MapFilesFromTypeValidateFusionConfigurationCompositionInput(path, value_i, files); - } - } - - public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(input); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("input", FormatInput(input)); - var files = new global::System.Collections.Generic.Dictionary(); - MapFilesFromArgumentInput("variables.input", input, files); - return CreateRequest(variables, files); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) - { - return new global::StrawberryShake.OperationRequest(id: ValidateFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "ValidateFusionConfigurationPublish", document: ValidateFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); - } - - private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _validateFusionConfigurationCompositionInputFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublishMutationDocument : global::StrawberryShake.IDocument + { + private ValidateFusionConfigurationPublishMutationDocument() + { + } + + public static ValidateFusionConfigurationPublishMutationDocument Instance { get; } = new ValidateFusionConfigurationPublishMutationDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Mutation; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "6795a8c7e7e54136f9b2b563753a134e"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER + return global::System.Text.Encoding.UTF8.GetString(Body); +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the ValidateFusionConfigurationPublish GraphQL operation /// @@ -135660,280 +164125,164 @@ private void MapFilesFromArgumentInput(global::System.String path, global::Chill /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the SelectMockSchemaPromptQuery GraphQL operation - /// - /// query SelectMockSchemaPromptQuery($apiId: ID!, $after: String, $first: Int) { - /// apiById(id: $apiId) { - /// __typename - /// mockSchemas(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... SelectMockCommand_MockEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } - /// } - /// } - /// - /// fragment SelectMockCommand_MockEdge on MockSchemasEdge { - /// cursor - /// node { - /// __typename - /// ... SelectMockCommand_Mock - /// } - /// } - /// - /// fragment SelectMockCommand_Mock on MockSchema { - /// id - /// name - /// ... MockSchemaDetailPrompt - /// } - /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url - /// } - /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQueryQueryDocument : global::StrawberryShake.IDocument - { - private SelectMockSchemaPromptQueryQueryDocument() - { - } - - public static SelectMockSchemaPromptQueryQueryDocument Instance { get; } = new SelectMockSchemaPromptQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "8e45bab85454282aa6a1f07c57c013a1"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublishMutation : global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _validateFusionConfigurationCompositionInputFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public ValidateFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _validateFusionConfigurationCompositionInputFormatter = serializerResolver.GetInputValueFormatter("ValidateFusionConfigurationCompositionInput"); + } + + private ValidateFusionConfigurationPublishMutation(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter validateFusionConfigurationCompositionInputFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _validateFusionConfigurationCompositionInputFormatter = validateFusionConfigurationCompositionInputFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IValidateFusionConfigurationPublishResult); + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationPublishMutation(_operationExecutor, _configure.Add(configure), _validateFusionConfigurationCompositionInputFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(input); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + private void MapFilesFromTypeValidateFusionConfigurationCompositionInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput value, global::System.Collections.Generic.Dictionary files) + { + var pathConfiguration = path + ".configuration"; + var valueConfiguration = value.Configuration; + files.Add(pathConfiguration, valueConfiguration is global::StrawberryShake.Upload u ? u : null); + } + + private void MapFilesFromArgumentInput(global::System.String path, global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput value, global::System.Collections.Generic.Dictionary files) + { + if (value is { } value_i) + { + MapFilesFromTypeValidateFusionConfigurationCompositionInput(path, value_i, files); + } + } + + public global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(input); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("input", FormatInput(input)); + var files = new global::System.Collections.Generic.Dictionary(); + MapFilesFromArgumentInput("variables.input", input, files); + return CreateRequest(variables, files); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables, global::System.Collections.Generic.Dictionary files) + { + return new global::StrawberryShake.OperationRequest(id: ValidateFusionConfigurationPublishMutationDocument.Instance.Hash.Value, name: "ValidateFusionConfigurationPublish", document: ValidateFusionConfigurationPublishMutationDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, files: files, variables: variables); + } + + private global::System.Object? FormatInput(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _validateFusionConfigurationCompositionInputFormatter.Format(value); + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!, new global::System.Collections.Generic.Dictionary()); + } + } + /// - /// Represents the operation service of the SelectMockSchemaPromptQuery GraphQL operation + /// Represents the operation service of the ValidateFusionConfigurationPublish GraphQL operation /// - /// query SelectMockSchemaPromptQuery($apiId: ID!, $after: String, $first: Int) { - /// apiById(id: $apiId) { + /// mutation ValidateFusionConfigurationPublish($input: ValidateFusionConfigurationCompositionInput!) { + /// validateFusionConfigurationComposition(input: $input) { /// __typename - /// mockSchemas(after: $after, first: $first) { + /// errors { /// __typename - /// edges { - /// __typename - /// ... SelectMockCommand_MockEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } + /// ... UnauthorizedOperation + /// ... FusionConfigurationRequestNotFoundError + /// ... InvalidProcessingStateTransitionError + /// ... Error /// } /// } /// } /// - /// fragment SelectMockCommand_MockEdge on MockSchemasEdge { - /// cursor - /// node { - /// __typename - /// ... SelectMockCommand_Mock - /// } + /// fragment UnauthorizedOperation on UnauthorizedOperation { + /// __typename + /// message + /// ... Error /// } /// - /// fragment SelectMockCommand_Mock on MockSchema { - /// id - /// name - /// ... MockSchemaDetailPrompt + /// fragment Error on Error { + /// message /// } /// - /// fragment MockSchemaDetailPrompt on MockSchema { - /// id - /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url + /// fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { + /// __typename + /// message + /// ... Error /// } /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor + /// fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { + /// __typename + /// message + /// ... Error /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public SelectMockSchemaPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private SelectMockSchemaPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectMockSchemaPromptQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.SelectMockSchemaPromptQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: SelectMockSchemaPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectMockSchemaPromptQuery", document: SelectMockSchemaPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationPublishMutation : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationCompositionInput input, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the SelectMockSchemaPromptQuery GraphQL operation + /// Represents the operation service of the SelectMcpFeatureCollectionPromptQuery GraphQL operation /// - /// query SelectMockSchemaPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// query SelectMcpFeatureCollectionPromptQuery($apiId: ID!, $after: String, $first: Int) { /// apiById(id: $apiId) { /// __typename - /// mockSchemas(after: $after, first: $first) { + /// mcpFeatureCollections(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... SelectMockCommand_MockEdge + /// ... SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge /// } /// pageInfo { /// __typename @@ -135943,35 +164292,23 @@ private SelectMockSchemaPromptQueryQuery(global::StrawberryShake.IOperationExecu /// } /// } /// - /// fragment SelectMockCommand_MockEdge on MockSchemasEdge { + /// fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { /// cursor /// node { /// __typename - /// ... SelectMockCommand_Mock + /// ... SelectMcpFeatureCollectionPrompt_McpFeatureCollection /// } /// } /// - /// fragment SelectMockCommand_Mock on MockSchema { + /// fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollection on McpFeatureCollection { /// id /// name - /// ... MockSchemaDetailPrompt + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment MockSchemaDetailPrompt on MockSchema { + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { /// id /// name - /// createdAt - /// createdBy { - /// __typename - /// username - /// } - /// modifiedAt - /// modifiedBy { - /// __typename - /// username - /// } - /// downstreamUrl - /// url /// } /// /// fragment PageInfo on PageInfo { @@ -135982,277 +164319,39 @@ private SelectMockSchemaPromptQueryQuery(global::StrawberryShake.IOperationExecu /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectMockSchemaPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the PageClientVersionDetailQuery GraphQL operation - /// - /// query PageClientVersionDetailQuery($id: ID!, $after: String!) { - /// node(id: $id) { - /// __typename - /// ... on Client { - /// versions(first: 10, after: $after) { - /// __typename - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// } - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQueryQueryDocument : global::StrawberryShake.IDocument - { - private PageClientVersionDetailQueryQueryDocument() - { - } - - public static PageClientVersionDetailQueryQueryDocument Instance { get; } = new PageClientVersionDetailQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "d2cc1b6089c0354e5f8addda5f6d5b56"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQueryQueryDocument : global::StrawberryShake.IDocument + { + private SelectMcpFeatureCollectionPromptQueryQueryDocument() + { + } + + public static SelectMcpFeatureCollectionPromptQueryQueryDocument Instance { get; } = new SelectMcpFeatureCollectionPromptQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "021d1bafc7178634565bd5543b9e55b7"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - - /// - /// Represents the operation service of the PageClientVersionDetailQuery GraphQL operation - /// - /// query PageClientVersionDetailQuery($id: ID!, $after: String!) { - /// node(id: $id) { - /// __typename - /// ... on Client { - /// versions(first: 10, after: $after) { - /// __typename - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// } - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public PageClientVersionDetailQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - } - - private PageClientVersionDetailQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(IPageClientVersionDetailQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String id, global::System.String after, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(id, after); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String id, global::System.String after, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(id, after); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String id, global::System.String after) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("id", FormatId(id)); - variables.Add("after", FormatAfter(after)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: PageClientVersionDetailQueryQueryDocument.Instance.Hash.Value, name: "PageClientVersionDetailQuery", document: PageClientVersionDetailQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _stringFormatter.Format(value); - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - - /// - /// Represents the operation service of the PageClientVersionDetailQuery GraphQL operation - /// - /// query PageClientVersionDetailQuery($id: ID!, $after: String!) { - /// node(id: $id) { - /// __typename - /// ... on Client { - /// versions(first: 10, after: $after) { - /// __typename - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// } - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPageClientVersionDetailQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String id, global::System.String after, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String id, global::System.String after, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the SelectClientPromptQuery GraphQL operation + /// Represents the operation service of the SelectMcpFeatureCollectionPromptQuery GraphQL operation /// - /// query SelectClientPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// query SelectMcpFeatureCollectionPromptQuery($apiId: ID!, $after: String, $first: Int) { /// apiById(id: $apiId) { /// __typename - /// clients(after: $after, first: $first) { + /// mcpFeatureCollections(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... SelectClientPrompt_ClientEdge + /// ... SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge /// } /// pageInfo { /// __typename @@ -136262,57 +164361,23 @@ public partial interface IPageClientVersionDetailQueryQuery : global::Strawberry /// } /// } /// - /// fragment SelectClientPrompt_ClientEdge on ClientsEdge { + /// fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { /// cursor /// node { /// __typename - /// ... SelectClientPrompt_Client + /// ... SelectMcpFeatureCollectionPrompt_McpFeatureCollection /// } /// } /// - /// fragment SelectClientPrompt_Client on Client { + /// fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollection on McpFeatureCollection { /// id /// name - /// ... ClientDetailPrompt_Client + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment ClientDetailPrompt_Client on Client { + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { /// id /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } /// } /// /// fragment PageInfo on PageInfo { @@ -136323,39 +164388,130 @@ public partial interface IPageClientVersionDetailQueryQuery : global::Strawberry /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQueryQueryDocument : global::StrawberryShake.IDocument - { - private SelectClientPromptQueryQueryDocument() - { - } - - public static SelectClientPromptQueryQueryDocument Instance { get; } = new SelectClientPromptQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "89d9fea06884980ce1721212dff781b9"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER - return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public SelectMcpFeatureCollectionPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private SelectMcpFeatureCollectionPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectMcpFeatureCollectionPromptQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.SelectMcpFeatureCollectionPromptQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: SelectMcpFeatureCollectionPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectMcpFeatureCollectionPromptQuery", document: SelectMcpFeatureCollectionPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the SelectClientPromptQuery GraphQL operation + /// Represents the operation service of the SelectMcpFeatureCollectionPromptQuery GraphQL operation /// - /// query SelectClientPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// query SelectMcpFeatureCollectionPromptQuery($apiId: ID!, $after: String, $first: Int) { /// apiById(id: $apiId) { /// __typename - /// clients(after: $after, first: $first) { + /// mcpFeatureCollections(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... SelectClientPrompt_ClientEdge + /// ... SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge /// } /// pageInfo { /// __typename @@ -136365,57 +164521,23 @@ private SelectClientPromptQueryQueryDocument() /// } /// } /// - /// fragment SelectClientPrompt_ClientEdge on ClientsEdge { + /// fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { /// cursor /// node { /// __typename - /// ... SelectClientPrompt_Client + /// ... SelectMcpFeatureCollectionPrompt_McpFeatureCollection /// } /// } /// - /// fragment SelectClientPrompt_Client on Client { + /// fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollection on McpFeatureCollection { /// id /// name - /// ... ClientDetailPrompt_Client + /// ... McpFeatureCollectionDetailPrompt_McpFeatureCollection /// } /// - /// fragment ClientDetailPrompt_Client on Client { + /// fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { /// id /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } /// } /// /// fragment PageInfo on PageInfo { @@ -136426,221 +164548,27 @@ private SelectClientPromptQueryQueryDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public SelectClientPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private SelectClientPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectClientPromptQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.SelectClientPromptQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: SelectClientPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectClientPromptQuery", document: SelectClientPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMcpFeatureCollectionPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// - /// Represents the operation service of the SelectClientPromptQuery GraphQL operation + /// Represents the operation service of the SelectMockSchemaPromptQuery GraphQL operation /// - /// query SelectClientPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// query SelectMockSchemaPromptQuery($apiId: ID!, $after: String, $first: Int) { /// apiById(id: $apiId) { /// __typename - /// clients(after: $after, first: $first) { - /// __typename - /// edges { - /// __typename - /// ... SelectClientPrompt_ClientEdge - /// } - /// pageInfo { - /// __typename - /// ... PageInfo - /// } - /// } - /// } - /// } - /// - /// fragment SelectClientPrompt_ClientEdge on ClientsEdge { - /// cursor - /// node { - /// __typename - /// ... SelectClientPrompt_Client - /// } - /// } - /// - /// fragment SelectClientPrompt_Client on Client { - /// id - /// name - /// ... ClientDetailPrompt_Client - /// } - /// - /// fragment ClientDetailPrompt_Client on Client { - /// id - /// name - /// api { - /// __typename - /// name - /// path - /// } - /// versions { - /// __typename - /// edges { - /// __typename - /// ... ClientDetailPrompt_ClientVersionEdge - /// } - /// pageInfo { - /// __typename - /// hasNextPage - /// endCursor - /// } - /// } - /// } - /// - /// fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { - /// cursor - /// node { - /// __typename - /// id - /// createdAt - /// tag - /// publishedTo { - /// __typename - /// stage { - /// __typename - /// name - /// } - /// } - /// } - /// } - /// - /// fragment PageInfo on PageInfo { - /// hasPreviousPage - /// hasNextPage - /// endCursor - /// startCursor - /// } - /// - /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectClientPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - - /// - /// Represents the operation service of the SelectApiPromptQuery GraphQL operation - /// - /// query SelectApiPromptQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { - /// __typename - /// apis(after: $after, first: $first) { + /// mockSchemas(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... SelectApiPrompt_ApiEdge + /// ... SelectMockCommand_MockEdge /// } /// pageInfo { /// __typename @@ -136650,38 +164578,35 @@ public partial interface ISelectClientPromptQueryQuery : global::StrawberryShake /// } /// } /// - /// fragment SelectApiPrompt_ApiEdge on ApisEdge { + /// fragment SelectMockCommand_MockEdge on MockSchemasEdge { /// cursor /// node { /// __typename - /// ... SelectApiPrompt_Api + /// ... SelectMockCommand_Mock /// } /// } /// - /// fragment SelectApiPrompt_Api on Api { + /// fragment SelectMockCommand_Mock on MockSchema { /// id /// name - /// path - /// ... ApiDetailPrompt_Api + /// ... MockSchemaDetailPrompt /// } /// - /// fragment ApiDetailPrompt_Api on Api { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id /// name - /// path - /// workspace { + /// createdAt + /// createdBy { /// __typename - /// id - /// name + /// username /// } - /// settings { + /// modifiedAt + /// modifiedBy { /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } + /// username /// } + /// downstreamUrl + /// url /// } /// /// fragment PageInfo on PageInfo { @@ -136692,39 +164617,39 @@ public partial interface ISelectClientPromptQueryQuery : global::StrawberryShake /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQueryQueryDocument : global::StrawberryShake.IDocument - { - private SelectApiPromptQueryQueryDocument() - { - } - - public static SelectApiPromptQueryQueryDocument Instance { get; } = new SelectApiPromptQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "a99c8cea1f4c187c4b1a8f615aa22fac"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQueryQueryDocument : global::StrawberryShake.IDocument + { + private SelectMockSchemaPromptQueryQueryDocument() + { + } + + public static SelectMockSchemaPromptQueryQueryDocument Instance { get; } = new SelectMockSchemaPromptQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "8e45bab85454282aa6a1f07c57c013a1"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// - /// Represents the operation service of the SelectApiPromptQuery GraphQL operation + /// Represents the operation service of the SelectMockSchemaPromptQuery GraphQL operation /// - /// query SelectApiPromptQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// query SelectMockSchemaPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// apiById(id: $apiId) { /// __typename - /// apis(after: $after, first: $first) { + /// mockSchemas(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... SelectApiPrompt_ApiEdge + /// ... SelectMockCommand_MockEdge /// } /// pageInfo { /// __typename @@ -136734,38 +164659,35 @@ private SelectApiPromptQueryQueryDocument() /// } /// } /// - /// fragment SelectApiPrompt_ApiEdge on ApisEdge { + /// fragment SelectMockCommand_MockEdge on MockSchemasEdge { /// cursor /// node { /// __typename - /// ... SelectApiPrompt_Api + /// ... SelectMockCommand_Mock /// } /// } /// - /// fragment SelectApiPrompt_Api on Api { + /// fragment SelectMockCommand_Mock on MockSchema { /// id /// name - /// path - /// ... ApiDetailPrompt_Api + /// ... MockSchemaDetailPrompt /// } /// - /// fragment ApiDetailPrompt_Api on Api { + /// fragment MockSchemaDetailPrompt on MockSchema { /// id /// name - /// path - /// workspace { + /// createdAt + /// createdBy { /// __typename - /// id - /// name + /// username /// } - /// settings { + /// modifiedAt + /// modifiedBy { /// __typename - /// schemaRegistry { - /// __typename - /// treatDangerousAsBreaking - /// allowBreakingSchemaChanges - /// } + /// username /// } + /// downstreamUrl + /// url /// } /// /// fragment PageInfo on PageInfo { @@ -136776,130 +164698,130 @@ private SelectApiPromptQueryQueryDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _versionFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public SelectApiPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _versionFormatter = serializerResolver.GetInputValueFormatter("Version"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private SelectApiPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter versionFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _versionFormatter = versionFormatter; - _intFormatter = @intFormatter; - _iDFormatter = iDFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectApiPromptQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.SelectApiPromptQueryQuery(_operationExecutor, _configure.Add(configure), _versionFormatter, _intFormatter, _iDFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(workspaceId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(workspaceId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String workspaceId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("workspaceId", FormatWorkspaceId(workspaceId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: SelectApiPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectApiPromptQuery", document: SelectApiPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatWorkspaceId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _versionFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public SelectMockSchemaPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private SelectMockSchemaPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectMockSchemaPromptQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.SelectMockSchemaPromptQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: SelectMockSchemaPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectMockSchemaPromptQuery", document: SelectMockSchemaPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// - /// Represents the operation service of the SelectApiPromptQuery GraphQL operation + /// Represents the operation service of the SelectMockSchemaPromptQuery GraphQL operation /// - /// query SelectApiPromptQuery($workspaceId: ID!, $after: Version, $first: Int) { - /// workspaceById(workspaceId: $workspaceId) { + /// query SelectMockSchemaPromptQuery($apiId: ID!, $after: String, $first: Int) { + /// apiById(id: $apiId) { /// __typename - /// apis(after: $after, first: $first) { + /// mockSchemas(after: $after, first: $first) { /// __typename /// edges { /// __typename - /// ... SelectApiPrompt_ApiEdge + /// ... SelectMockCommand_MockEdge /// } /// pageInfo { /// __typename @@ -136909,38 +164831,35 @@ private SelectApiPromptQueryQuery(global::StrawberryShake.IOperationExecutor /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectApiPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String workspaceId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectMockSchemaPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the operation service of the SelectOpenApiCollectionPromptQuery GraphQL operation /// @@ -137008,28 +164927,28 @@ public partial interface ISelectApiPromptQueryQuery : global::StrawberryShake.IO /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQueryQueryDocument : global::StrawberryShake.IDocument - { - private SelectOpenApiCollectionPromptQueryQueryDocument() - { - } - - public static SelectOpenApiCollectionPromptQueryQueryDocument Instance { get; } = new SelectOpenApiCollectionPromptQueryQueryDocument(); - public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; - public global::System.ReadOnlySpan Body => new global::System.Byte[0]; - public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "cac7b1f4800fb9c9c07bed47c5bbd775"); - - public override global::System.String ToString() - { -#if NETCOREAPP3_1_OR_GREATER + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQueryQueryDocument : global::StrawberryShake.IDocument + { + private SelectOpenApiCollectionPromptQueryQueryDocument() + { + } + + public static SelectOpenApiCollectionPromptQueryQueryDocument Instance { get; } = new SelectOpenApiCollectionPromptQueryQueryDocument(); + public global::StrawberryShake.OperationKind Kind => global::StrawberryShake.OperationKind.Query; + public global::System.ReadOnlySpan Body => new global::System.Byte[0]; + public global::StrawberryShake.DocumentHash Hash { get; } = new global::StrawberryShake.DocumentHash("md5Hash", "cac7b1f4800fb9c9c07bed47c5bbd775"); + + public override global::System.String ToString() + { +#if NETCOREAPP3_1_OR_GREATER return global::System.Text.Encoding.UTF8.GetString(Body); -#else - return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); -#endif - } - } - +#else + return global::System.Text.Encoding.UTF8.GetString(Body.ToArray()); +#endif + } + } + /// /// Represents the operation service of the SelectOpenApiCollectionPromptQuery GraphQL operation /// @@ -137077,119 +164996,119 @@ private SelectOpenApiCollectionPromptQueryQueryDocument() /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery - { - private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; - private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; - private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; - public SelectOpenApiCollectionPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); - _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); - _stringFormatter = serializerResolver.GetInputValueFormatter("String"); - _intFormatter = serializerResolver.GetInputValueFormatter("Int"); - } - - private SelectOpenApiCollectionPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) - { - _operationExecutor = operationExecutor; - _configure = configure; - _stringFormatter = @stringFormatter; - _iDFormatter = iDFormatter; - _intFormatter = @intFormatter; - } - - global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectOpenApiCollectionPromptQueryResult); - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery With(global::System.Action configure) - { - return new global::ChilliCream.Nitro.CommandLine.Client.SelectOpenApiCollectionPromptQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery WithRequestUri(global::System.Uri requestUri) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); - } - - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) - { - return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); - } - - public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) - { - var request = CreateRequest(apiId, after, first); - foreach (var configure in _configure) - { - configure(request); - } - - return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); - } - - public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) - { - var request = CreateRequest(apiId, after, first); - return _operationExecutor.Watch(request, strategy); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) - { - var variables = new global::System.Collections.Generic.Dictionary(); - variables.Add("apiId", FormatApiId(apiId)); - variables.Add("after", FormatAfter(after)); - variables.Add("first", FormatFirst(first)); - return CreateRequest(variables); - } - - private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return new global::StrawberryShake.OperationRequest(id: SelectOpenApiCollectionPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectOpenApiCollectionPromptQuery", document: SelectOpenApiCollectionPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); - } - - private global::System.Object? FormatApiId(global::System.String value) - { - if (value is null) - { - throw new global::System.ArgumentNullException(nameof(value)); - } - - return _iDFormatter.Format(value); - } - - private global::System.Object? FormatAfter(global::System.String? value) - { - if (value is null) - { - return value; - } - else - { - return _stringFormatter.Format(value); - } - } - - private global::System.Object? FormatFirst(global::System.Int32? value) - { - if (value is null) - { - return value; - } - else - { - return _intFormatter.Format(value); - } - } - - global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) - { - return CreateRequest(variables!); - } - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQueryQuery : global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery + { + private readonly global::StrawberryShake.IOperationExecutor _operationExecutor; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _iDFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _stringFormatter; + private readonly global::StrawberryShake.Serialization.IInputValueFormatter _intFormatter; + private readonly System.Collections.Immutable.ImmutableArray> _configure = System.Collections.Immutable.ImmutableArray>.Empty; + public SelectOpenApiCollectionPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + _operationExecutor = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor)); + _iDFormatter = serializerResolver.GetInputValueFormatter("ID"); + _stringFormatter = serializerResolver.GetInputValueFormatter("String"); + _intFormatter = serializerResolver.GetInputValueFormatter("Int"); + } + + private SelectOpenApiCollectionPromptQueryQuery(global::StrawberryShake.IOperationExecutor operationExecutor, System.Collections.Immutable.ImmutableArray> configure, global::StrawberryShake.Serialization.IInputValueFormatter @stringFormatter, global::StrawberryShake.Serialization.IInputValueFormatter iDFormatter, global::StrawberryShake.Serialization.IInputValueFormatter @intFormatter) + { + _operationExecutor = operationExecutor; + _configure = configure; + _stringFormatter = @stringFormatter; + _iDFormatter = iDFormatter; + _intFormatter = @intFormatter; + } + + global::System.Type global::StrawberryShake.IOperationRequestFactory.ResultType => typeof(ISelectOpenApiCollectionPromptQueryResult); + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery With(global::System.Action configure) + { + return new global::ChilliCream.Nitro.CommandLine.Client.SelectOpenApiCollectionPromptQueryQuery(_operationExecutor, _configure.Add(configure), _stringFormatter, _iDFormatter, _intFormatter); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery WithRequestUri(global::System.Uri requestUri) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.RequestUri"] = requestUri); + } + + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient) + { + return With(r => r.ContextData["StrawberryShake.Transport.Http.HttpConnection.HttpClient"] = httpClient); + } + + public async global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default) + { + var request = CreateRequest(apiId, after, first); + foreach (var configure in _configure) + { + configure(request); + } + + return await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + + public global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null) + { + var request = CreateRequest(apiId, after, first); + return _operationExecutor.Watch(request, strategy); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.String apiId, global::System.String? after, global::System.Int32? first) + { + var variables = new global::System.Collections.Generic.Dictionary(); + variables.Add("apiId", FormatApiId(apiId)); + variables.Add("after", FormatAfter(after)); + variables.Add("first", FormatFirst(first)); + return CreateRequest(variables); + } + + private global::StrawberryShake.OperationRequest CreateRequest(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return new global::StrawberryShake.OperationRequest(id: SelectOpenApiCollectionPromptQueryQueryDocument.Instance.Hash.Value, name: "SelectOpenApiCollectionPromptQuery", document: SelectOpenApiCollectionPromptQueryQueryDocument.Instance, strategy: global::StrawberryShake.RequestStrategy.PersistedOperation, variables: variables); + } + + private global::System.Object? FormatApiId(global::System.String value) + { + if (value is null) + { + throw new global::System.ArgumentNullException(nameof(value)); + } + + return _iDFormatter.Format(value); + } + + private global::System.Object? FormatAfter(global::System.String? value) + { + if (value is null) + { + return value; + } + else + { + return _stringFormatter.Format(value); + } + } + + private global::System.Object? FormatFirst(global::System.Int32? value) + { + if (value is null) + { + return value; + } + else + { + return _intFormatter.Format(value); + } + } + + global::StrawberryShake.OperationRequest global::StrawberryShake.IOperationRequestFactory.Create(global::System.Collections.Generic.IReadOnlyDictionary? variables) + { + return CreateRequest(variables!); + } + } + /// /// Represents the operation service of the SelectOpenApiCollectionPromptQuery GraphQL operation /// @@ -137237,43425 +165156,53025 @@ private SelectOpenApiCollectionPromptQueryQuery(global::StrawberryShake.IOperati /// } /// /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISelectOpenApiCollectionPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory - { - global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery With(global::System.Action configure); - global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery WithRequestUri(global::System.Uri requestUri); - global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); - global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); - global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISelectOpenApiCollectionPromptQueryQuery : global::StrawberryShake.IOperationRequestFactory + { + global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery With(global::System.Action configure); + global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery WithRequestUri(global::System.Uri requestUri); + global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery WithHttpClient(global::System.Net.Http.HttpClient httpClient); + global::System.Threading.Tasks.Task> ExecuteAsync(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::System.Threading.CancellationToken cancellationToken = default); + global::System.IObservable> Watch(global::System.String apiId, global::System.String? after, global::System.Int32? first, global::StrawberryShake.ExecutionStrategy? strategy = null); + } + /// /// Represents the ApiClient GraphQL client /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ApiClient : global::ChilliCream.Nitro.CommandLine.Client.IApiClient - { - private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation _uploadFusionSubgraph; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery _fetchConfiguration; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation _createMockSchema; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation _updateMockSchema; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery _listMockCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery _showClientCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation _unpublishClient; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation _uploadClient; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation _validateClientVersion; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription _onClientVersionValidationUpdated; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation _deleteClientByIdCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation _publishClientVersion; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription _onClientVersionPublishUpdated; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery _listClientCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation _createClientCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery _showApiCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery _deleteApiCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation _deleteApiCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery _listApiCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation _setApiSettingsCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation _createApiCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation _updateStages; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery _listStagesQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery _listEnvironmentCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery _showEnvironmentCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation _createEnvironmentCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery _listApiKeyCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation _createApiKeyCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation _deleteApiKeyCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery _listPersonalAccessTokenCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation _createPersonalAccessTokenCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation _revokePersonalAccessTokenCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation _uploadOpenApiCollectionCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery _listOpenApiCollectionCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation _publishOpenApiCollectionCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription _publishOpenApiCollectionCommandSubscription; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation _validateOpenApiCollectionCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription _validateOpenApiCollectionCommandSubscription; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation _createOpenApiCollectionCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation _deleteOpenApiCollectionByIdCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery _showWorkspaceCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation _createWorkspaceCommandMutation; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery _listWorkspaceCommandQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery _setDefaultWorkspaceCommand_SelectWorkspace_Query; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation _publishSchemaVersion; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription _onSchemaVersionPublishUpdated; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation _uploadSchema; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation _validateSchemaVersion; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription _onSchemaVersionValidationUpdated; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation _cancelFusionConfigurationPublish; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation _commitFusionConfigurationPublish; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation _startFusionConfigurationPublish; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation _beginFusionConfigurationPublish; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription _onFusionConfigurationPublishingTaskChanged; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation _validateFusionConfigurationPublish; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery _selectMockSchemaPromptQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery _pageClientVersionDetailQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery _selectClientPromptQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery _selectApiPromptQuery; - private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery _selectOpenApiCollectionPromptQuery; - public ApiClient(global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation uploadFusionSubgraph, global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery fetchConfiguration, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation createMockSchema, global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation updateMockSchema, global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery listMockCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery showClientCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation unpublishClient, global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation uploadClient, global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation validateClientVersion, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription onClientVersionValidationUpdated, global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation deleteClientByIdCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation publishClientVersion, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription onClientVersionPublishUpdated, global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery listClientCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation createClientCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery showApiCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery deleteApiCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation deleteApiCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery listApiCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation setApiSettingsCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation createApiCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation updateStages, global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery listStagesQuery, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery listEnvironmentCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery showEnvironmentCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation createEnvironmentCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery listApiKeyCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation createApiKeyCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation deleteApiKeyCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery listPersonalAccessTokenCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation createPersonalAccessTokenCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation revokePersonalAccessTokenCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation uploadOpenApiCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery listOpenApiCollectionCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation publishOpenApiCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription publishOpenApiCollectionCommandSubscription, global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation validateOpenApiCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription validateOpenApiCollectionCommandSubscription, global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation createOpenApiCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation deleteOpenApiCollectionByIdCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery showWorkspaceCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation createWorkspaceCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery listWorkspaceCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery setDefaultWorkspaceCommand_SelectWorkspace_Query, global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation publishSchemaVersion, global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription onSchemaVersionPublishUpdated, global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation uploadSchema, global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation validateSchemaVersion, global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription onSchemaVersionValidationUpdated, global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation cancelFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation commitFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation startFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation beginFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription onFusionConfigurationPublishingTaskChanged, global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation validateFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery selectMockSchemaPromptQuery, global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery pageClientVersionDetailQuery, global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery selectClientPromptQuery, global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery selectApiPromptQuery, global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery selectOpenApiCollectionPromptQuery) - { - _uploadFusionSubgraph = uploadFusionSubgraph ?? throw new global::System.ArgumentNullException(nameof(uploadFusionSubgraph)); - _fetchConfiguration = fetchConfiguration ?? throw new global::System.ArgumentNullException(nameof(fetchConfiguration)); - _createMockSchema = createMockSchema ?? throw new global::System.ArgumentNullException(nameof(createMockSchema)); - _updateMockSchema = updateMockSchema ?? throw new global::System.ArgumentNullException(nameof(updateMockSchema)); - _listMockCommandQuery = listMockCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listMockCommandQuery)); - _showClientCommandQuery = showClientCommandQuery ?? throw new global::System.ArgumentNullException(nameof(showClientCommandQuery)); - _unpublishClient = unpublishClient ?? throw new global::System.ArgumentNullException(nameof(unpublishClient)); - _uploadClient = uploadClient ?? throw new global::System.ArgumentNullException(nameof(uploadClient)); - _validateClientVersion = validateClientVersion ?? throw new global::System.ArgumentNullException(nameof(validateClientVersion)); - _onClientVersionValidationUpdated = onClientVersionValidationUpdated ?? throw new global::System.ArgumentNullException(nameof(onClientVersionValidationUpdated)); - _deleteClientByIdCommandMutation = deleteClientByIdCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteClientByIdCommandMutation)); - _publishClientVersion = publishClientVersion ?? throw new global::System.ArgumentNullException(nameof(publishClientVersion)); - _onClientVersionPublishUpdated = onClientVersionPublishUpdated ?? throw new global::System.ArgumentNullException(nameof(onClientVersionPublishUpdated)); - _listClientCommandQuery = listClientCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listClientCommandQuery)); - _createClientCommandMutation = createClientCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createClientCommandMutation)); - _showApiCommandQuery = showApiCommandQuery ?? throw new global::System.ArgumentNullException(nameof(showApiCommandQuery)); - _deleteApiCommandQuery = deleteApiCommandQuery ?? throw new global::System.ArgumentNullException(nameof(deleteApiCommandQuery)); - _deleteApiCommandMutation = deleteApiCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteApiCommandMutation)); - _listApiCommandQuery = listApiCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listApiCommandQuery)); - _setApiSettingsCommandMutation = setApiSettingsCommandMutation ?? throw new global::System.ArgumentNullException(nameof(setApiSettingsCommandMutation)); - _createApiCommandMutation = createApiCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createApiCommandMutation)); - _updateStages = updateStages ?? throw new global::System.ArgumentNullException(nameof(updateStages)); - _listStagesQuery = listStagesQuery ?? throw new global::System.ArgumentNullException(nameof(listStagesQuery)); - _listEnvironmentCommandQuery = listEnvironmentCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listEnvironmentCommandQuery)); - _showEnvironmentCommandQuery = showEnvironmentCommandQuery ?? throw new global::System.ArgumentNullException(nameof(showEnvironmentCommandQuery)); - _createEnvironmentCommandMutation = createEnvironmentCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createEnvironmentCommandMutation)); - _listApiKeyCommandQuery = listApiKeyCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listApiKeyCommandQuery)); - _createApiKeyCommandMutation = createApiKeyCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createApiKeyCommandMutation)); - _deleteApiKeyCommandMutation = deleteApiKeyCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteApiKeyCommandMutation)); - _listPersonalAccessTokenCommandQuery = listPersonalAccessTokenCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listPersonalAccessTokenCommandQuery)); - _createPersonalAccessTokenCommandMutation = createPersonalAccessTokenCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createPersonalAccessTokenCommandMutation)); - _revokePersonalAccessTokenCommandMutation = revokePersonalAccessTokenCommandMutation ?? throw new global::System.ArgumentNullException(nameof(revokePersonalAccessTokenCommandMutation)); - _uploadOpenApiCollectionCommandMutation = uploadOpenApiCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(uploadOpenApiCollectionCommandMutation)); - _listOpenApiCollectionCommandQuery = listOpenApiCollectionCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listOpenApiCollectionCommandQuery)); - _publishOpenApiCollectionCommandMutation = publishOpenApiCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(publishOpenApiCollectionCommandMutation)); - _publishOpenApiCollectionCommandSubscription = publishOpenApiCollectionCommandSubscription ?? throw new global::System.ArgumentNullException(nameof(publishOpenApiCollectionCommandSubscription)); - _validateOpenApiCollectionCommandMutation = validateOpenApiCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(validateOpenApiCollectionCommandMutation)); - _validateOpenApiCollectionCommandSubscription = validateOpenApiCollectionCommandSubscription ?? throw new global::System.ArgumentNullException(nameof(validateOpenApiCollectionCommandSubscription)); - _createOpenApiCollectionCommandMutation = createOpenApiCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createOpenApiCollectionCommandMutation)); - _deleteOpenApiCollectionByIdCommandMutation = deleteOpenApiCollectionByIdCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteOpenApiCollectionByIdCommandMutation)); - _showWorkspaceCommandQuery = showWorkspaceCommandQuery ?? throw new global::System.ArgumentNullException(nameof(showWorkspaceCommandQuery)); - _createWorkspaceCommandMutation = createWorkspaceCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createWorkspaceCommandMutation)); - _listWorkspaceCommandQuery = listWorkspaceCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listWorkspaceCommandQuery)); - _setDefaultWorkspaceCommand_SelectWorkspace_Query = setDefaultWorkspaceCommand_SelectWorkspace_Query ?? throw new global::System.ArgumentNullException(nameof(setDefaultWorkspaceCommand_SelectWorkspace_Query)); - _publishSchemaVersion = publishSchemaVersion ?? throw new global::System.ArgumentNullException(nameof(publishSchemaVersion)); - _onSchemaVersionPublishUpdated = onSchemaVersionPublishUpdated ?? throw new global::System.ArgumentNullException(nameof(onSchemaVersionPublishUpdated)); - _uploadSchema = uploadSchema ?? throw new global::System.ArgumentNullException(nameof(uploadSchema)); - _validateSchemaVersion = validateSchemaVersion ?? throw new global::System.ArgumentNullException(nameof(validateSchemaVersion)); - _onSchemaVersionValidationUpdated = onSchemaVersionValidationUpdated ?? throw new global::System.ArgumentNullException(nameof(onSchemaVersionValidationUpdated)); - _cancelFusionConfigurationPublish = cancelFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(cancelFusionConfigurationPublish)); - _commitFusionConfigurationPublish = commitFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(commitFusionConfigurationPublish)); - _startFusionConfigurationPublish = startFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(startFusionConfigurationPublish)); - _beginFusionConfigurationPublish = beginFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(beginFusionConfigurationPublish)); - _onFusionConfigurationPublishingTaskChanged = onFusionConfigurationPublishingTaskChanged ?? throw new global::System.ArgumentNullException(nameof(onFusionConfigurationPublishingTaskChanged)); - _validateFusionConfigurationPublish = validateFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(validateFusionConfigurationPublish)); - _selectMockSchemaPromptQuery = selectMockSchemaPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectMockSchemaPromptQuery)); - _pageClientVersionDetailQuery = pageClientVersionDetailQuery ?? throw new global::System.ArgumentNullException(nameof(pageClientVersionDetailQuery)); - _selectClientPromptQuery = selectClientPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectClientPromptQuery)); - _selectApiPromptQuery = selectApiPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectApiPromptQuery)); - _selectOpenApiCollectionPromptQuery = selectOpenApiCollectionPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectOpenApiCollectionPromptQuery)); - } - - public static global::System.String ClientName => "ApiClient"; - public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation UploadFusionSubgraph => _uploadFusionSubgraph; - public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery FetchConfiguration => _fetchConfiguration; - public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation CreateMockSchema => _createMockSchema; - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation UpdateMockSchema => _updateMockSchema; - public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery ListMockCommandQuery => _listMockCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery ShowClientCommandQuery => _showClientCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation UnpublishClient => _unpublishClient; - public global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation UploadClient => _uploadClient; - public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation ValidateClientVersion => _validateClientVersion; - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription OnClientVersionValidationUpdated => _onClientVersionValidationUpdated; - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation DeleteClientByIdCommandMutation => _deleteClientByIdCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation PublishClientVersion => _publishClientVersion; - public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription OnClientVersionPublishUpdated => _onClientVersionPublishUpdated; - public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery ListClientCommandQuery => _listClientCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation CreateClientCommandMutation => _createClientCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery ShowApiCommandQuery => _showApiCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery DeleteApiCommandQuery => _deleteApiCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation DeleteApiCommandMutation => _deleteApiCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery ListApiCommandQuery => _listApiCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation SetApiSettingsCommandMutation => _setApiSettingsCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation CreateApiCommandMutation => _createApiCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation UpdateStages => _updateStages; - public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery ListStagesQuery => _listStagesQuery; - public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery ListEnvironmentCommandQuery => _listEnvironmentCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery ShowEnvironmentCommandQuery => _showEnvironmentCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation CreateEnvironmentCommandMutation => _createEnvironmentCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery ListApiKeyCommandQuery => _listApiKeyCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation CreateApiKeyCommandMutation => _createApiKeyCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation DeleteApiKeyCommandMutation => _deleteApiKeyCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery ListPersonalAccessTokenCommandQuery => _listPersonalAccessTokenCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation CreatePersonalAccessTokenCommandMutation => _createPersonalAccessTokenCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation RevokePersonalAccessTokenCommandMutation => _revokePersonalAccessTokenCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation UploadOpenApiCollectionCommandMutation => _uploadOpenApiCollectionCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery ListOpenApiCollectionCommandQuery => _listOpenApiCollectionCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation PublishOpenApiCollectionCommandMutation => _publishOpenApiCollectionCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription PublishOpenApiCollectionCommandSubscription => _publishOpenApiCollectionCommandSubscription; - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation ValidateOpenApiCollectionCommandMutation => _validateOpenApiCollectionCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription ValidateOpenApiCollectionCommandSubscription => _validateOpenApiCollectionCommandSubscription; - public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation CreateOpenApiCollectionCommandMutation => _createOpenApiCollectionCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation DeleteOpenApiCollectionByIdCommandMutation => _deleteOpenApiCollectionByIdCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery ShowWorkspaceCommandQuery => _showWorkspaceCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation CreateWorkspaceCommandMutation => _createWorkspaceCommandMutation; - public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery ListWorkspaceCommandQuery => _listWorkspaceCommandQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery SetDefaultWorkspaceCommand_SelectWorkspace_Query => _setDefaultWorkspaceCommand_SelectWorkspace_Query; - public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation PublishSchemaVersion => _publishSchemaVersion; - public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription OnSchemaVersionPublishUpdated => _onSchemaVersionPublishUpdated; - public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation UploadSchema => _uploadSchema; - public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation ValidateSchemaVersion => _validateSchemaVersion; - public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription OnSchemaVersionValidationUpdated => _onSchemaVersionValidationUpdated; - public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation CancelFusionConfigurationPublish => _cancelFusionConfigurationPublish; - public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation CommitFusionConfigurationPublish => _commitFusionConfigurationPublish; - public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation StartFusionConfigurationPublish => _startFusionConfigurationPublish; - public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation BeginFusionConfigurationPublish => _beginFusionConfigurationPublish; - public global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription OnFusionConfigurationPublishingTaskChanged => _onFusionConfigurationPublishingTaskChanged; - public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation ValidateFusionConfigurationPublish => _validateFusionConfigurationPublish; - public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery SelectMockSchemaPromptQuery => _selectMockSchemaPromptQuery; - public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery PageClientVersionDetailQuery => _pageClientVersionDetailQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery SelectClientPromptQuery => _selectClientPromptQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery SelectApiPromptQuery => _selectApiPromptQuery; - public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery SelectOpenApiCollectionPromptQuery => _selectOpenApiCollectionPromptQuery; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ApiClient : global::ChilliCream.Nitro.CommandLine.Client.IApiClient + { + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation _createApiKeyCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation _deleteApiKeyCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery _listApiKeyCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation _createApiCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery _deleteApiCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation _deleteApiCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery _listApiCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation _setApiSettingsCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery _showApiCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation _createClientCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation _deleteClientByIdCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery _listClientCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation _publishClientVersion; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription _onClientVersionPublishUpdated; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery _showClientCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation _unpublishClient; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation _uploadClient; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation _validateClientVersion; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription _onClientVersionValidationUpdated; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation _createEnvironmentCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery _listEnvironmentCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery _showEnvironmentCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery _fetchConfiguration; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation _uploadFusionSubgraph; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation _createMcpFeatureCollectionCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation _deleteMcpFeatureCollectionByIdCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery _listMcpFeatureCollectionCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation _publishMcpFeatureCollectionCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscriptionSubscription _publishMcpFeatureCollectionCommandSubscription; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation _uploadMcpFeatureCollectionCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation _validateMcpFeatureCollectionCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscriptionSubscription _validateMcpFeatureCollectionCommandSubscription; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation _createMockSchema; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery _listMockCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation _updateMockSchema; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation _createOpenApiCollectionCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation _deleteOpenApiCollectionByIdCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery _listOpenApiCollectionCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation _publishOpenApiCollectionCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription _publishOpenApiCollectionCommandSubscription; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation _uploadOpenApiCollectionCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation _validateOpenApiCollectionCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription _validateOpenApiCollectionCommandSubscription; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation _createPersonalAccessTokenCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery _listPersonalAccessTokenCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation _revokePersonalAccessTokenCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation _publishSchemaVersion; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription _onSchemaVersionPublishUpdated; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation _uploadSchema; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation _validateSchemaVersion; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription _onSchemaVersionValidationUpdated; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation _updateStages; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery _listStagesQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation _createWorkspaceCommandMutation; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery _listWorkspaceCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery _setDefaultWorkspaceCommand_SelectWorkspace_Query; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery _showWorkspaceCommandQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery _selectApiPromptQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery _pageClientVersionDetailQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery _selectClientPromptQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation _beginFusionConfigurationPublish; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription _onFusionConfigurationPublishingTaskChanged; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation _cancelFusionConfigurationPublish; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation _commitFusionConfigurationPublish; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation _startFusionConfigurationPublish; + private readonly global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation _validateFusionConfigurationPublish; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery _selectMcpFeatureCollectionPromptQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery _selectMockSchemaPromptQuery; + private readonly global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery _selectOpenApiCollectionPromptQuery; + public ApiClient(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation createApiKeyCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation deleteApiKeyCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery listApiKeyCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation createApiCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery deleteApiCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation deleteApiCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery listApiCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation setApiSettingsCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery showApiCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation createClientCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation deleteClientByIdCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery listClientCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation publishClientVersion, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription onClientVersionPublishUpdated, global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery showClientCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation unpublishClient, global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation uploadClient, global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation validateClientVersion, global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription onClientVersionValidationUpdated, global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation createEnvironmentCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery listEnvironmentCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery showEnvironmentCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery fetchConfiguration, global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation uploadFusionSubgraph, global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation createMcpFeatureCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation deleteMcpFeatureCollectionByIdCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery listMcpFeatureCollectionCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation publishMcpFeatureCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscriptionSubscription publishMcpFeatureCollectionCommandSubscription, global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation uploadMcpFeatureCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation validateMcpFeatureCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscriptionSubscription validateMcpFeatureCollectionCommandSubscription, global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation createMockSchema, global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery listMockCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation updateMockSchema, global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation createOpenApiCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation deleteOpenApiCollectionByIdCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery listOpenApiCollectionCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation publishOpenApiCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription publishOpenApiCollectionCommandSubscription, global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation uploadOpenApiCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation validateOpenApiCollectionCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription validateOpenApiCollectionCommandSubscription, global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation createPersonalAccessTokenCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery listPersonalAccessTokenCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation revokePersonalAccessTokenCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation publishSchemaVersion, global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription onSchemaVersionPublishUpdated, global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation uploadSchema, global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation validateSchemaVersion, global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription onSchemaVersionValidationUpdated, global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation updateStages, global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery listStagesQuery, global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation createWorkspaceCommandMutation, global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery listWorkspaceCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery setDefaultWorkspaceCommand_SelectWorkspace_Query, global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery showWorkspaceCommandQuery, global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery selectApiPromptQuery, global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery pageClientVersionDetailQuery, global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery selectClientPromptQuery, global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation beginFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription onFusionConfigurationPublishingTaskChanged, global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation cancelFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation commitFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation startFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation validateFusionConfigurationPublish, global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery selectMcpFeatureCollectionPromptQuery, global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery selectMockSchemaPromptQuery, global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery selectOpenApiCollectionPromptQuery) + { + _createApiKeyCommandMutation = createApiKeyCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createApiKeyCommandMutation)); + _deleteApiKeyCommandMutation = deleteApiKeyCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteApiKeyCommandMutation)); + _listApiKeyCommandQuery = listApiKeyCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listApiKeyCommandQuery)); + _createApiCommandMutation = createApiCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createApiCommandMutation)); + _deleteApiCommandQuery = deleteApiCommandQuery ?? throw new global::System.ArgumentNullException(nameof(deleteApiCommandQuery)); + _deleteApiCommandMutation = deleteApiCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteApiCommandMutation)); + _listApiCommandQuery = listApiCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listApiCommandQuery)); + _setApiSettingsCommandMutation = setApiSettingsCommandMutation ?? throw new global::System.ArgumentNullException(nameof(setApiSettingsCommandMutation)); + _showApiCommandQuery = showApiCommandQuery ?? throw new global::System.ArgumentNullException(nameof(showApiCommandQuery)); + _createClientCommandMutation = createClientCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createClientCommandMutation)); + _deleteClientByIdCommandMutation = deleteClientByIdCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteClientByIdCommandMutation)); + _listClientCommandQuery = listClientCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listClientCommandQuery)); + _publishClientVersion = publishClientVersion ?? throw new global::System.ArgumentNullException(nameof(publishClientVersion)); + _onClientVersionPublishUpdated = onClientVersionPublishUpdated ?? throw new global::System.ArgumentNullException(nameof(onClientVersionPublishUpdated)); + _showClientCommandQuery = showClientCommandQuery ?? throw new global::System.ArgumentNullException(nameof(showClientCommandQuery)); + _unpublishClient = unpublishClient ?? throw new global::System.ArgumentNullException(nameof(unpublishClient)); + _uploadClient = uploadClient ?? throw new global::System.ArgumentNullException(nameof(uploadClient)); + _validateClientVersion = validateClientVersion ?? throw new global::System.ArgumentNullException(nameof(validateClientVersion)); + _onClientVersionValidationUpdated = onClientVersionValidationUpdated ?? throw new global::System.ArgumentNullException(nameof(onClientVersionValidationUpdated)); + _createEnvironmentCommandMutation = createEnvironmentCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createEnvironmentCommandMutation)); + _listEnvironmentCommandQuery = listEnvironmentCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listEnvironmentCommandQuery)); + _showEnvironmentCommandQuery = showEnvironmentCommandQuery ?? throw new global::System.ArgumentNullException(nameof(showEnvironmentCommandQuery)); + _fetchConfiguration = fetchConfiguration ?? throw new global::System.ArgumentNullException(nameof(fetchConfiguration)); + _uploadFusionSubgraph = uploadFusionSubgraph ?? throw new global::System.ArgumentNullException(nameof(uploadFusionSubgraph)); + _createMcpFeatureCollectionCommandMutation = createMcpFeatureCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createMcpFeatureCollectionCommandMutation)); + _deleteMcpFeatureCollectionByIdCommandMutation = deleteMcpFeatureCollectionByIdCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteMcpFeatureCollectionByIdCommandMutation)); + _listMcpFeatureCollectionCommandQuery = listMcpFeatureCollectionCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listMcpFeatureCollectionCommandQuery)); + _publishMcpFeatureCollectionCommandMutation = publishMcpFeatureCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(publishMcpFeatureCollectionCommandMutation)); + _publishMcpFeatureCollectionCommandSubscription = publishMcpFeatureCollectionCommandSubscription ?? throw new global::System.ArgumentNullException(nameof(publishMcpFeatureCollectionCommandSubscription)); + _uploadMcpFeatureCollectionCommandMutation = uploadMcpFeatureCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(uploadMcpFeatureCollectionCommandMutation)); + _validateMcpFeatureCollectionCommandMutation = validateMcpFeatureCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(validateMcpFeatureCollectionCommandMutation)); + _validateMcpFeatureCollectionCommandSubscription = validateMcpFeatureCollectionCommandSubscription ?? throw new global::System.ArgumentNullException(nameof(validateMcpFeatureCollectionCommandSubscription)); + _createMockSchema = createMockSchema ?? throw new global::System.ArgumentNullException(nameof(createMockSchema)); + _listMockCommandQuery = listMockCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listMockCommandQuery)); + _updateMockSchema = updateMockSchema ?? throw new global::System.ArgumentNullException(nameof(updateMockSchema)); + _createOpenApiCollectionCommandMutation = createOpenApiCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createOpenApiCollectionCommandMutation)); + _deleteOpenApiCollectionByIdCommandMutation = deleteOpenApiCollectionByIdCommandMutation ?? throw new global::System.ArgumentNullException(nameof(deleteOpenApiCollectionByIdCommandMutation)); + _listOpenApiCollectionCommandQuery = listOpenApiCollectionCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listOpenApiCollectionCommandQuery)); + _publishOpenApiCollectionCommandMutation = publishOpenApiCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(publishOpenApiCollectionCommandMutation)); + _publishOpenApiCollectionCommandSubscription = publishOpenApiCollectionCommandSubscription ?? throw new global::System.ArgumentNullException(nameof(publishOpenApiCollectionCommandSubscription)); + _uploadOpenApiCollectionCommandMutation = uploadOpenApiCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(uploadOpenApiCollectionCommandMutation)); + _validateOpenApiCollectionCommandMutation = validateOpenApiCollectionCommandMutation ?? throw new global::System.ArgumentNullException(nameof(validateOpenApiCollectionCommandMutation)); + _validateOpenApiCollectionCommandSubscription = validateOpenApiCollectionCommandSubscription ?? throw new global::System.ArgumentNullException(nameof(validateOpenApiCollectionCommandSubscription)); + _createPersonalAccessTokenCommandMutation = createPersonalAccessTokenCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createPersonalAccessTokenCommandMutation)); + _listPersonalAccessTokenCommandQuery = listPersonalAccessTokenCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listPersonalAccessTokenCommandQuery)); + _revokePersonalAccessTokenCommandMutation = revokePersonalAccessTokenCommandMutation ?? throw new global::System.ArgumentNullException(nameof(revokePersonalAccessTokenCommandMutation)); + _publishSchemaVersion = publishSchemaVersion ?? throw new global::System.ArgumentNullException(nameof(publishSchemaVersion)); + _onSchemaVersionPublishUpdated = onSchemaVersionPublishUpdated ?? throw new global::System.ArgumentNullException(nameof(onSchemaVersionPublishUpdated)); + _uploadSchema = uploadSchema ?? throw new global::System.ArgumentNullException(nameof(uploadSchema)); + _validateSchemaVersion = validateSchemaVersion ?? throw new global::System.ArgumentNullException(nameof(validateSchemaVersion)); + _onSchemaVersionValidationUpdated = onSchemaVersionValidationUpdated ?? throw new global::System.ArgumentNullException(nameof(onSchemaVersionValidationUpdated)); + _updateStages = updateStages ?? throw new global::System.ArgumentNullException(nameof(updateStages)); + _listStagesQuery = listStagesQuery ?? throw new global::System.ArgumentNullException(nameof(listStagesQuery)); + _createWorkspaceCommandMutation = createWorkspaceCommandMutation ?? throw new global::System.ArgumentNullException(nameof(createWorkspaceCommandMutation)); + _listWorkspaceCommandQuery = listWorkspaceCommandQuery ?? throw new global::System.ArgumentNullException(nameof(listWorkspaceCommandQuery)); + _setDefaultWorkspaceCommand_SelectWorkspace_Query = setDefaultWorkspaceCommand_SelectWorkspace_Query ?? throw new global::System.ArgumentNullException(nameof(setDefaultWorkspaceCommand_SelectWorkspace_Query)); + _showWorkspaceCommandQuery = showWorkspaceCommandQuery ?? throw new global::System.ArgumentNullException(nameof(showWorkspaceCommandQuery)); + _selectApiPromptQuery = selectApiPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectApiPromptQuery)); + _pageClientVersionDetailQuery = pageClientVersionDetailQuery ?? throw new global::System.ArgumentNullException(nameof(pageClientVersionDetailQuery)); + _selectClientPromptQuery = selectClientPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectClientPromptQuery)); + _beginFusionConfigurationPublish = beginFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(beginFusionConfigurationPublish)); + _onFusionConfigurationPublishingTaskChanged = onFusionConfigurationPublishingTaskChanged ?? throw new global::System.ArgumentNullException(nameof(onFusionConfigurationPublishingTaskChanged)); + _cancelFusionConfigurationPublish = cancelFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(cancelFusionConfigurationPublish)); + _commitFusionConfigurationPublish = commitFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(commitFusionConfigurationPublish)); + _startFusionConfigurationPublish = startFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(startFusionConfigurationPublish)); + _validateFusionConfigurationPublish = validateFusionConfigurationPublish ?? throw new global::System.ArgumentNullException(nameof(validateFusionConfigurationPublish)); + _selectMcpFeatureCollectionPromptQuery = selectMcpFeatureCollectionPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectMcpFeatureCollectionPromptQuery)); + _selectMockSchemaPromptQuery = selectMockSchemaPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectMockSchemaPromptQuery)); + _selectOpenApiCollectionPromptQuery = selectOpenApiCollectionPromptQuery ?? throw new global::System.ArgumentNullException(nameof(selectOpenApiCollectionPromptQuery)); + } + + public static global::System.String ClientName => "ApiClient"; + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation CreateApiKeyCommandMutation => _createApiKeyCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation DeleteApiKeyCommandMutation => _deleteApiKeyCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery ListApiKeyCommandQuery => _listApiKeyCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation CreateApiCommandMutation => _createApiCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery DeleteApiCommandQuery => _deleteApiCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation DeleteApiCommandMutation => _deleteApiCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery ListApiCommandQuery => _listApiCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation SetApiSettingsCommandMutation => _setApiSettingsCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery ShowApiCommandQuery => _showApiCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation CreateClientCommandMutation => _createClientCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation DeleteClientByIdCommandMutation => _deleteClientByIdCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery ListClientCommandQuery => _listClientCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation PublishClientVersion => _publishClientVersion; + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription OnClientVersionPublishUpdated => _onClientVersionPublishUpdated; + public global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery ShowClientCommandQuery => _showClientCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation UnpublishClient => _unpublishClient; + public global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation UploadClient => _uploadClient; + public global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation ValidateClientVersion => _validateClientVersion; + public global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription OnClientVersionValidationUpdated => _onClientVersionValidationUpdated; + public global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation CreateEnvironmentCommandMutation => _createEnvironmentCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery ListEnvironmentCommandQuery => _listEnvironmentCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery ShowEnvironmentCommandQuery => _showEnvironmentCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery FetchConfiguration => _fetchConfiguration; + public global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation UploadFusionSubgraph => _uploadFusionSubgraph; + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation CreateMcpFeatureCollectionCommandMutation => _createMcpFeatureCollectionCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation DeleteMcpFeatureCollectionByIdCommandMutation => _deleteMcpFeatureCollectionByIdCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery ListMcpFeatureCollectionCommandQuery => _listMcpFeatureCollectionCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation PublishMcpFeatureCollectionCommandMutation => _publishMcpFeatureCollectionCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscriptionSubscription PublishMcpFeatureCollectionCommandSubscription => _publishMcpFeatureCollectionCommandSubscription; + public global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation UploadMcpFeatureCollectionCommandMutation => _uploadMcpFeatureCollectionCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation ValidateMcpFeatureCollectionCommandMutation => _validateMcpFeatureCollectionCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscriptionSubscription ValidateMcpFeatureCollectionCommandSubscription => _validateMcpFeatureCollectionCommandSubscription; + public global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation CreateMockSchema => _createMockSchema; + public global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery ListMockCommandQuery => _listMockCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation UpdateMockSchema => _updateMockSchema; + public global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation CreateOpenApiCollectionCommandMutation => _createOpenApiCollectionCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation DeleteOpenApiCollectionByIdCommandMutation => _deleteOpenApiCollectionByIdCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery ListOpenApiCollectionCommandQuery => _listOpenApiCollectionCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation PublishOpenApiCollectionCommandMutation => _publishOpenApiCollectionCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription PublishOpenApiCollectionCommandSubscription => _publishOpenApiCollectionCommandSubscription; + public global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation UploadOpenApiCollectionCommandMutation => _uploadOpenApiCollectionCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation ValidateOpenApiCollectionCommandMutation => _validateOpenApiCollectionCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription ValidateOpenApiCollectionCommandSubscription => _validateOpenApiCollectionCommandSubscription; + public global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation CreatePersonalAccessTokenCommandMutation => _createPersonalAccessTokenCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery ListPersonalAccessTokenCommandQuery => _listPersonalAccessTokenCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation RevokePersonalAccessTokenCommandMutation => _revokePersonalAccessTokenCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation PublishSchemaVersion => _publishSchemaVersion; + public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription OnSchemaVersionPublishUpdated => _onSchemaVersionPublishUpdated; + public global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation UploadSchema => _uploadSchema; + public global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation ValidateSchemaVersion => _validateSchemaVersion; + public global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription OnSchemaVersionValidationUpdated => _onSchemaVersionValidationUpdated; + public global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation UpdateStages => _updateStages; + public global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery ListStagesQuery => _listStagesQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation CreateWorkspaceCommandMutation => _createWorkspaceCommandMutation; + public global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery ListWorkspaceCommandQuery => _listWorkspaceCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery SetDefaultWorkspaceCommand_SelectWorkspace_Query => _setDefaultWorkspaceCommand_SelectWorkspace_Query; + public global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery ShowWorkspaceCommandQuery => _showWorkspaceCommandQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery SelectApiPromptQuery => _selectApiPromptQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery PageClientVersionDetailQuery => _pageClientVersionDetailQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery SelectClientPromptQuery => _selectClientPromptQuery; + public global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation BeginFusionConfigurationPublish => _beginFusionConfigurationPublish; + public global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription OnFusionConfigurationPublishingTaskChanged => _onFusionConfigurationPublishingTaskChanged; + public global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation CancelFusionConfigurationPublish => _cancelFusionConfigurationPublish; + public global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation CommitFusionConfigurationPublish => _commitFusionConfigurationPublish; + public global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation StartFusionConfigurationPublish => _startFusionConfigurationPublish; + public global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation ValidateFusionConfigurationPublish => _validateFusionConfigurationPublish; + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery SelectMcpFeatureCollectionPromptQuery => _selectMcpFeatureCollectionPromptQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery SelectMockSchemaPromptQuery => _selectMockSchemaPromptQuery; + public global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery SelectOpenApiCollectionPromptQuery => _selectOpenApiCollectionPromptQuery; + } + /// /// Represents the ApiClient GraphQL client /// - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IApiClient - { - global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation UploadFusionSubgraph { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery FetchConfiguration { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation CreateMockSchema { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation UpdateMockSchema { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery ListMockCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery ShowClientCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation UnpublishClient { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation UploadClient { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation ValidateClientVersion { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription OnClientVersionValidationUpdated { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation DeleteClientByIdCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation PublishClientVersion { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription OnClientVersionPublishUpdated { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery ListClientCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation CreateClientCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery ShowApiCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery DeleteApiCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation DeleteApiCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery ListApiCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation SetApiSettingsCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation CreateApiCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation UpdateStages { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery ListStagesQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery ListEnvironmentCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery ShowEnvironmentCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation CreateEnvironmentCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery ListApiKeyCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation CreateApiKeyCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation DeleteApiKeyCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery ListPersonalAccessTokenCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation CreatePersonalAccessTokenCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation RevokePersonalAccessTokenCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation UploadOpenApiCollectionCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery ListOpenApiCollectionCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation PublishOpenApiCollectionCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription PublishOpenApiCollectionCommandSubscription { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation ValidateOpenApiCollectionCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription ValidateOpenApiCollectionCommandSubscription { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation CreateOpenApiCollectionCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation DeleteOpenApiCollectionByIdCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery ShowWorkspaceCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation CreateWorkspaceCommandMutation { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery ListWorkspaceCommandQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery SetDefaultWorkspaceCommand_SelectWorkspace_Query { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation PublishSchemaVersion { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription OnSchemaVersionPublishUpdated { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation UploadSchema { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation ValidateSchemaVersion { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription OnSchemaVersionValidationUpdated { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation CancelFusionConfigurationPublish { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation CommitFusionConfigurationPublish { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation StartFusionConfigurationPublish { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation BeginFusionConfigurationPublish { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription OnFusionConfigurationPublishingTaskChanged { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation ValidateFusionConfigurationPublish { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery SelectMockSchemaPromptQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery PageClientVersionDetailQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery SelectClientPromptQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery SelectApiPromptQuery { get; } - - global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery SelectOpenApiCollectionPromptQuery { get; } - } -} - -namespace ChilliCream.Nitro.CommandLine.Client.State -{ - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraphResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public UploadFusionSubgraphResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphResult); - - public UploadFusionSubgraphResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is UploadFusionSubgraphResultInfo info) - { - return new UploadFusionSubgraphResult(MapNonNullableIUploadFusionSubgraph_UploadFusionSubgraph(info.UploadFusionSubgraph)); - } - - throw new global::System.ArgumentException("UploadFusionSubgraphResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph MapNonNullableIUploadFusionSubgraph_UploadFusionSubgraph(global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData data) - { - IUploadFusionSubgraph_UploadFusionSubgraph returnValue = default !; - if (data.__typename.Equals("UploadFusionSubgraphPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload(MapIUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion(data.FusionSubgraphVersion), MapIUploadFusionSubgraph_UploadFusionSubgraph_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion? MapIUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion(global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData? data) - { - if (data is null) - { - return null; - } - - IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion returnValue = default !; - if (data?.__typename.Equals("FusionSubgraphVersion", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion(data.Id ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIUploadFusionSubgraph_UploadFusionSubgraph_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var uploadFusionSubgraphErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphErrorData child in list) - { - uploadFusionSubgraphErrors.Add(MapNonNullableIUploadFusionSubgraph_UploadFusionSubgraph_Errors(child)); - } - - return uploadFusionSubgraphErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_Errors MapNonNullableIUploadFusionSubgraph_UploadFusionSubgraph_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphErrorData data) - { - IUploadFusionSubgraph_UploadFusionSubgraph_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidFusionSourceSchemaArchiveErrorData invalidFusionSourceSchemaArchiveError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError(invalidFusionSourceSchemaArchiveError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraphResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public UploadFusionSubgraphResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData uploadFusionSubgraph) - { - UploadFusionSubgraph = uploadFusionSubgraph; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData UploadFusionSubgraph { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new UploadFusionSubgraphResultInfo(UploadFusionSubgraph); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class FetchConfigurationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public FetchConfigurationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationResult); - - public FetchConfigurationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is FetchConfigurationResultInfo info) - { - return new FetchConfigurationResult(MapIFetchConfiguration_FusionConfigurationByApiId(info.FusionConfigurationByApiId)); - } - - throw new global::System.ArgumentException("FetchConfigurationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IFetchConfiguration_FusionConfigurationByApiId? MapIFetchConfiguration_FusionConfigurationByApiId(global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData? data) - { - if (data is null) - { - return null; - } - - IFetchConfiguration_FusionConfigurationByApiId returnValue = default !; - if (data?.__typename.Equals("FusionConfiguration", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration(data.DownloadUrl ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class FetchConfigurationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public FetchConfigurationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData? fusionConfigurationByApiId) - { - FusionConfigurationByApiId = fusionConfigurationByApiId; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData? FusionConfigurationByApiId { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new FetchConfigurationResultInfo(FusionConfigurationByApiId); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchemaResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CreateMockSchemaResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaResult); - - public CreateMockSchemaResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CreateMockSchemaResultInfo info) - { - return new CreateMockSchemaResult(MapNonNullableICreateMockSchema_CreateMockSchema(info.CreateMockSchema)); - } - - throw new global::System.ArgumentException("CreateMockSchemaResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema MapNonNullableICreateMockSchema_CreateMockSchema(global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData data) - { - ICreateMockSchema_CreateMockSchema returnValue = default !; - if (data.__typename.Equals("CreateMockSchemaPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload(MapICreateMockSchema_CreateMockSchema_MockSchema(data.MockSchema), MapICreateMockSchema_CreateMockSchema_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema? MapICreateMockSchema_CreateMockSchema_MockSchema(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? data) - { - if (data is null) - { - return null; - } - - ICreateMockSchema_CreateMockSchema_MockSchema returnValue = default !; - if (data?.__typename.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_MockSchema(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(data.CreatedBy ?? throw new global::System.ArgumentNullException()), data.ModifiedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(data.ModifiedBy ?? throw new global::System.ArgumentNullException()), data.DownstreamUrl ?? throw new global::System.ArgumentNullException(), data.Url ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) - { - ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy returnValue = default !; - if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) - { - ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy returnValue = default !; - if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateMockSchema_CreateMockSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var createMockSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMockSchemaErrorData child in list) - { - createMockSchemaErrors.Add(MapNonNullableICreateMockSchema_CreateMockSchema_Errors(child)); - } - - return createMockSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_Errors MapNonNullableICreateMockSchema_CreateMockSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMockSchemaErrorData data) - { - ICreateMockSchema_CreateMockSchema_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNonUniqueNameErrorData mockSchemaNonUniqueNameError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError(mockSchemaNonUniqueNameError.__typename ?? throw new global::System.ArgumentNullException(), mockSchemaNonUniqueNameError.Message ?? throw new global::System.ArgumentNullException(), mockSchemaNonUniqueNameError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchema_CreateMockSchema_Errors_ValidationError(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchemaResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CreateMockSchemaResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData createMockSchema) - { - CreateMockSchema = createMockSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData CreateMockSchema { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CreateMockSchemaResultInfo(CreateMockSchema); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchemaResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public UpdateMockSchemaResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaResult); - - public UpdateMockSchemaResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is UpdateMockSchemaResultInfo info) - { - return new UpdateMockSchemaResult(MapNonNullableIUpdateMockSchema_UpdateMockSchema(info.UpdateMockSchema)); - } - - throw new global::System.ArgumentException("UpdateMockSchemaResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema MapNonNullableIUpdateMockSchema_UpdateMockSchema(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData data) - { - IUpdateMockSchema_UpdateMockSchema returnValue = default !; - if (data.__typename.Equals("UpdateMockSchemaPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload(MapIUpdateMockSchema_UpdateMockSchema_MockSchema(data.MockSchema), MapIUpdateMockSchema_UpdateMockSchema_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_MockSchema? MapIUpdateMockSchema_UpdateMockSchema_MockSchema(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? data) - { - if (data is null) - { - return null; - } - - IUpdateMockSchema_UpdateMockSchema_MockSchema returnValue = default !; - if (data?.__typename.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(data.CreatedBy ?? throw new global::System.ArgumentNullException()), data.ModifiedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(data.ModifiedBy ?? throw new global::System.ArgumentNullException()), data.DownstreamUrl ?? throw new global::System.ArgumentNullException(), data.Url ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) - { - ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy returnValue = default !; - if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) - { - ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy returnValue = default !; - if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIUpdateMockSchema_UpdateMockSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var updateMockSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateMockSchemaErrorData child in list) - { - updateMockSchemaErrors.Add(MapNonNullableIUpdateMockSchema_UpdateMockSchema_Errors(child)); - } - - return updateMockSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_Errors MapNonNullableIUpdateMockSchema_UpdateMockSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateMockSchemaErrorData data) - { - IUpdateMockSchema_UpdateMockSchema_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNonUniqueNameErrorData mockSchemaNonUniqueNameError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError(mockSchemaNonUniqueNameError.__typename ?? throw new global::System.ArgumentNullException(), mockSchemaNonUniqueNameError.Message ?? throw new global::System.ArgumentNullException(), mockSchemaNonUniqueNameError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNotFoundErrorData mockSchemaNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError(mockSchemaNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), mockSchemaNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchema_UpdateMockSchema_Errors_ValidationError(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchemaResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public UpdateMockSchemaResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData updateMockSchema) - { - UpdateMockSchema = updateMockSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData UpdateMockSchema { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new UpdateMockSchemaResultInfo(UpdateMockSchema); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListMockCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryResult); - - public ListMockCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListMockCommandQueryResultInfo info) - { - return new ListMockCommandQueryResult(MapIListMockCommandQuery_ApiById(info.ApiById)); - } - - throw new global::System.ArgumentException("ListMockCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById? MapIListMockCommandQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - IListMockCommandQuery_ApiById returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListMockCommandQuery_ApiById_Api(MapIListMockCommandQuery_ApiById_MockSchemas(data.MockSchemas)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas? MapIListMockCommandQuery_ApiById_MockSchemas(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? data) - { - if (data is null) - { - return null; - } - - IListMockCommandQuery_ApiById_MockSchemas returnValue = default !; - if (data?.__typename.Equals("MockSchemasConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection(MapIListMockCommandQuery_ApiById_MockSchemas_EdgesNonNullableArray(data.Edges), MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIListMockCommandQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var mockSchemasEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData child in list) - { - mockSchemasEdges.Add(MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges(child)); - } - - return mockSchemasEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData data) - { - IListMockCommandQuery_ApiById_MockSchemas_Edges returnValue = default !; - if (data.__typename.Equals("MockSchemasEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges_Node MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData data) - { - IListMockCommandQuery_ApiById_MockSchemas_Edges_Node returnValue = default !; - if (data.__typename.Equals("MockSchema", global::System.StringComparison.Ordinal)) - { - returnValue = new ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(data.CreatedBy ?? throw new global::System.ArgumentNullException()), data.ModifiedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(data.ModifiedBy ?? throw new global::System.ArgumentNullException()), data.DownstreamUrl ?? throw new global::System.ArgumentNullException(), data.Url ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) - { - ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy returnValue = default !; - if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) - { - ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy returnValue = default !; - if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_PageInfo MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IListMockCommandQuery_ApiById_MockSchemas_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListMockCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) - { - ApiById = apiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListMockCommandQueryResultInfo(ApiById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ShowClientCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryResult); - - public ShowClientCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ShowClientCommandQueryResultInfo info) - { - return new ShowClientCommandQueryResult(MapIShowClientCommandQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("ShowClientCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node? MapIShowClientCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Api(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Client(client.Id ?? throw new global::System.ArgumentNullException(), client.Name ?? throw new global::System.ArgumentNullException(), MapIShowClientCommandQuery_Node_Api_1(client.Api), MapIShowClientCommandQuery_Node_Versions(client.Versions)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Environment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Workspace(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? MapIShowClientCommandQuery_Node_Api_1(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Api_1 returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? MapIShowClientCommandQuery_Node_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions returnValue = default !; - if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_ClientVersionConnection(MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) - { - clientVersionEdges.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) - { - IShowClientCommandQuery_Node_Versions_Edges returnValue = default !; - if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node returnValue = default !; - if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) - { - publishedClientVersions.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo returnValue = default !; - if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; - if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IShowClientCommandQuery_Node_Versions_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ShowClientCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IApiClient + { + global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationMutation CreateApiKeyCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationMutation DeleteApiKeyCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryQuery ListApiKeyCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationMutation CreateApiCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryQuery DeleteApiCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationMutation DeleteApiCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryQuery ListApiCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationMutation SetApiSettingsCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryQuery ShowApiCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationMutation CreateClientCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationMutation DeleteClientByIdCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryQuery ListClientCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionMutation PublishClientVersion { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedSubscription OnClientVersionPublishUpdated { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryQuery ShowClientCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientMutation UnpublishClient { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IUploadClientMutation UploadClient { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionMutation ValidateClientVersion { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedSubscription OnClientVersionValidationUpdated { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationMutation CreateEnvironmentCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryQuery ListEnvironmentCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryQuery ShowEnvironmentCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationQuery FetchConfiguration { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphMutation UploadFusionSubgraph { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationMutation CreateMcpFeatureCollectionCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationMutation DeleteMcpFeatureCollectionByIdCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryQuery ListMcpFeatureCollectionCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationMutation PublishMcpFeatureCollectionCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscriptionSubscription PublishMcpFeatureCollectionCommandSubscription { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationMutation UploadMcpFeatureCollectionCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationMutation ValidateMcpFeatureCollectionCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscriptionSubscription ValidateMcpFeatureCollectionCommandSubscription { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaMutation CreateMockSchema { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryQuery ListMockCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaMutation UpdateMockSchema { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationMutation CreateOpenApiCollectionCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationMutation DeleteOpenApiCollectionByIdCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryQuery ListOpenApiCollectionCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationMutation PublishOpenApiCollectionCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionSubscription PublishOpenApiCollectionCommandSubscription { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationMutation UploadOpenApiCollectionCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationMutation ValidateOpenApiCollectionCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionSubscription ValidateOpenApiCollectionCommandSubscription { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationMutation CreatePersonalAccessTokenCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryQuery ListPersonalAccessTokenCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationMutation RevokePersonalAccessTokenCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionMutation PublishSchemaVersion { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedSubscription OnSchemaVersionPublishUpdated { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaMutation UploadSchema { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionMutation ValidateSchemaVersion { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedSubscription OnSchemaVersionValidationUpdated { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesMutation UpdateStages { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryQuery ListStagesQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationMutation CreateWorkspaceCommandMutation { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryQuery ListWorkspaceCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryQuery SetDefaultWorkspaceCommand_SelectWorkspace_Query { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryQuery ShowWorkspaceCommandQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryQuery SelectApiPromptQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryQuery PageClientVersionDetailQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryQuery SelectClientPromptQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishMutation BeginFusionConfigurationPublish { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedSubscription OnFusionConfigurationPublishingTaskChanged { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishMutation CancelFusionConfigurationPublish { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishMutation CommitFusionConfigurationPublish { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishMutation StartFusionConfigurationPublish { get; } + + global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishMutation ValidateFusionConfigurationPublish { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryQuery SelectMcpFeatureCollectionPromptQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryQuery SelectMockSchemaPromptQuery { get; } + + global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryQuery SelectOpenApiCollectionPromptQuery { get; } + } +} + +namespace ChilliCream.Nitro.CommandLine.Client.State +{ + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreateApiKeyCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationResult); + + public CreateApiKeyCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreateApiKeyCommandMutationResultInfo info) + { + return new CreateApiKeyCommandMutationResult(MapNonNullableICreateApiKeyCommandMutation_CreateApiKey(info.CreateApiKey)); + } + + throw new global::System.ArgumentException("CreateApiKeyCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey MapNonNullableICreateApiKeyCommandMutation_CreateApiKey(global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData data) + { + ICreateApiKeyCommandMutation_CreateApiKey returnValue = default !; + if (data.__typename.Equals("CreateApiKeyPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload(MapICreateApiKeyCommandMutation_CreateApiKey_Result(data.Result), MapICreateApiKeyCommandMutation_CreateApiKey_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result? MapICreateApiKeyCommandMutation_CreateApiKey_Result(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData? data) + { + if (data is null) + { + return null; + } + + ICreateApiKeyCommandMutation_CreateApiKey_Result returnValue = default !; + if (data?.__typename.Equals("ApiKeyWithSecret", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret(MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Result_Key(data.Key ?? throw new global::System.ArgumentNullException()), data.Secret ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Result_Key(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData data) + { + ICreateApiKeyCommandMutation_CreateApiKey_Result_Key returnValue = default !; + if (data.__typename.Equals("ApiKey", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(data.Workspace)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? MapICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateApiKeyCommandMutation_CreateApiKey_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var createApiKeyErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyErrorData child in list) + { + createApiKeyErrors.Add(MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors(child)); + } + + return createApiKeyErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Errors MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyErrorData data) + { + ICreateApiKeyCommandMutation_CreateApiKey_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundData workspaceNotFound) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound(workspaceNotFound.__typename ?? throw new global::System.ArgumentNullException(), workspaceNotFound.Message ?? throw new global::System.ArgumentNullException(), workspaceNotFound.WorkspaceId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersonalWorkspaceNotSupportedErrorData personalWorkspaceNotSupportedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError(personalWorkspaceNotSupportedError.__typename ?? throw new global::System.ArgumentNullException(), personalWorkspaceNotSupportedError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError(validationError.__typename ?? throw new global::System.ArgumentNullException(), validationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_ErrorsNonNullableArray(validationError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.RoleNotFoundErrorData roleNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError(roleNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), roleNotFoundError.Message ?? throw new global::System.ArgumentNullException(), roleNotFoundError.RoleId ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var validationErrorPropertys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorPropertyData child in list) + { + validationErrorPropertys.Add(MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors(child)); + } + + return validationErrorPropertys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorPropertyData data) + { + ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors returnValue = default !; + if (data.__typename.Equals("ValidationErrorProperty", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty(data.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreateApiKeyCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData createApiKey) + { + CreateApiKey = createApiKey; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData CreateApiKey { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreateApiKeyCommandMutationResultInfo(CreateApiKey); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public DeleteApiKeyCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationResult); + + public DeleteApiKeyCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is DeleteApiKeyCommandMutationResultInfo info) + { + return new DeleteApiKeyCommandMutationResult(MapNonNullableIDeleteApiKeyCommandMutation_DeleteApiKey(info.DeleteApiKey)); + } + + throw new global::System.ArgumentException("DeleteApiKeyCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey MapNonNullableIDeleteApiKeyCommandMutation_DeleteApiKey(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData data) + { + IDeleteApiKeyCommandMutation_DeleteApiKey returnValue = default !; + if (data.__typename.Equals("DeleteApiKeyPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload(MapIDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey(data.ApiKey), MapIDeleteApiKeyCommandMutation_DeleteApiKey_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey? MapIDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? data) + { + if (data is null) + { + return null; + } + + IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey returnValue = default !; + if (data?.__typename.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(data.Workspace)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? MapICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIDeleteApiKeyCommandMutation_DeleteApiKey_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var deleteApiKeyErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyErrorData child in list) + { + deleteApiKeyErrors.Add(MapNonNullableIDeleteApiKeyCommandMutation_DeleteApiKey_Errors(child)); + } + + return deleteApiKeyErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_Errors MapNonNullableIDeleteApiKeyCommandMutation_DeleteApiKey_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyErrorData data) + { + IDeleteApiKeyCommandMutation_DeleteApiKey_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyNotFoundErrorData apiKeyNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError(apiKeyNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiKeyNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiKeyNotFoundError.ApiKeyId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public DeleteApiKeyCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData deleteApiKey) + { + DeleteApiKey = deleteApiKey; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData DeleteApiKey { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new DeleteApiKeyCommandMutationResultInfo(DeleteApiKey); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListApiKeyCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryResult); + + public ListApiKeyCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListApiKeyCommandQueryResultInfo info) + { + return new ListApiKeyCommandQueryResult(MapIListApiKeyCommandQuery_WorkspaceById(info.WorkspaceById)); + } + + throw new global::System.ArgumentException("ListApiKeyCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById? MapIListApiKeyCommandQuery_WorkspaceById(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + IListApiKeyCommandQuery_WorkspaceById returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListApiKeyCommandQuery_WorkspaceById_Workspace(MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys(data.ApiKeys)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys? MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData? data) + { + if (data is null) + { + return null; + } + + IListApiKeyCommandQuery_WorkspaceById_ApiKeys returnValue = default !; + if (data?.__typename.Equals("ApiKeysConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection(MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_EdgesNonNullableArray(data.Edges), MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var apiKeysEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysEdgeData child in list) + { + apiKeysEdges.Add(MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges(child)); + } + + return apiKeysEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysEdgeData data) + { + IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges returnValue = default !; + if (data.__typename.Equals("ApiKeysEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData data) + { + IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node returnValue = default !; + if (data.__typename.Equals("ApiKey", global::System.StringComparison.Ordinal)) + { + returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(data.Workspace)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace? MapICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListApiKeyCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspaceById) + { + WorkspaceById = workspaceById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? WorkspaceById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListApiKeyCommandQueryResultInfo(WorkspaceById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreateApiCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationResult); + + public CreateApiCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreateApiCommandMutationResultInfo info) + { + return new CreateApiCommandMutationResult(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges(info.PushWorkspaceChanges)); + } + + throw new global::System.ArgumentException("CreateApiCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges(global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges returnValue = default !; + if (data.__typename.Equals("PushWorkspaceChangesPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload(MapICreateApiCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(data.Changes), MapICreateApiCommandMutation_PushWorkspaceChanges_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateApiCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var workspaceChangePayloads = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData child in list) + { + workspaceChangePayloads.Add(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes(child)); + } + + return workspaceChangePayloads; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes returnValue = default !; + if (data.__typename.Equals("WorkspaceChangePayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload(data.ReferenceId ?? throw new global::System.ArgumentNullException(), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error(data.Error), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result(data.Result)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error(global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? data) + { + if (data is null) + { + return null; + } + + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ChangeValidationFailedData changeValidationFailed) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed(changeValidationFailed.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenChangedConflictData hasBeenChangedConflict) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict(hasBeenChangedConflict.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenDeletedConflictData hasBeenDeletedConflict) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict(hasBeenDeletedConflict.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.IdentifierCollisionConflictData identifierCollisionConflict) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict(identifierCollisionConflict.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedErrorOnChangeData unexpectedErrorOnChange) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange(unexpectedErrorOnChange.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundForChangeData workspaceNotFoundForChange) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange(workspaceNotFoundForChange.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result(global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? data) + { + if (data is null) + { + return null; + } + + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api(api.Name ?? throw new global::System.ArgumentNullException(), api.Id ?? throw new global::System.ArgumentNullException(), api.Path ?? throw new global::System.ArgumentNullException(), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(api.Workspace), MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(api.Settings)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings returnValue = default !; + if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry returnValue = default !; + if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateApiCommandMutation_PushWorkspaceChanges_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var pushWorkspaceChangesErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData child in list) + { + pushWorkspaceChangesErrors.Add(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Errors(child)); + } + + return pushWorkspaceChangesErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Errors MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ChangeStructureInvalidData changeStructureInvalid) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid(changeStructureInvalid.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreateApiCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData pushWorkspaceChanges) + { + PushWorkspaceChanges = pushWorkspaceChanges; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData PushWorkspaceChanges { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreateApiCommandMutationResultInfo(PushWorkspaceChanges); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public DeleteApiCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryResult); + + public DeleteApiCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is DeleteApiCommandQueryResultInfo info) + { + return new DeleteApiCommandQueryResult(MapIDeleteApiCommandQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("DeleteApiCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node? MapIDeleteApiCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IDeleteApiCommandQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Api(api.Name ?? throw new global::System.ArgumentNullException(), api.Version ?? throw new global::System.ArgumentNullException(), MapIDeleteApiCommandQuery_Node_Workspace_1(api.Workspace)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Client(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node_Workspace_1? MapIDeleteApiCommandQuery_Node_Workspace_1(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + IDeleteApiCommandQuery_Node_Workspace_1 returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new DeleteApiCommandQuery_Node_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public DeleteApiCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + + /// + /// Fetches an object given its ID. + /// + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new DeleteApiCommandQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public DeleteApiCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationResult); + + public DeleteApiCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is DeleteApiCommandMutationResultInfo info) + { + return new DeleteApiCommandMutationResult(MapNonNullableIDeleteApiCommandMutation_DeleteApiById(info.DeleteApiById)); + } + + throw new global::System.ArgumentException("DeleteApiCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById MapNonNullableIDeleteApiCommandMutation_DeleteApiById(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData data) + { + IDeleteApiCommandMutation_DeleteApiById returnValue = default !; + if (data.__typename.Equals("DeleteApiByIdPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload(MapIDeleteApiCommandMutation_DeleteApiById_Api(data.Api), MapIDeleteApiCommandMutation_DeleteApiById_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Api? MapIDeleteApiCommandMutation_DeleteApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + IDeleteApiCommandMutation_DeleteApiById_Api returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new DeleteApiCommandMutation_DeleteApiById_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException(), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(data.Workspace), MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(data.Settings ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings returnValue = default !; + if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry returnValue = default !; + if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIDeleteApiCommandMutation_DeleteApiById_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var deleteApiByIdErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiByIdErrorData child in list) + { + deleteApiByIdErrors.Add(MapNonNullableIDeleteApiCommandMutation_DeleteApiById_Errors(child)); + } + + return deleteApiByIdErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Errors MapNonNullableIDeleteApiCommandMutation_DeleteApiById_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiByIdErrorData data) + { + IDeleteApiCommandMutation_DeleteApiById_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDeletionFailedErrorData apiDeletionFailedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError(apiDeletionFailedError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public DeleteApiCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData deleteApiById) + { + DeleteApiById = deleteApiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData DeleteApiById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new DeleteApiCommandMutationResultInfo(DeleteApiById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListApiCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryResult); + + public ListApiCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListApiCommandQueryResultInfo info) + { + return new ListApiCommandQueryResult(MapIListApiCommandQuery_WorkspaceById(info.WorkspaceById)); + } + + throw new global::System.ArgumentException("ListApiCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById? MapIListApiCommandQuery_WorkspaceById(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + IListApiCommandQuery_WorkspaceById returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListApiCommandQuery_WorkspaceById_Workspace(MapIListApiCommandQuery_WorkspaceById_Apis(data.Apis)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis? MapIListApiCommandQuery_WorkspaceById_Apis(global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? data) + { + if (data is null) + { + return null; + } + + IListApiCommandQuery_WorkspaceById_Apis returnValue = default !; + if (data?.__typename.Equals("ApisConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListApiCommandQuery_WorkspaceById_Apis_ApisConnection(MapIListApiCommandQuery_WorkspaceById_Apis_EdgesNonNullableArray(data.Edges), MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListApiCommandQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var apisEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData child in list) + { + apisEdges.Add(MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges(child)); + } + + return apisEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData data) + { + IListApiCommandQuery_WorkspaceById_Apis_Edges returnValue = default !; + if (data.__typename.Equals("ApisEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges_Node MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData data) + { + IListApiCommandQuery_WorkspaceById_Apis_Edges_Node returnValue = default !; + if (data.__typename.Equals("Api", global::System.StringComparison.Ordinal)) + { + returnValue = new ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException(), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(data.Workspace), MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(data.Settings ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings returnValue = default !; + if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry returnValue = default !; + if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_PageInfo MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListApiCommandQuery_WorkspaceById_Apis_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListApiCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspaceById) + { + WorkspaceById = workspaceById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? WorkspaceById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListApiCommandQueryResultInfo(WorkspaceById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public SetApiSettingsCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationResult); + + public SetApiSettingsCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is SetApiSettingsCommandMutationResultInfo info) + { + return new SetApiSettingsCommandMutationResult(MapNonNullableISetApiSettingsCommandMutation_UpdateApiSettings(info.UpdateApiSettings)); + } + + throw new global::System.ArgumentException("SetApiSettingsCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings MapNonNullableISetApiSettingsCommandMutation_UpdateApiSettings(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData data) + { + ISetApiSettingsCommandMutation_UpdateApiSettings returnValue = default !; + if (data.__typename.Equals("UpdateApiSettingsPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload(MapISetApiSettingsCommandMutation_UpdateApiSettings_Api(data.Api), MapISetApiSettingsCommandMutation_UpdateApiSettings_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Api? MapISetApiSettingsCommandMutation_UpdateApiSettings_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ISetApiSettingsCommandMutation_UpdateApiSettings_Api returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException(), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(data.Workspace), MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(data.Settings ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings returnValue = default !; + if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry returnValue = default !; + if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapISetApiSettingsCommandMutation_UpdateApiSettings_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var updateApiSettingsErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsErrorData child in list) + { + updateApiSettingsErrors.Add(MapNonNullableISetApiSettingsCommandMutation_UpdateApiSettings_Errors(child)); + } + + return updateApiSettingsErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Errors MapNonNullableISetApiSettingsCommandMutation_UpdateApiSettings_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsErrorData data) + { + ISetApiSettingsCommandMutation_UpdateApiSettings_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public SetApiSettingsCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData updateApiSettings) + { + UpdateApiSettings = updateApiSettings; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData UpdateApiSettings { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new SetApiSettingsCommandMutationResultInfo(UpdateApiSettings); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ShowApiCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryResult); + + public ShowApiCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ShowApiCommandQueryResultInfo info) + { + return new ShowApiCommandQueryResult(MapIShowApiCommandQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("ShowApiCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node? MapIShowApiCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IShowApiCommandQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Api(api.Id ?? throw new global::System.ArgumentNullException(), api.Name ?? throw new global::System.ArgumentNullException(), api.Path ?? throw new global::System.ArgumentNullException(), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(api.Workspace), MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(api.Settings)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Client(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings returnValue = default !; + if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry returnValue = default !; + if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ShowApiCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ShowClientCommandQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClientResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public UnpublishClientResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientResult); - - public UnpublishClientResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is UnpublishClientResultInfo info) - { - return new UnpublishClientResult(MapNonNullableIUnpublishClient_UnpublishClient(info.UnpublishClient)); - } - - throw new global::System.ArgumentException("UnpublishClientResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient MapNonNullableIUnpublishClient_UnpublishClient(global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData data) - { - IUnpublishClient_UnpublishClient returnValue = default !; - if (data.__typename.Equals("UnpublishClientPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new UnpublishClient_UnpublishClient_UnpublishClientPayload(MapIUnpublishClient_UnpublishClient_ClientVersion(data.ClientVersion), MapIUnpublishClient_UnpublishClient_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion? MapIUnpublishClient_UnpublishClient_ClientVersion(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? data) - { - if (data is null) - { - return null; - } - - IUnpublishClient_UnpublishClient_ClientVersion returnValue = default !; - if (data?.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UnpublishClient_UnpublishClient_ClientVersion_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), MapIUnpublishClient_UnpublishClient_ClientVersion_Client(data.Client)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion_Client? MapIUnpublishClient_UnpublishClient_ClientVersion_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - IUnpublishClient_UnpublishClient_ClientVersion_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UnpublishClient_UnpublishClient_ClientVersion_Client_Client(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIUnpublishClient_UnpublishClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var unpublishClientErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientErrorData child in list) - { - unpublishClientErrors.Add(MapNonNullableIUnpublishClient_UnpublishClient_Errors(child)); - } - - return unpublishClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_Errors MapNonNullableIUnpublishClient_UnpublishClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientErrorData data) - { - IUnpublishClient_UnpublishClient_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionNotFoundErrorData clientVersionNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError(clientVersionNotFoundError.Tag ?? throw new global::System.ArgumentNullException(), clientVersionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientVersionNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClientResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public UnpublishClientResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData unpublishClient) - { - UnpublishClient = unpublishClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData UnpublishClient { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new UnpublishClientResultInfo(UnpublishClient); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClientResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public UploadClientResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadClientResult); - - public UploadClientResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is UploadClientResultInfo info) - { - return new UploadClientResult(MapNonNullableIUploadClient_UploadClient(info.UploadClient)); - } - - throw new global::System.ArgumentException("UploadClientResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient MapNonNullableIUploadClient_UploadClient(global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData data) - { - IUploadClient_UploadClient returnValue = default !; - if (data.__typename.Equals("UploadClientPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new UploadClient_UploadClient_UploadClientPayload(MapIUploadClient_UploadClient_ClientVersion(data.ClientVersion), MapIUploadClient_UploadClient_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_ClientVersion? MapIUploadClient_UploadClient_ClientVersion(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? data) - { - if (data is null) - { - return null; - } - - IUploadClient_UploadClient_ClientVersion returnValue = default !; - if (data?.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UploadClient_UploadClient_ClientVersion_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIUploadClient_UploadClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var uploadClientErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientErrorData child in list) - { - uploadClientErrors.Add(MapNonNullableIUploadClient_UploadClient_Errors(child)); - } - - return uploadClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_Errors MapNonNullableIUploadClient_UploadClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientErrorData data) - { - IUploadClient_UploadClient_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidPersistedQueryErrorData invalidPersistedQueryError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_InvalidPersistedQueryError(invalidPersistedQueryError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClientResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public UploadClientResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData uploadClient) - { - UploadClient = uploadClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData UploadClient { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new UploadClientResultInfo(UploadClient); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersionResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ValidateClientVersionResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionResult); - - public ValidateClientVersionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ValidateClientVersionResultInfo info) - { - return new ValidateClientVersionResult(MapNonNullableIValidateClientVersion_ValidateClient(info.ValidateClient)); - } - - throw new global::System.ArgumentException("ValidateClientVersionResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient MapNonNullableIValidateClientVersion_ValidateClient(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData data) - { - IValidateClientVersion_ValidateClient returnValue = default !; - if (data.__typename.Equals("ValidateClientPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new ValidateClientVersion_ValidateClient_ValidateClientPayload(data.Id, MapIValidateClientVersion_ValidateClient_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIValidateClientVersion_ValidateClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var validateClientErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientErrorData child in list) - { - validateClientErrors.Add(MapNonNullableIValidateClientVersion_ValidateClient_Errors(child)); - } - - return validateClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient_Errors MapNonNullableIValidateClientVersion_ValidateClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientErrorData data) - { - IValidateClientVersion_ValidateClient_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateClientVersion_ValidateClient_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersionResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ValidateClientVersionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData validateClient) - { - ValidateClient = validateClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData ValidateClient { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ValidateClientVersionResultInfo(ValidateClient); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdatedResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public OnClientVersionValidationUpdatedResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedResult); - - public OnClientVersionValidationUpdatedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is OnClientVersionValidationUpdatedResultInfo info) - { - return new OnClientVersionValidationUpdatedResult(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate(info.OnClientVersionValidationUpdate)); - } - - throw new global::System.ArgumentException("OnClientVersionValidationUpdatedResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationResultData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionValidationFailedData clientVersionValidationFailed) - { - if (!clientVersionValidationFailed.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed(clientVersionValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), clientVersionValidationFailed.State!.Value, MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ErrorsNonNullableArray(clientVersionValidationFailed.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionValidationSuccessData clientVersionValidationSuccess) - { - if (!clientVersionValidationSuccess.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess(clientVersionValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), clientVersionValidationSuccess.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) - { - if (!operationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) - { - if (!validationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress(validationInProgress.__typename ?? throw new global::System.ArgumentNullException(), validationInProgress.State!.Value); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var clientVersionValidationErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationErrorData child in list) - { - clientVersionValidationErrors.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors(child)); - } - - return clientVersionValidationErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationErrorData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) - { - persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries returnValue = default !; - if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) - { - persistedQueryErrors.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors returnValue = default !; - if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) - { - persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations returnValue = default !; - if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdatedResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public OnClientVersionValidationUpdatedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationResultData onClientVersionValidationUpdate) - { - OnClientVersionValidationUpdate = onClientVersionValidationUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationResultData OnClientVersionValidationUpdate { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new OnClientVersionValidationUpdatedResultInfo(OnClientVersionValidationUpdate); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public DeleteClientByIdCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationResult); - - public DeleteClientByIdCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is DeleteClientByIdCommandMutationResultInfo info) - { - return new DeleteClientByIdCommandMutationResult(MapNonNullableIDeleteClientByIdCommandMutation_DeleteClientById(info.DeleteClientById)); - } - - throw new global::System.ArgumentException("DeleteClientByIdCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById MapNonNullableIDeleteClientByIdCommandMutation_DeleteClientById(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData data) - { - IDeleteClientByIdCommandMutation_DeleteClientById returnValue = default !; - if (data.__typename.Equals("DeleteClientByIdPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload(MapIDeleteClientByIdCommandMutation_DeleteClientById_Client(data.Client), MapIDeleteClientByIdCommandMutation_DeleteClientById_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Client? MapIDeleteClientByIdCommandMutation_DeleteClientById_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - IDeleteClientByIdCommandMutation_DeleteClientById_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new DeleteClientByIdCommandMutation_DeleteClientById_Client_Client(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException(), MapIShowClientCommandQuery_Node_Api_1(data.Api), MapIShowClientCommandQuery_Node_Versions(data.Versions)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? MapIShowClientCommandQuery_Node_Api_1(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Api_1 returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? MapIShowClientCommandQuery_Node_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions returnValue = default !; - if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_ClientVersionConnection(MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) - { - clientVersionEdges.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) - { - IShowClientCommandQuery_Node_Versions_Edges returnValue = default !; - if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node returnValue = default !; - if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) - { - publishedClientVersions.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo returnValue = default !; - if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; - if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IShowClientCommandQuery_Node_Versions_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIDeleteClientByIdCommandMutation_DeleteClientById_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var deleteClientByIdErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdErrorData child in list) - { - deleteClientByIdErrors.Add(MapNonNullableIDeleteClientByIdCommandMutation_DeleteClientById_Errors(child)); - } - - return deleteClientByIdErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Errors MapNonNullableIDeleteClientByIdCommandMutation_DeleteClientById_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdErrorData data) - { - IDeleteClientByIdCommandMutation_DeleteClientById_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public DeleteClientByIdCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData deleteClientById) - { - DeleteClientById = deleteClientById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData DeleteClientById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new DeleteClientByIdCommandMutationResultInfo(DeleteClientById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersionResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public PublishClientVersionResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionResult); - - public PublishClientVersionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is PublishClientVersionResultInfo info) - { - return new PublishClientVersionResult(MapNonNullableIPublishClientVersion_PublishClient(info.PublishClient)); - } - - throw new global::System.ArgumentException("PublishClientVersionResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient MapNonNullableIPublishClientVersion_PublishClient(global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData data) - { - IPublishClientVersion_PublishClient returnValue = default !; - if (data.__typename.Equals("PublishClientPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new PublishClientVersion_PublishClient_PublishClientPayload(data.Id, MapIPublishClientVersion_PublishClient_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIPublishClientVersion_PublishClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var publishClientErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientErrorData child in list) - { - publishClientErrors.Add(MapNonNullableIPublishClientVersion_PublishClient_Errors(child)); - } - - return publishClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient_Errors MapNonNullableIPublishClientVersion_PublishClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientErrorData data) - { - IPublishClientVersion_PublishClient_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersion_PublishClient_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersion_PublishClient_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersion_PublishClient_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionNotFoundErrorData clientVersionNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError(clientVersionNotFoundError.Tag ?? throw new global::System.ArgumentNullException(), clientVersionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientVersionNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersionResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public PublishClientVersionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData publishClient) - { - PublishClient = publishClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData PublishClient { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new PublishClientVersionResultInfo(PublishClient); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdatedResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public OnClientVersionPublishUpdatedResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedResult); - - public OnClientVersionPublishUpdatedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is OnClientVersionPublishUpdatedResultInfo info) - { - return new OnClientVersionPublishUpdatedResult(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate(info.OnClientVersionPublishingUpdate)); - } - - throw new global::System.ArgumentException("OnClientVersionPublishUpdatedResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishResultData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionPublishFailedData clientVersionPublishFailed) - { - if (!clientVersionPublishFailed.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed(clientVersionPublishFailed.__typename ?? throw new global::System.ArgumentNullException(), clientVersionPublishFailed.State!.Value, MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ErrorsNonNullableArray(clientVersionPublishFailed.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionPublishSuccessData clientVersionPublishSuccess) - { - if (!clientVersionPublishSuccess.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess(clientVersionPublishSuccess.__typename ?? throw new global::System.ArgumentNullException(), clientVersionPublishSuccess.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) - { - if (!operationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) - { - if (!processingTaskApproved.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved(processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException(), processingTaskApproved.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) - { - if (!processingTaskIsQueued.QueuePosition.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued(processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady(processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) - { - if (!waitForApproval.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval(waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), waitForApproval.State!.Value, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var clientVersionPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishErrorData child in list) - { - clientVersionPublishErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors(child)); - } - - return clientVersionPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) - { - persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries returnValue = default !; - if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) - { - persistedQueryErrors.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors returnValue = default !; - if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) - { - persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations returnValue = default !; - if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(openApiCollectionDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(schemaDeployment.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var clientDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) - { - clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); - } - - return clientDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) - { - fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); - } - - return fusionConfigurationDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) - { - directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) - { - if (!directiveLocationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationAdded.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) - { - if (!directiveLocationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationRemoved.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) - { - argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) - { - enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) - { - if (!enumValueAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) - { - if (!enumValueChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) - { - if (!enumValueRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) - { - enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) - { - inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) - { - if (!inputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) - { - inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) - { - interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) - { - if (!possibleTypeAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) - { - if (!possibleTypeRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) - { - outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) - { - objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) - { - scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) - { - unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) - { - if (!unionMemberAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) - { - if (!unionMemberRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) - { - graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; - if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) - { - openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; - if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) - { - openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) - { - openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) - { - openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) - { - openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); - } - - return openApiCollectionDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) - { - schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); - } - - return schemaDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) - { - if (!schemaVersionSyntaxError.Column.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Position.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Line.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdatedResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public OnClientVersionPublishUpdatedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishResultData onClientVersionPublishingUpdate) - { - OnClientVersionPublishingUpdate = onClientVersionPublishingUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishResultData OnClientVersionPublishingUpdate { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new OnClientVersionPublishUpdatedResultInfo(OnClientVersionPublishingUpdate); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListClientCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryResult); - - public ListClientCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListClientCommandQueryResultInfo info) - { - return new ListClientCommandQueryResult(MapIListClientCommandQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("ListClientCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node? MapIListClientCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IListClientCommandQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Api(MapIListClientCommandQuery_Node_Clients(api.Clients)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Client(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Environment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Workspace(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients? MapIListClientCommandQuery_Node_Clients(global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? data) - { - if (data is null) - { - return null; - } - - IListClientCommandQuery_Node_Clients returnValue = default !; - if (data?.__typename.Equals("ClientsConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListClientCommandQuery_Node_Clients_ClientsConnection(MapIListClientCommandQuery_Node_Clients_EdgesNonNullableArray(data.Edges), MapNonNullableIListClientCommandQuery_Node_Clients_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIListClientCommandQuery_Node_Clients_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var clientsEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData child in list) - { - clientsEdges.Add(MapNonNullableIListClientCommandQuery_Node_Clients_Edges(child)); - } - - return clientsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges MapNonNullableIListClientCommandQuery_Node_Clients_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData data) - { - IListClientCommandQuery_Node_Clients_Edges returnValue = default !; - if (data.__typename.Equals("ClientsEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ListClientCommandQuery_Node_Clients_Edges_ClientsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListClientCommandQuery_Node_Clients_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges_Node MapNonNullableIListClientCommandQuery_Node_Clients_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData data) - { - IListClientCommandQuery_Node_Clients_Edges_Node returnValue = default !; - if (data.__typename.Equals("Client", global::System.StringComparison.Ordinal)) - { - returnValue = new ListClientCommandQuery_Node_Clients_Edges_Node_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapIShowClientCommandQuery_Node_Api_1(data.Api), MapIShowClientCommandQuery_Node_Versions(data.Versions)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? MapIShowClientCommandQuery_Node_Api_1(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Api_1 returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? MapIShowClientCommandQuery_Node_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions returnValue = default !; - if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_ClientVersionConnection(MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) - { - clientVersionEdges.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) - { - IShowClientCommandQuery_Node_Versions_Edges returnValue = default !; - if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node returnValue = default !; - if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) - { - publishedClientVersions.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo returnValue = default !; - if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; - if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IShowClientCommandQuery_Node_Versions_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_PageInfo MapNonNullableIListClientCommandQuery_Node_Clients_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IListClientCommandQuery_Node_Clients_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ListClientCommandQuery_Node_Clients_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListClientCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ShowApiCommandQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreateClientCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationResult); + + public CreateClientCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreateClientCommandMutationResultInfo info) + { + return new CreateClientCommandMutationResult(MapNonNullableICreateClientCommandMutation_CreateClient(info.CreateClient)); + } + + throw new global::System.ArgumentException("CreateClientCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient MapNonNullableICreateClientCommandMutation_CreateClient(global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData data) + { + ICreateClientCommandMutation_CreateClient returnValue = default !; + if (data.__typename.Equals("CreateClientPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_CreateClientPayload(MapICreateClientCommandMutation_CreateClient_Client(data.Client), MapICreateClientCommandMutation_CreateClient_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client? MapICreateClientCommandMutation_CreateClient_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Client(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException(), MapICreateClientCommandMutation_CreateClient_Client_Api(data.Api), MapICreateClientCommandMutation_CreateClient_Client_Versions(data.Versions)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? MapICreateClientCommandMutation_CreateClient_Client_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Api returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? MapICreateClientCommandMutation_CreateClient_Client_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions returnValue = default !; + if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection(MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) + { + clientVersionEdges.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges returnValue = default !; + if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node returnValue = default !; + if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) + { + publishedClientVersions.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo returnValue = default !; + if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; + if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateClientCommandMutation_CreateClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var createClientErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientErrorData child in list) + { + createClientErrors.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Errors(child)); + } + + return createClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Errors MapNonNullableICreateClientCommandMutation_CreateClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientErrorData data) + { + ICreateClientCommandMutation_CreateClient_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreateClientCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData createClient) + { + CreateClient = createClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData CreateClient { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreateClientCommandMutationResultInfo(CreateClient); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public DeleteClientByIdCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutationResult); + + public DeleteClientByIdCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is DeleteClientByIdCommandMutationResultInfo info) + { + return new DeleteClientByIdCommandMutationResult(MapNonNullableIDeleteClientByIdCommandMutation_DeleteClientById(info.DeleteClientById)); + } + + throw new global::System.ArgumentException("DeleteClientByIdCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById MapNonNullableIDeleteClientByIdCommandMutation_DeleteClientById(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData data) + { + IDeleteClientByIdCommandMutation_DeleteClientById returnValue = default !; + if (data.__typename.Equals("DeleteClientByIdPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new DeleteClientByIdCommandMutation_DeleteClientById_DeleteClientByIdPayload(MapIDeleteClientByIdCommandMutation_DeleteClientById_Client(data.Client), MapIDeleteClientByIdCommandMutation_DeleteClientById_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Client? MapIDeleteClientByIdCommandMutation_DeleteClientById_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IDeleteClientByIdCommandMutation_DeleteClientById_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new DeleteClientByIdCommandMutation_DeleteClientById_Client_Client(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException(), MapICreateClientCommandMutation_CreateClient_Client_Api(data.Api), MapICreateClientCommandMutation_CreateClient_Client_Versions(data.Versions)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? MapICreateClientCommandMutation_CreateClient_Client_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Api returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? MapICreateClientCommandMutation_CreateClient_Client_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions returnValue = default !; + if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection(MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) + { + clientVersionEdges.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges returnValue = default !; + if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node returnValue = default !; + if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) + { + publishedClientVersions.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo returnValue = default !; + if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; + if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIDeleteClientByIdCommandMutation_DeleteClientById_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var deleteClientByIdErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdErrorData child in list) + { + deleteClientByIdErrors.Add(MapNonNullableIDeleteClientByIdCommandMutation_DeleteClientById_Errors(child)); + } + + return deleteClientByIdErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteClientByIdCommandMutation_DeleteClientById_Errors MapNonNullableIDeleteClientByIdCommandMutation_DeleteClientById_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdErrorData data) + { + IDeleteClientByIdCommandMutation_DeleteClientById_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdCommandMutation_DeleteClientById_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteClientByIdCommandMutation_DeleteClientById_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public DeleteClientByIdCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData deleteClientById) + { + DeleteClientById = deleteClientById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData DeleteClientById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new DeleteClientByIdCommandMutationResultInfo(DeleteClientById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListClientCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQueryResult); + + public ListClientCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListClientCommandQueryResultInfo info) + { + return new ListClientCommandQueryResult(MapIListClientCommandQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("ListClientCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node? MapIListClientCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IListClientCommandQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Api(MapIListClientCommandQuery_Node_Clients(api.Clients)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Client(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListClientCommandQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients? MapIListClientCommandQuery_Node_Clients(global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? data) + { + if (data is null) + { + return null; + } + + IListClientCommandQuery_Node_Clients returnValue = default !; + if (data?.__typename.Equals("ClientsConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListClientCommandQuery_Node_Clients_ClientsConnection(MapIListClientCommandQuery_Node_Clients_EdgesNonNullableArray(data.Edges), MapNonNullableIListClientCommandQuery_Node_Clients_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListClientCommandQuery_Node_Clients_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var clientsEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData child in list) + { + clientsEdges.Add(MapNonNullableIListClientCommandQuery_Node_Clients_Edges(child)); + } + + return clientsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges MapNonNullableIListClientCommandQuery_Node_Clients_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData data) + { + IListClientCommandQuery_Node_Clients_Edges returnValue = default !; + if (data.__typename.Equals("ClientsEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListClientCommandQuery_Node_Clients_Edges_ClientsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListClientCommandQuery_Node_Clients_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_Edges_Node MapNonNullableIListClientCommandQuery_Node_Clients_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData data) + { + IListClientCommandQuery_Node_Clients_Edges_Node returnValue = default !; + if (data.__typename.Equals("Client", global::System.StringComparison.Ordinal)) + { + returnValue = new ListClientCommandQuery_Node_Clients_Edges_Node_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapICreateClientCommandMutation_CreateClient_Client_Api(data.Api), MapICreateClientCommandMutation_CreateClient_Client_Versions(data.Versions)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? MapICreateClientCommandMutation_CreateClient_Client_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Api returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? MapICreateClientCommandMutation_CreateClient_Client_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions returnValue = default !; + if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection(MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) + { + clientVersionEdges.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges returnValue = default !; + if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node returnValue = default !; + if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) + { + publishedClientVersions.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo returnValue = default !; + if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; + if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListClientCommandQuery_Node_Clients_PageInfo MapNonNullableIListClientCommandQuery_Node_Clients_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListClientCommandQuery_Node_Clients_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListClientCommandQuery_Node_Clients_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListClientCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListClientCommandQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CreateClientCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutationResult); - - public CreateClientCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CreateClientCommandMutationResultInfo info) - { - return new CreateClientCommandMutationResult(MapNonNullableICreateClientCommandMutation_CreateClient(info.CreateClient)); - } - - throw new global::System.ArgumentException("CreateClientCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient MapNonNullableICreateClientCommandMutation_CreateClient(global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData data) - { - ICreateClientCommandMutation_CreateClient returnValue = default !; - if (data.__typename.Equals("CreateClientPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateClientCommandMutation_CreateClient_CreateClientPayload(MapICreateClientCommandMutation_CreateClient_Client(data.Client), MapICreateClientCommandMutation_CreateClient_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client? MapICreateClientCommandMutation_CreateClient_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - ICreateClientCommandMutation_CreateClient_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new CreateClientCommandMutation_CreateClient_Client_Client(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException(), MapIShowClientCommandQuery_Node_Api_1(data.Api), MapIShowClientCommandQuery_Node_Versions(data.Versions)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? MapIShowClientCommandQuery_Node_Api_1(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Api_1 returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? MapIShowClientCommandQuery_Node_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions returnValue = default !; - if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_ClientVersionConnection(MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) - { - clientVersionEdges.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) - { - IShowClientCommandQuery_Node_Versions_Edges returnValue = default !; - if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node returnValue = default !; - if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) - { - publishedClientVersions.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo returnValue = default !; - if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; - if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IShowClientCommandQuery_Node_Versions_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateClientCommandMutation_CreateClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var createClientErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientErrorData child in list) - { - createClientErrors.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Errors(child)); - } - - return createClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Errors MapNonNullableICreateClientCommandMutation_CreateClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientErrorData data) - { - ICreateClientCommandMutation_CreateClient_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateClientCommandMutation_CreateClient_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateClientCommandMutation_CreateClient_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CreateClientCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData createClient) - { - CreateClient = createClient; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData CreateClient { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CreateClientCommandMutationResultInfo(CreateClient); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ShowApiCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQueryResult); - - public ShowApiCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ShowApiCommandQueryResultInfo info) - { - return new ShowApiCommandQueryResult(MapIShowApiCommandQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("ShowApiCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node? MapIShowApiCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IShowApiCommandQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Api(api.Id ?? throw new global::System.ArgumentNullException(), api.Name ?? throw new global::System.ArgumentNullException(), api.Path ?? throw new global::System.ArgumentNullException(), MapIShowApiCommandQuery_Node_Workspace_1(api.Workspace), MapNonNullableIShowApiCommandQuery_Node_Settings(api.Settings)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Client(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Environment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_Workspace(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowApiCommandQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? MapIShowApiCommandQuery_Node_Workspace_1(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IShowApiCommandQuery_Node_Workspace_1 returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowApiCommandQuery_Node_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings MapNonNullableIShowApiCommandQuery_Node_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) - { - IShowApiCommandQuery_Node_Settings returnValue = default !; - if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_ApiSettings(MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) - { - IShowApiCommandQuery_Node_Settings_SchemaRegistry returnValue = default !; - if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ShowApiCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListClientCommandQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersionResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public PublishClientVersionResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersionResult); + + public PublishClientVersionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is PublishClientVersionResultInfo info) + { + return new PublishClientVersionResult(MapNonNullableIPublishClientVersion_PublishClient(info.PublishClient)); + } + + throw new global::System.ArgumentException("PublishClientVersionResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient MapNonNullableIPublishClientVersion_PublishClient(global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData data) + { + IPublishClientVersion_PublishClient returnValue = default !; + if (data.__typename.Equals("PublishClientPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new PublishClientVersion_PublishClient_PublishClientPayload(data.Id, MapIPublishClientVersion_PublishClient_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIPublishClientVersion_PublishClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var publishClientErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientErrorData child in list) + { + publishClientErrors.Add(MapNonNullableIPublishClientVersion_PublishClient_Errors(child)); + } + + return publishClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishClientVersion_PublishClient_Errors MapNonNullableIPublishClientVersion_PublishClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientErrorData data) + { + IPublishClientVersion_PublishClient_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersion_PublishClient_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersion_PublishClient_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersion_PublishClient_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionNotFoundErrorData clientVersionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishClientVersion_PublishClient_Errors_ClientVersionNotFoundError(clientVersionNotFoundError.Tag ?? throw new global::System.ArgumentNullException(), clientVersionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientVersionNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersionResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public PublishClientVersionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData publishClient) + { + PublishClient = publishClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData PublishClient { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new PublishClientVersionResultInfo(PublishClient); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdatedResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public OnClientVersionPublishUpdatedResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdatedResult); + + public OnClientVersionPublishUpdatedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is OnClientVersionPublishUpdatedResultInfo info) + { + return new OnClientVersionPublishUpdatedResult(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate(info.OnClientVersionPublishingUpdate)); + } + + throw new global::System.ArgumentException("OnClientVersionPublishUpdatedResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishResultData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionPublishFailedData clientVersionPublishFailed) + { + if (!clientVersionPublishFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishFailed(clientVersionPublishFailed.__typename ?? throw new global::System.ArgumentNullException(), clientVersionPublishFailed.State!.Value, MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ErrorsNonNullableArray(clientVersionPublishFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionPublishSuccessData clientVersionPublishSuccess) + { + if (!clientVersionPublishSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ClientVersionPublishSuccess(clientVersionPublishSuccess.__typename ?? throw new global::System.ArgumentNullException(), clientVersionPublishSuccess.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) + { + if (!processingTaskApproved.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskApproved(processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException(), processingTaskApproved.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) + { + if (!processingTaskIsQueued.QueuePosition.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsQueued(processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ProcessingTaskIsReady(processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) + { + if (!waitForApproval.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_WaitForApproval(waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), waitForApproval.State!.Value, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var clientVersionPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishErrorData child in list) + { + clientVersionPublishErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors(child)); + } + + return clientVersionPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_ReadyTimeoutError(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) + { + persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries returnValue = default !; + if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) + { + persistedQueryErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors returnValue = default !; + if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) + { + persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations returnValue = default !; + if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(mcpFeatureCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(openApiCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(schemaDeployment.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) + { + clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) + { + fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) + { + directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) + { + if (!directiveLocationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationAdded.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) + { + if (!directiveLocationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationRemoved.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) + { + argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) + { + enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) + { + if (!enumValueAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) + { + if (!enumValueChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) + { + if (!enumValueRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) + { + enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) + { + inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) + { + if (!inputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) + { + inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) + { + interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) + { + if (!possibleTypeAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) + { + if (!possibleTypeRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) + { + outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) + { + objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) + { + scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) + { + unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) + { + if (!unionMemberAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) + { + if (!unionMemberRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) + { + graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; + if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) + { + openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) + { + openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) + { + openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) + { + openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData child in list) + { + mcpFeatureCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(data.McpFeatureCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData child in list) + { + mcpFeatureCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData mcpFeatureCollectionValidationPrompt) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationPrompt.Errors), mcpFeatureCollectionValidationPrompt.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData mcpFeatureCollectionValidationTool) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationTool.Errors), mcpFeatureCollectionValidationTool.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData child in list) + { + mcpFeatureCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData mcpFeatureCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(mcpFeatureCollectionValidationDocumentError.Code, mcpFeatureCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(mcpFeatureCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData mcpFeatureCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(mcpFeatureCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData child in list) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData child in list) + { + mcpFeatureCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) + { + openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) + { + schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) + { + if (!schemaVersionSyntaxError.Column.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Position.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Line.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdatedResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public OnClientVersionPublishUpdatedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishResultData onClientVersionPublishingUpdate) + { + OnClientVersionPublishingUpdate = onClientVersionPublishingUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishResultData OnClientVersionPublishingUpdate { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new OnClientVersionPublishUpdatedResultInfo(OnClientVersionPublishingUpdate); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ShowClientCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQueryResult); + + public ShowClientCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ShowClientCommandQueryResultInfo info) + { + return new ShowClientCommandQueryResult(MapIShowClientCommandQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("ShowClientCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node? MapIShowClientCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IShowClientCommandQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Api(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Client(client.Id ?? throw new global::System.ArgumentNullException(), client.Name ?? throw new global::System.ArgumentNullException(), MapICreateClientCommandMutation_CreateClient_Client_Api(client.Api), MapICreateClientCommandMutation_CreateClient_Client_Versions(client.Versions)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowClientCommandQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? MapICreateClientCommandMutation_CreateClient_Client_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Api returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? MapICreateClientCommandMutation_CreateClient_Client_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions returnValue = default !; + if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection(MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) + { + clientVersionEdges.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges returnValue = default !; + if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node returnValue = default !; + if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) + { + publishedClientVersions.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo returnValue = default !; + if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; + if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ShowClientCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ShowApiCommandQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public DeleteApiCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQueryResult); - - public DeleteApiCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is DeleteApiCommandQueryResultInfo info) - { - return new DeleteApiCommandQueryResult(MapIDeleteApiCommandQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("DeleteApiCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node? MapIDeleteApiCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IDeleteApiCommandQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Api(api.Name ?? throw new global::System.ArgumentNullException(), api.Version ?? throw new global::System.ArgumentNullException(), MapIDeleteApiCommandQuery_Node_Workspace_1(api.Workspace)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Client(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Environment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_Workspace(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandQuery_Node_Workspace_1? MapIDeleteApiCommandQuery_Node_Workspace_1(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IDeleteApiCommandQuery_Node_Workspace_1 returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new DeleteApiCommandQuery_Node_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public DeleteApiCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ShowClientCommandQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClientResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public UnpublishClientResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClientResult); + + public UnpublishClientResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is UnpublishClientResultInfo info) + { + return new UnpublishClientResult(MapNonNullableIUnpublishClient_UnpublishClient(info.UnpublishClient)); + } + + throw new global::System.ArgumentException("UnpublishClientResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient MapNonNullableIUnpublishClient_UnpublishClient(global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData data) + { + IUnpublishClient_UnpublishClient returnValue = default !; + if (data.__typename.Equals("UnpublishClientPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new UnpublishClient_UnpublishClient_UnpublishClientPayload(MapIUnpublishClient_UnpublishClient_ClientVersion(data.ClientVersion), MapIUnpublishClient_UnpublishClient_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion? MapIUnpublishClient_UnpublishClient_ClientVersion(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? data) + { + if (data is null) + { + return null; + } + + IUnpublishClient_UnpublishClient_ClientVersion returnValue = default !; + if (data?.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UnpublishClient_UnpublishClient_ClientVersion_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), MapIUnpublishClient_UnpublishClient_ClientVersion_Client(data.Client)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_ClientVersion_Client? MapIUnpublishClient_UnpublishClient_ClientVersion_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IUnpublishClient_UnpublishClient_ClientVersion_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UnpublishClient_UnpublishClient_ClientVersion_Client_Client(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIUnpublishClient_UnpublishClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var unpublishClientErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientErrorData child in list) + { + unpublishClientErrors.Add(MapNonNullableIUnpublishClient_UnpublishClient_Errors(child)); + } + + return unpublishClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUnpublishClient_UnpublishClient_Errors MapNonNullableIUnpublishClient_UnpublishClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientErrorData data) + { + IUnpublishClient_UnpublishClient_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionNotFoundErrorData clientVersionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_ClientVersionNotFoundError(clientVersionNotFoundError.Tag ?? throw new global::System.ArgumentNullException(), clientVersionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientVersionNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UnpublishClient_UnpublishClient_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClientResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public UnpublishClientResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData unpublishClient) + { + UnpublishClient = unpublishClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData UnpublishClient { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new UnpublishClientResultInfo(UnpublishClient); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClientResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public UploadClientResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadClientResult); + + public UploadClientResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is UploadClientResultInfo info) + { + return new UploadClientResult(MapNonNullableIUploadClient_UploadClient(info.UploadClient)); + } + + throw new global::System.ArgumentException("UploadClientResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient MapNonNullableIUploadClient_UploadClient(global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData data) + { + IUploadClient_UploadClient returnValue = default !; + if (data.__typename.Equals("UploadClientPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new UploadClient_UploadClient_UploadClientPayload(MapIUploadClient_UploadClient_ClientVersion(data.ClientVersion), MapIUploadClient_UploadClient_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_ClientVersion? MapIUploadClient_UploadClient_ClientVersion(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? data) + { + if (data is null) + { + return null; + } + + IUploadClient_UploadClient_ClientVersion returnValue = default !; + if (data?.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UploadClient_UploadClient_ClientVersion_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIUploadClient_UploadClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var uploadClientErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientErrorData child in list) + { + uploadClientErrors.Add(MapNonNullableIUploadClient_UploadClient_Errors(child)); + } + + return uploadClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadClient_UploadClient_Errors MapNonNullableIUploadClient_UploadClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientErrorData data) + { + IUploadClient_UploadClient_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidPersistedQueryErrorData invalidPersistedQueryError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_InvalidPersistedQueryError(invalidPersistedQueryError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadClient_UploadClient_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClientResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public UploadClientResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData uploadClient) + { + UploadClient = uploadClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData UploadClient { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new UploadClientResultInfo(UploadClient); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersionResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ValidateClientVersionResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersionResult); + + public ValidateClientVersionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ValidateClientVersionResultInfo info) + { + return new ValidateClientVersionResult(MapNonNullableIValidateClientVersion_ValidateClient(info.ValidateClient)); + } + + throw new global::System.ArgumentException("ValidateClientVersionResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient MapNonNullableIValidateClientVersion_ValidateClient(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData data) + { + IValidateClientVersion_ValidateClient returnValue = default !; + if (data.__typename.Equals("ValidateClientPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new ValidateClientVersion_ValidateClient_ValidateClientPayload(data.Id, MapIValidateClientVersion_ValidateClient_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIValidateClientVersion_ValidateClient_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var validateClientErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientErrorData child in list) + { + validateClientErrors.Add(MapNonNullableIValidateClientVersion_ValidateClient_Errors(child)); + } + + return validateClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateClientVersion_ValidateClient_Errors MapNonNullableIValidateClientVersion_ValidateClient_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientErrorData data) + { + IValidateClientVersion_ValidateClient_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateClientVersion_ValidateClient_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData clientNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateClientVersion_ValidateClient_Errors_ClientNotFoundError(clientNotFoundError.Message ?? throw new global::System.ArgumentNullException(), clientNotFoundError.ClientId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateClientVersion_ValidateClient_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersionResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ValidateClientVersionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData validateClient) + { + ValidateClient = validateClient; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData ValidateClient { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ValidateClientVersionResultInfo(ValidateClient); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdatedResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public OnClientVersionValidationUpdatedResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdatedResult); + + public OnClientVersionValidationUpdatedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is OnClientVersionValidationUpdatedResultInfo info) + { + return new OnClientVersionValidationUpdatedResult(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate(info.OnClientVersionValidationUpdate)); + } + + throw new global::System.ArgumentException("OnClientVersionValidationUpdatedResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationResultData data) + { + IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionValidationFailedData clientVersionValidationFailed) + { + if (!clientVersionValidationFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationFailed(clientVersionValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), clientVersionValidationFailed.State!.Value, MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ErrorsNonNullableArray(clientVersionValidationFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionValidationSuccessData clientVersionValidationSuccess) + { + if (!clientVersionValidationSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ClientVersionValidationSuccess(clientVersionValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), clientVersionValidationSuccess.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) + { + if (!validationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ValidationInProgress(validationInProgress.__typename ?? throw new global::System.ArgumentNullException(), validationInProgress.State!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var clientVersionValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationErrorData child in list) + { + clientVersionValidationErrors.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors(child)); + } + + return clientVersionValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationErrorData data) + { + IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_ReadyTimeoutError(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) + { + persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries returnValue = default !; + if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) + { + persistedQueryErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors returnValue = default !; + if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) + { + persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations returnValue = default !; + if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdatedResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public OnClientVersionValidationUpdatedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationResultData onClientVersionValidationUpdate) + { + OnClientVersionValidationUpdate = onClientVersionValidationUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationResultData OnClientVersionValidationUpdate { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new OnClientVersionValidationUpdatedResultInfo(OnClientVersionValidationUpdate); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreateEnvironmentCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationResult); + + public CreateEnvironmentCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreateEnvironmentCommandMutationResultInfo info) + { + return new CreateEnvironmentCommandMutationResult(MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges(info.PushWorkspaceChanges)); + } + + throw new global::System.ArgumentException("CreateEnvironmentCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges(global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData data) + { + ICreateEnvironmentCommandMutation_PushWorkspaceChanges returnValue = default !; + if (data.__typename.Equals("PushWorkspaceChangesPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload(MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(data.Changes), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var workspaceChangePayloads = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData child in list) + { + workspaceChangePayloads.Add(MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes(child)); + } + + return workspaceChangePayloads; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData data) + { + ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes returnValue = default !; + if (data.__typename.Equals("WorkspaceChangePayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload(data.ReferenceId ?? throw new global::System.ArgumentNullException(), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error(data.Error), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result(data.Result)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error(global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? data) + { + if (data is null) + { + return null; + } + + ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ChangeValidationFailedData changeValidationFailed) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed(changeValidationFailed.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenChangedConflictData hasBeenChangedConflict) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict(hasBeenChangedConflict.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenDeletedConflictData hasBeenDeletedConflict) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict(hasBeenDeletedConflict.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.IdentifierCollisionConflictData identifierCollisionConflict) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict(identifierCollisionConflict.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedErrorOnChangeData unexpectedErrorOnChange) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange(unexpectedErrorOnChange.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundForChangeData workspaceNotFoundForChange) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange(workspaceNotFoundForChange.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result(global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? data) + { + if (data is null) + { + return null; + } + + ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment(environment.Name ?? throw new global::System.ArgumentNullException(), environment.Id ?? throw new global::System.ArgumentNullException(), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(environment.Workspace)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var pushWorkspaceChangesErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData child in list) + { + pushWorkspaceChangesErrors.Add(MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors(child)); + } + + return pushWorkspaceChangesErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData data) + { + ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ChangeStructureInvalidData changeStructureInvalid) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid(changeStructureInvalid.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreateEnvironmentCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData pushWorkspaceChanges) + { + PushWorkspaceChanges = pushWorkspaceChanges; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData PushWorkspaceChanges { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreateEnvironmentCommandMutationResultInfo(PushWorkspaceChanges); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListEnvironmentCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryResult); + + public ListEnvironmentCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListEnvironmentCommandQueryResultInfo info) + { + return new ListEnvironmentCommandQueryResult(MapIListEnvironmentCommandQuery_WorkspaceById(info.WorkspaceById)); + } + + throw new global::System.ArgumentException("ListEnvironmentCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById? MapIListEnvironmentCommandQuery_WorkspaceById(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + IListEnvironmentCommandQuery_WorkspaceById returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Workspace(MapIListEnvironmentCommandQuery_WorkspaceById_Environments(data.Environments)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments? MapIListEnvironmentCommandQuery_WorkspaceById_Environments(global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData? data) + { + if (data is null) + { + return null; + } + + IListEnvironmentCommandQuery_WorkspaceById_Environments returnValue = default !; + if (data?.__typename.Equals("EnvironmentsConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection(MapIListEnvironmentCommandQuery_WorkspaceById_Environments_EdgesNonNullableArray(data.Edges), MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListEnvironmentCommandQuery_WorkspaceById_Environments_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var environmentsEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsEdgeData child in list) + { + environmentsEdges.Add(MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges(child)); + } + + return environmentsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsEdgeData data) + { + IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges returnValue = default !; + if (data.__typename.Equals("EnvironmentsEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData data) + { + IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node returnValue = default !; + if (data.__typename.Equals("Environment", global::System.StringComparison.Ordinal)) + { + returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(data.Workspace)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListEnvironmentCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspaceById) + { + WorkspaceById = workspaceById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? WorkspaceById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListEnvironmentCommandQueryResultInfo(WorkspaceById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ShowEnvironmentCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryResult); + + public ShowEnvironmentCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ShowEnvironmentCommandQueryResultInfo info) + { + return new ShowEnvironmentCommandQueryResult(MapIShowEnvironmentCommandQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("ShowEnvironmentCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQuery_Node? MapIShowEnvironmentCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IShowEnvironmentCommandQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Api(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Client(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Environment(environment.Id ?? throw new global::System.ArgumentNullException(), environment.Name ?? throw new global::System.ArgumentNullException(), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(environment.Workspace)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ShowEnvironmentCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new DeleteApiCommandQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public DeleteApiCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutationResult); - - public DeleteApiCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is DeleteApiCommandMutationResultInfo info) - { - return new DeleteApiCommandMutationResult(MapNonNullableIDeleteApiCommandMutation_DeleteApiById(info.DeleteApiById)); - } - - throw new global::System.ArgumentException("DeleteApiCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById MapNonNullableIDeleteApiCommandMutation_DeleteApiById(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData data) - { - IDeleteApiCommandMutation_DeleteApiById returnValue = default !; - if (data.__typename.Equals("DeleteApiByIdPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new DeleteApiCommandMutation_DeleteApiById_DeleteApiByIdPayload(MapIDeleteApiCommandMutation_DeleteApiById_Api(data.Api), MapIDeleteApiCommandMutation_DeleteApiById_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Api? MapIDeleteApiCommandMutation_DeleteApiById_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - IDeleteApiCommandMutation_DeleteApiById_Api returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new DeleteApiCommandMutation_DeleteApiById_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException(), MapIShowApiCommandQuery_Node_Workspace_1(data.Workspace), MapNonNullableIShowApiCommandQuery_Node_Settings(data.Settings ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? MapIShowApiCommandQuery_Node_Workspace_1(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IShowApiCommandQuery_Node_Workspace_1 returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowApiCommandQuery_Node_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings MapNonNullableIShowApiCommandQuery_Node_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) - { - IShowApiCommandQuery_Node_Settings returnValue = default !; - if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_ApiSettings(MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) - { - IShowApiCommandQuery_Node_Settings_SchemaRegistry returnValue = default !; - if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIDeleteApiCommandMutation_DeleteApiById_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var deleteApiByIdErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiByIdErrorData child in list) - { - deleteApiByIdErrors.Add(MapNonNullableIDeleteApiCommandMutation_DeleteApiById_Errors(child)); - } - - return deleteApiByIdErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiCommandMutation_DeleteApiById_Errors MapNonNullableIDeleteApiCommandMutation_DeleteApiById_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiByIdErrorData data) - { - IDeleteApiCommandMutation_DeleteApiById_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandMutation_DeleteApiById_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandMutation_DeleteApiById_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDeletionFailedErrorData apiDeletionFailedError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiCommandMutation_DeleteApiById_Errors_ApiDeletionFailedError(apiDeletionFailedError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public DeleteApiCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData deleteApiById) - { - DeleteApiById = deleteApiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData DeleteApiById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new DeleteApiCommandMutationResultInfo(DeleteApiById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListApiCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQueryResult); - - public ListApiCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListApiCommandQueryResultInfo info) - { - return new ListApiCommandQueryResult(MapIListApiCommandQuery_WorkspaceById(info.WorkspaceById)); - } - - throw new global::System.ArgumentException("ListApiCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById? MapIListApiCommandQuery_WorkspaceById(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListApiCommandQuery_WorkspaceById returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListApiCommandQuery_WorkspaceById_Workspace(MapIListApiCommandQuery_WorkspaceById_Apis(data.Apis)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis? MapIListApiCommandQuery_WorkspaceById_Apis(global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? data) - { - if (data is null) - { - return null; - } - - IListApiCommandQuery_WorkspaceById_Apis returnValue = default !; - if (data?.__typename.Equals("ApisConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListApiCommandQuery_WorkspaceById_Apis_ApisConnection(MapIListApiCommandQuery_WorkspaceById_Apis_EdgesNonNullableArray(data.Edges), MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIListApiCommandQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var apisEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData child in list) - { - apisEdges.Add(MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges(child)); - } - - return apisEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData data) - { - IListApiCommandQuery_WorkspaceById_Apis_Edges returnValue = default !; - if (data.__typename.Equals("ApisEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ListApiCommandQuery_WorkspaceById_Apis_Edges_ApisEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_Edges_Node MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData data) - { - IListApiCommandQuery_WorkspaceById_Apis_Edges_Node returnValue = default !; - if (data.__typename.Equals("Api", global::System.StringComparison.Ordinal)) - { - returnValue = new ListApiCommandQuery_WorkspaceById_Apis_Edges_Node_Api(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException(), MapIShowApiCommandQuery_Node_Workspace_1(data.Workspace), MapNonNullableIShowApiCommandQuery_Node_Settings(data.Settings ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? MapIShowApiCommandQuery_Node_Workspace_1(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IShowApiCommandQuery_Node_Workspace_1 returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowApiCommandQuery_Node_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings MapNonNullableIShowApiCommandQuery_Node_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) - { - IShowApiCommandQuery_Node_Settings returnValue = default !; - if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_ApiSettings(MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) - { - IShowApiCommandQuery_Node_Settings_SchemaRegistry returnValue = default !; - if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiCommandQuery_WorkspaceById_Apis_PageInfo MapNonNullableIListApiCommandQuery_WorkspaceById_Apis_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IListApiCommandQuery_WorkspaceById_Apis_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ListApiCommandQuery_WorkspaceById_Apis_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListApiCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspaceById) - { - WorkspaceById = workspaceById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? WorkspaceById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListApiCommandQueryResultInfo(WorkspaceById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public SetApiSettingsCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutationResult); - - public SetApiSettingsCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is SetApiSettingsCommandMutationResultInfo info) - { - return new SetApiSettingsCommandMutationResult(MapNonNullableISetApiSettingsCommandMutation_UpdateApiSettings(info.UpdateApiSettings)); - } - - throw new global::System.ArgumentException("SetApiSettingsCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings MapNonNullableISetApiSettingsCommandMutation_UpdateApiSettings(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData data) - { - ISetApiSettingsCommandMutation_UpdateApiSettings returnValue = default !; - if (data.__typename.Equals("UpdateApiSettingsPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new SetApiSettingsCommandMutation_UpdateApiSettings_UpdateApiSettingsPayload(MapISetApiSettingsCommandMutation_UpdateApiSettings_Api(data.Api), MapISetApiSettingsCommandMutation_UpdateApiSettings_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Api? MapISetApiSettingsCommandMutation_UpdateApiSettings_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - ISetApiSettingsCommandMutation_UpdateApiSettings_Api returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SetApiSettingsCommandMutation_UpdateApiSettings_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException(), MapIShowApiCommandQuery_Node_Workspace_1(data.Workspace), MapNonNullableIShowApiCommandQuery_Node_Settings(data.Settings ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? MapIShowApiCommandQuery_Node_Workspace_1(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IShowApiCommandQuery_Node_Workspace_1 returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowApiCommandQuery_Node_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings MapNonNullableIShowApiCommandQuery_Node_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) - { - IShowApiCommandQuery_Node_Settings returnValue = default !; - if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_ApiSettings(MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) - { - IShowApiCommandQuery_Node_Settings_SchemaRegistry returnValue = default !; - if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapISetApiSettingsCommandMutation_UpdateApiSettings_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var updateApiSettingsErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsErrorData child in list) - { - updateApiSettingsErrors.Add(MapNonNullableISetApiSettingsCommandMutation_UpdateApiSettings_Errors(child)); - } - - return updateApiSettingsErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISetApiSettingsCommandMutation_UpdateApiSettings_Errors MapNonNullableISetApiSettingsCommandMutation_UpdateApiSettings_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsErrorData data) - { - ISetApiSettingsCommandMutation_UpdateApiSettings_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.SetApiSettingsCommandMutation_UpdateApiSettings_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.SetApiSettingsCommandMutation_UpdateApiSettings_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public SetApiSettingsCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData updateApiSettings) - { - UpdateApiSettings = updateApiSettings; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData UpdateApiSettings { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new SetApiSettingsCommandMutationResultInfo(UpdateApiSettings); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CreateApiCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutationResult); - - public CreateApiCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CreateApiCommandMutationResultInfo info) - { - return new CreateApiCommandMutationResult(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges(info.PushWorkspaceChanges)); - } - - throw new global::System.ArgumentException("CreateApiCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges(global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData data) - { - ICreateApiCommandMutation_PushWorkspaceChanges returnValue = default !; - if (data.__typename.Equals("PushWorkspaceChangesPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload(MapICreateApiCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(data.Changes), MapICreateApiCommandMutation_PushWorkspaceChanges_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateApiCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var workspaceChangePayloads = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData child in list) - { - workspaceChangePayloads.Add(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes(child)); - } - - return workspaceChangePayloads; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData data) - { - ICreateApiCommandMutation_PushWorkspaceChanges_Changes returnValue = default !; - if (data.__typename.Equals("WorkspaceChangePayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload(data.ReferenceId ?? throw new global::System.ArgumentNullException(), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error(data.Error), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result(data.Result)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error(global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? data) - { - if (data is null) - { - return null; - } - - ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Error? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ChangeValidationFailedData changeValidationFailed) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed(changeValidationFailed.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenChangedConflictData hasBeenChangedConflict) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict(hasBeenChangedConflict.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenDeletedConflictData hasBeenDeletedConflict) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict(hasBeenDeletedConflict.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.IdentifierCollisionConflictData identifierCollisionConflict) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict(identifierCollisionConflict.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedErrorOnChangeData unexpectedErrorOnChange) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange(unexpectedErrorOnChange.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundForChangeData workspaceNotFoundForChange) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange(workspaceNotFoundForChange.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result(global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? data) - { - if (data is null) - { - return null; - } - - ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Api(api.Name ?? throw new global::System.ArgumentNullException(), api.Id ?? throw new global::System.ArgumentNullException(), api.Path ?? throw new global::System.ArgumentNullException(), MapIShowApiCommandQuery_Node_Workspace_1(api.Workspace), MapNonNullableIShowApiCommandQuery_Node_Settings(api.Settings)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Environment(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? MapIShowApiCommandQuery_Node_Workspace_1(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IShowApiCommandQuery_Node_Workspace_1 returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowApiCommandQuery_Node_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings MapNonNullableIShowApiCommandQuery_Node_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) - { - IShowApiCommandQuery_Node_Settings returnValue = default !; - if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_ApiSettings(MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) - { - IShowApiCommandQuery_Node_Settings_SchemaRegistry returnValue = default !; - if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateApiCommandMutation_PushWorkspaceChanges_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var pushWorkspaceChangesErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData child in list) - { - pushWorkspaceChangesErrors.Add(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Errors(child)); - } - - return pushWorkspaceChangesErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Errors MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData data) - { - ICreateApiCommandMutation_PushWorkspaceChanges_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ChangeStructureInvalidData changeStructureInvalid) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid(changeStructureInvalid.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CreateApiCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData pushWorkspaceChanges) - { - PushWorkspaceChanges = pushWorkspaceChanges; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData PushWorkspaceChanges { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CreateApiCommandMutationResultInfo(PushWorkspaceChanges); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStagesResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public UpdateStagesResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesResult); - - public UpdateStagesResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is UpdateStagesResultInfo info) - { - return new UpdateStagesResult(MapNonNullableIUpdateStages_UpdateStages(info.UpdateStages)); - } - - throw new global::System.ArgumentException("UpdateStagesResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages MapNonNullableIUpdateStages_UpdateStages(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData data) - { - IUpdateStages_UpdateStages returnValue = default !; - if (data.__typename.Equals("UpdateStagesPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new UpdateStages_UpdateStages_UpdateStagesPayload(MapIUpdateStages_UpdateStages_Api(data.Api), MapIUpdateStages_UpdateStages_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api? MapIUpdateStages_UpdateStages_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - IUpdateStages_UpdateStages_Api returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UpdateStages_UpdateStages_Api_Api(MapNonNullableIUpdateStages_UpdateStages_Api_StagesNonNullableArray(data.Stages ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Api_StagesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var stages = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.StageData child in list) - { - stages.Add(MapNonNullableIUpdateStages_UpdateStages_Api_Stages(child)); - } - - return stages; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages MapNonNullableIUpdateStages_UpdateStages_Api_Stages(global::ChilliCream.Nitro.CommandLine.Client.State.StageData data) - { - IUpdateStages_UpdateStages_Api_Stages returnValue = default !; - if (data.__typename.Equals("Stage", global::System.StringComparison.Ordinal)) - { - returnValue = new UpdateStages_UpdateStages_Api_Stages_Stage(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.DisplayName ?? throw new global::System.ArgumentNullException(), MapNonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(data.Conditions ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var stageConditions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData child in list) - { - stageConditions.Add(MapNonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(child)); - } - - return stageConditions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions MapNonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData data) - { - IUpdateStages_UpdateStages_Api_Stages_Conditions? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.AfterStageConditionData afterStageCondition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition(MapIUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(afterStageCondition.AfterStage)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? MapIUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) - { - if (data is null) - { - return null; - } - - IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage returnValue = default !; - if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIUpdateStages_UpdateStages_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var updateStagesErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesErrorData child in list) - { - updateStagesErrors.Add(MapNonNullableIUpdateStages_UpdateStages_Errors(child)); - } - - return updateStagesErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors MapNonNullableIUpdateStages_UpdateStages_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesErrorData data) - { - IUpdateStages_UpdateStages_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StagesHavePublishedDependenciesErrorData stagesHavePublishedDependenciesError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError(stagesHavePublishedDependenciesError.__typename ?? throw new global::System.ArgumentNullException(), stagesHavePublishedDependenciesError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIUpdateStages_UpdateStages_Errors_StagesNonNullableArray(stagesHavePublishedDependenciesError.Stages)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageValidationErrorData stageValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Errors_StageValidationError(stageValidationError.Message ?? throw new global::System.ArgumentNullException(), stageValidationError.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Errors_StagesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var stages = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.StageData child in list) - { - stages.Add(MapNonNullableIUpdateStages_UpdateStages_Errors_Stages(child)); - } - - return stages; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages MapNonNullableIUpdateStages_UpdateStages_Errors_Stages(global::ChilliCream.Nitro.CommandLine.Client.State.StageData data) - { - IUpdateStages_UpdateStages_Errors_Stages returnValue = default !; - if (data.__typename.Equals("Stage", global::System.StringComparison.Ordinal)) - { - returnValue = new UpdateStages_UpdateStages_Errors_Stages_Stage(data.Name ?? throw new global::System.ArgumentNullException(), MapIUpdateStages_UpdateStages_Errors_Stages_PublishedSchema(data.PublishedSchema), MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClientsNonNullableArray(data.PublishedClients ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema? MapIUpdateStages_UpdateStages_Errors_Stages_PublishedSchema(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData? data) - { - if (data is null) - { - return null; - } - - IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema returnValue = default !; - if (data?.__typename.Equals("PublishedSchemaVersion", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion(MapIUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version(data.Version)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version? MapIUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? data) - { - if (data is null) - { - return null; - } - - IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version returnValue = default !; - if (data?.__typename.Equals("SchemaVersion", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion(data.Tag ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClientsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClients = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientData child in list) - { - publishedClients.Add(MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients(child)); - } - - return publishedClients; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientData data) - { - IUpdateStages_UpdateStages_Errors_Stages_PublishedClients returnValue = default !; - if (data.__typename.Equals("PublishedClient", global::System.StringComparison.Ordinal)) - { - returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient(MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client(data.Client ?? throw new global::System.ArgumentNullException()), MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersionsNonNullableArray(data.PublishedVersions ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData data) - { - IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client returnValue = default !; - if (data.__typename.Equals("Client", global::System.StringComparison.Ordinal)) - { - returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) - { - publishedClientVersions.Add(MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) - { - IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions returnValue = default !; - if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion(MapIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version(data.Version)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version? MapIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? data) - { - if (data is null) - { - return null; - } - - IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version returnValue = default !; - if (data?.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion(data.Tag ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStagesResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public UpdateStagesResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData updateStages) - { - UpdateStages = updateStages; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData UpdateStages { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new UpdateStagesResultInfo(UpdateStages); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListStagesQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryResult); - - public ListStagesQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListStagesQueryResultInfo info) - { - return new ListStagesQueryResult(MapIListStagesQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("ListStagesQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node? MapIListStagesQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IListStagesQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Api(MapNonNullableIListStagesQuery_Node_StagesNonNullableArray(api.Stages)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Client(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Environment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Workspace(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIListStagesQuery_Node_StagesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var stages = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.StageData child in list) - { - stages.Add(MapNonNullableIListStagesQuery_Node_Stages(child)); - } - - return stages; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node_Stages MapNonNullableIListStagesQuery_Node_Stages(global::ChilliCream.Nitro.CommandLine.Client.State.StageData data) - { - IListStagesQuery_Node_Stages returnValue = default !; - if (data.__typename.Equals("Stage", global::System.StringComparison.Ordinal)) - { - returnValue = new ListStagesQuery_Node_Stages_Stage(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.DisplayName ?? throw new global::System.ArgumentNullException(), MapNonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(data.Conditions ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var stageConditions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData child in list) - { - stageConditions.Add(MapNonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(child)); - } - - return stageConditions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions MapNonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData data) - { - IUpdateStages_UpdateStages_Api_Stages_Conditions? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.AfterStageConditionData afterStageCondition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition(MapIUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(afterStageCondition.AfterStage)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? MapIUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) - { - if (data is null) - { - return null; - } - - IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage returnValue = default !; - if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListStagesQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ShowEnvironmentCommandQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class FetchConfigurationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public FetchConfigurationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IFetchConfigurationResult); + + public FetchConfigurationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is FetchConfigurationResultInfo info) + { + return new FetchConfigurationResult(MapIFetchConfiguration_FusionConfigurationByApiId(info.FusionConfigurationByApiId)); + } + + throw new global::System.ArgumentException("FetchConfigurationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IFetchConfiguration_FusionConfigurationByApiId? MapIFetchConfiguration_FusionConfigurationByApiId(global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData? data) + { + if (data is null) + { + return null; + } + + IFetchConfiguration_FusionConfigurationByApiId returnValue = default !; + if (data?.__typename.Equals("FusionConfiguration", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new FetchConfiguration_FusionConfigurationByApiId_FusionConfiguration(data.DownloadUrl ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class FetchConfigurationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public FetchConfigurationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData? fusionConfigurationByApiId) + { + FusionConfigurationByApiId = fusionConfigurationByApiId; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData? FusionConfigurationByApiId { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new FetchConfigurationResultInfo(FusionConfigurationByApiId); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraphResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public UploadFusionSubgraphResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraphResult); + + public UploadFusionSubgraphResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is UploadFusionSubgraphResultInfo info) + { + return new UploadFusionSubgraphResult(MapNonNullableIUploadFusionSubgraph_UploadFusionSubgraph(info.UploadFusionSubgraph)); + } + + throw new global::System.ArgumentException("UploadFusionSubgraphResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph MapNonNullableIUploadFusionSubgraph_UploadFusionSubgraph(global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData data) + { + IUploadFusionSubgraph_UploadFusionSubgraph returnValue = default !; + if (data.__typename.Equals("UploadFusionSubgraphPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new UploadFusionSubgraph_UploadFusionSubgraph_UploadFusionSubgraphPayload(MapIUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion(data.FusionSubgraphVersion), MapIUploadFusionSubgraph_UploadFusionSubgraph_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion? MapIUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion(global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData? data) + { + if (data is null) + { + return null; + } + + IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion returnValue = default !; + if (data?.__typename.Equals("FusionSubgraphVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion_FusionSubgraphVersion(data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIUploadFusionSubgraph_UploadFusionSubgraph_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var uploadFusionSubgraphErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphErrorData child in list) + { + uploadFusionSubgraphErrors.Add(MapNonNullableIUploadFusionSubgraph_UploadFusionSubgraph_Errors(child)); + } + + return uploadFusionSubgraphErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadFusionSubgraph_UploadFusionSubgraph_Errors MapNonNullableIUploadFusionSubgraph_UploadFusionSubgraph_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphErrorData data) + { + IUploadFusionSubgraph_UploadFusionSubgraph_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidFusionSourceSchemaArchiveErrorData invalidFusionSourceSchemaArchiveError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_InvalidFusionSourceSchemaArchiveError(invalidFusionSourceSchemaArchiveError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadFusionSubgraph_UploadFusionSubgraph_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraphResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public UploadFusionSubgraphResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData uploadFusionSubgraph) + { + UploadFusionSubgraph = uploadFusionSubgraph; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData UploadFusionSubgraph { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new UploadFusionSubgraphResultInfo(UploadFusionSubgraph); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreateMcpFeatureCollectionCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutationResult); + + public CreateMcpFeatureCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreateMcpFeatureCollectionCommandMutationResultInfo info) + { + return new CreateMcpFeatureCollectionCommandMutationResult(MapNonNullableICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection(info.CreateMcpFeatureCollection)); + } + + throw new global::System.ArgumentException("CreateMcpFeatureCollectionCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection MapNonNullableICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.CreateMcpFeatureCollectionPayloadData data) + { + ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection returnValue = default !; + if (data.__typename.Equals("CreateMcpFeatureCollectionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_CreateMcpFeatureCollectionPayload(MapICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection(data.McpFeatureCollection), MapICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection? MapICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection_McpFeatureCollection(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var createMcpFeatureCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMcpFeatureCollectionErrorData child in list) + { + createMcpFeatureCollectionErrors.Add(MapNonNullableICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors(child)); + } + + return createMcpFeatureCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors MapNonNullableICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMcpFeatureCollectionErrorData data) + { + ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreateMcpFeatureCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateMcpFeatureCollectionPayloadData createMcpFeatureCollection) + { + CreateMcpFeatureCollection = createMcpFeatureCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CreateMcpFeatureCollectionPayloadData CreateMcpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreateMcpFeatureCollectionCommandMutationResultInfo(CreateMcpFeatureCollection); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public DeleteMcpFeatureCollectionByIdCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutationResult); + + public DeleteMcpFeatureCollectionByIdCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is DeleteMcpFeatureCollectionByIdCommandMutationResultInfo info) + { + return new DeleteMcpFeatureCollectionByIdCommandMutationResult(MapNonNullableIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById(info.DeleteMcpFeatureCollectionById)); + } + + throw new global::System.ArgumentException("DeleteMcpFeatureCollectionByIdCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById MapNonNullableIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteMcpFeatureCollectionByIdPayloadData data) + { + IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById returnValue = default !; + if (data.__typename.Equals("DeleteMcpFeatureCollectionByIdPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_DeleteMcpFeatureCollectionByIdPayload(MapIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection(data.McpFeatureCollection), MapIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection? MapIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection_McpFeatureCollection(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var deleteMcpFeatureCollectionByIdErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteMcpFeatureCollectionByIdErrorData child in list) + { + deleteMcpFeatureCollectionByIdErrors.Add(MapNonNullableIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors(child)); + } + + return deleteMcpFeatureCollectionByIdErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors MapNonNullableIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteMcpFeatureCollectionByIdErrorData data) + { + IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionNotFoundErrorData mcpFeatureCollectionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_McpFeatureCollectionNotFoundError(mcpFeatureCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionNotFoundError.McpFeatureCollectionId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public DeleteMcpFeatureCollectionByIdCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteMcpFeatureCollectionByIdPayloadData deleteMcpFeatureCollectionById) + { + DeleteMcpFeatureCollectionById = deleteMcpFeatureCollectionById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteMcpFeatureCollectionByIdPayloadData DeleteMcpFeatureCollectionById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new DeleteMcpFeatureCollectionByIdCommandMutationResultInfo(DeleteMcpFeatureCollectionById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListMcpFeatureCollectionCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQueryResult); + + public ListMcpFeatureCollectionCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListMcpFeatureCollectionCommandQueryResultInfo info) + { + return new ListMcpFeatureCollectionCommandQueryResult(MapIListMcpFeatureCollectionCommandQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("ListMcpFeatureCollectionCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node? MapIListMcpFeatureCollectionCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IListMcpFeatureCollectionCommandQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_Api(MapIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections(api.McpFeatureCollections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_Client(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListMcpFeatureCollectionCommandQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections? MapIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections(global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsConnectionData? data) + { + if (data is null) + { + return null; + } + + IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections returnValue = default !; + if (data?.__typename.Equals("ApiMcpFeatureCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_ApiMcpFeatureCollectionsConnection(MapIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_EdgesNonNullableArray(data.Edges), MapNonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var apiMcpFeatureCollectionsEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsEdgeData child in list) + { + apiMcpFeatureCollectionsEdges.Add(MapNonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges(child)); + } + + return apiMcpFeatureCollectionsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges MapNonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsEdgeData data) + { + IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges returnValue = default !; + if (data.__typename.Equals("ApiMcpFeatureCollectionsEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node MapNonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData data) + { + IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node returnValue = default !; + if (data.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo MapNonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListMcpFeatureCollectionCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListStagesQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListEnvironmentCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQueryResult); - - public ListEnvironmentCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListEnvironmentCommandQueryResultInfo info) - { - return new ListEnvironmentCommandQueryResult(MapIListEnvironmentCommandQuery_WorkspaceById(info.WorkspaceById)); - } - - throw new global::System.ArgumentException("ListEnvironmentCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById? MapIListEnvironmentCommandQuery_WorkspaceById(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListEnvironmentCommandQuery_WorkspaceById returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Workspace(MapIListEnvironmentCommandQuery_WorkspaceById_Environments(data.Environments)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments? MapIListEnvironmentCommandQuery_WorkspaceById_Environments(global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData? data) - { - if (data is null) - { - return null; - } - - IListEnvironmentCommandQuery_WorkspaceById_Environments returnValue = default !; - if (data?.__typename.Equals("EnvironmentsConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_EnvironmentsConnection(MapIListEnvironmentCommandQuery_WorkspaceById_Environments_EdgesNonNullableArray(data.Edges), MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIListEnvironmentCommandQuery_WorkspaceById_Environments_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var environmentsEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsEdgeData child in list) - { - environmentsEdges.Add(MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges(child)); - } - - return environmentsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsEdgeData data) - { - IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges returnValue = default !; - if (data.__typename.Equals("EnvironmentsEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_EnvironmentsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData data) - { - IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node returnValue = default !; - if (data.__typename.Equals("Environment", global::System.StringComparison.Ordinal)) - { - returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(data.Workspace)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? MapIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo MapNonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListEnvironmentCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspaceById) - { - WorkspaceById = workspaceById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? WorkspaceById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListEnvironmentCommandQueryResultInfo(WorkspaceById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ShowEnvironmentCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQueryResult); - - public ShowEnvironmentCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ShowEnvironmentCommandQueryResultInfo info) - { - return new ShowEnvironmentCommandQueryResult(MapIShowEnvironmentCommandQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("ShowEnvironmentCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowEnvironmentCommandQuery_Node? MapIShowEnvironmentCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IShowEnvironmentCommandQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Api(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Client(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Environment(environment.Id ?? throw new global::System.ArgumentNullException(), environment.Name ?? throw new global::System.ArgumentNullException(), MapIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(environment.Workspace)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_Workspace(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowEnvironmentCommandQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? MapIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ShowEnvironmentCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListMcpFeatureCollectionCommandQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public PublishMcpFeatureCollectionCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutationResult); + + public PublishMcpFeatureCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is PublishMcpFeatureCollectionCommandMutationResultInfo info) + { + return new PublishMcpFeatureCollectionCommandMutationResult(MapNonNullableIPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection(info.PublishMcpFeatureCollection)); + } + + throw new global::System.ArgumentException("PublishMcpFeatureCollectionCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection MapNonNullableIPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionPayloadData data) + { + IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection returnValue = default !; + if (data.__typename.Equals("PublishMcpFeatureCollectionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_PublishMcpFeatureCollectionPayload(data.Id, MapIPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var publishMcpFeatureCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionErrorData child in list) + { + publishMcpFeatureCollectionErrors.Add(MapNonNullableIPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors(child)); + } + + return publishMcpFeatureCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors MapNonNullableIPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionErrorData data) + { + IPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionNotFoundErrorData mcpFeatureCollectionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError(mcpFeatureCollectionNotFoundError.McpFeatureCollectionId ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionNotFoundErrorData mcpFeatureCollectionVersionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection_Errors_McpFeatureCollectionVersionNotFoundError(mcpFeatureCollectionVersionNotFoundError.Tag ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionVersionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionVersionNotFoundError.McpFeatureCollectionId ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public PublishMcpFeatureCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionPayloadData publishMcpFeatureCollection) + { + PublishMcpFeatureCollection = publishMcpFeatureCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionPayloadData PublishMcpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new PublishMcpFeatureCollectionCommandMutationResultInfo(PublishMcpFeatureCollection); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscriptionResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public PublishMcpFeatureCollectionCommandSubscriptionResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscriptionResult); + + public PublishMcpFeatureCollectionCommandSubscriptionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is PublishMcpFeatureCollectionCommandSubscriptionResultInfo info) + { + return new PublishMcpFeatureCollectionCommandSubscriptionResult(MapNonNullableIPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate(info.OnMcpFeatureCollectionVersionPublishingUpdate)); + } + + throw new global::System.ArgumentException("PublishMcpFeatureCollectionCommandSubscriptionResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate MapNonNullableIPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionPublishResultData data) + { + IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionPublishFailedData mcpFeatureCollectionVersionPublishFailed) + { + if (!mcpFeatureCollectionVersionPublishFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishFailed(mcpFeatureCollectionVersionPublishFailed.__typename ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionVersionPublishFailed.State!.Value, MapNonNullableIPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ErrorsNonNullableArray(mcpFeatureCollectionVersionPublishFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionPublishSuccessData mcpFeatureCollectionVersionPublishSuccess) + { + if (!mcpFeatureCollectionVersionPublishSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_McpFeatureCollectionVersionPublishSuccess(mcpFeatureCollectionVersionPublishSuccess.__typename ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionVersionPublishSuccess.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) + { + if (!processingTaskApproved.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskApproved(processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException(), processingTaskApproved.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) + { + if (!processingTaskIsQueued.QueuePosition.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsQueued(processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ProcessingTaskIsReady(processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) + { + if (!waitForApproval.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_WaitForApproval(waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), waitForApproval.State!.Value, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionVersionPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionPublishErrorData child in list) + { + mcpFeatureCollectionVersionPublishErrors.Add(MapNonNullableIPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors(child)); + } + + return mcpFeatureCollectionVersionPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors MapNonNullableIPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionPublishErrorData data) + { + IPublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData child in list) + { + mcpFeatureCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(data.McpFeatureCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData child in list) + { + mcpFeatureCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData mcpFeatureCollectionValidationPrompt) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationPrompt.Errors), mcpFeatureCollectionValidationPrompt.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData mcpFeatureCollectionValidationTool) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationTool.Errors), mcpFeatureCollectionValidationTool.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData child in list) + { + mcpFeatureCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData mcpFeatureCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(mcpFeatureCollectionValidationDocumentError.Code, mcpFeatureCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(mcpFeatureCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData mcpFeatureCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(mcpFeatureCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData child in list) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(mcpFeatureCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(openApiCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(schemaDeployment.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) + { + clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) + { + persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries returnValue = default !; + if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) + { + persistedQueryErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors returnValue = default !; + if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) + { + persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations returnValue = default !; + if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) + { + fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) + { + directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) + { + if (!directiveLocationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationAdded.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) + { + if (!directiveLocationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationRemoved.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) + { + argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) + { + enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) + { + if (!enumValueAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) + { + if (!enumValueChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) + { + if (!enumValueRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) + { + enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) + { + inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) + { + if (!inputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) + { + inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) + { + interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) + { + if (!possibleTypeAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) + { + if (!possibleTypeRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) + { + outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) + { + objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) + { + scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) + { + unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) + { + if (!unionMemberAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) + { + if (!unionMemberRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) + { + graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; + if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) + { + openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) + { + openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) + { + openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) + { + openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData child in list) + { + mcpFeatureCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) + { + openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) + { + schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) + { + if (!schemaVersionSyntaxError.Column.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Position.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Line.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscriptionResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public PublishMcpFeatureCollectionCommandSubscriptionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionPublishResultData onMcpFeatureCollectionVersionPublishingUpdate) + { + OnMcpFeatureCollectionVersionPublishingUpdate = onMcpFeatureCollectionVersionPublishingUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionPublishResultData OnMcpFeatureCollectionVersionPublishingUpdate { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new PublishMcpFeatureCollectionCommandSubscriptionResultInfo(OnMcpFeatureCollectionVersionPublishingUpdate); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public UploadMcpFeatureCollectionCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutationResult); + + public UploadMcpFeatureCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is UploadMcpFeatureCollectionCommandMutationResultInfo info) + { + return new UploadMcpFeatureCollectionCommandMutationResult(MapNonNullableIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection(info.UploadMcpFeatureCollection)); + } + + throw new global::System.ArgumentException("UploadMcpFeatureCollectionCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection MapNonNullableIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.UploadMcpFeatureCollectionPayloadData data) + { + IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection returnValue = default !; + if (data.__typename.Equals("UploadMcpFeatureCollectionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_UploadMcpFeatureCollectionPayload(MapIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion(data.McpFeatureCollectionVersion), MapIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion? MapIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData? data) + { + if (data is null) + { + return null; + } + + IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion_McpFeatureCollectionVersion(data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var uploadMcpFeatureCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadMcpFeatureCollectionErrorData child in list) + { + uploadMcpFeatureCollectionErrors.Add(MapNonNullableIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors(child)); + } + + return uploadMcpFeatureCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors MapNonNullableIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadMcpFeatureCollectionErrorData data) + { + IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionNotFoundErrorData mcpFeatureCollectionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError(mcpFeatureCollectionNotFoundError.McpFeatureCollectionId ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidMcpFeatureCollectionArchiveErrorData invalidMcpFeatureCollectionArchiveError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_Errors_InvalidMcpFeatureCollectionArchiveError(invalidMcpFeatureCollectionArchiveError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public UploadMcpFeatureCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadMcpFeatureCollectionPayloadData uploadMcpFeatureCollection) + { + UploadMcpFeatureCollection = uploadMcpFeatureCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UploadMcpFeatureCollectionPayloadData UploadMcpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new UploadMcpFeatureCollectionCommandMutationResultInfo(UploadMcpFeatureCollection); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ValidateMcpFeatureCollectionCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutationResult); + + public ValidateMcpFeatureCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ValidateMcpFeatureCollectionCommandMutationResultInfo info) + { + return new ValidateMcpFeatureCollectionCommandMutationResult(MapNonNullableIValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection(info.ValidateMcpFeatureCollection)); + } + + throw new global::System.ArgumentException("ValidateMcpFeatureCollectionCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection MapNonNullableIValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionPayloadData data) + { + IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection returnValue = default !; + if (data.__typename.Equals("ValidateMcpFeatureCollectionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ValidateMcpFeatureCollectionPayload(data.Id, MapIValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var validateMcpFeatureCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateMcpFeatureCollectionErrorData child in list) + { + validateMcpFeatureCollectionErrors.Add(MapNonNullableIValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors(child)); + } + + return validateMcpFeatureCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors MapNonNullableIValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateMcpFeatureCollectionErrorData data) + { + IValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionNotFoundErrorData mcpFeatureCollectionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_McpFeatureCollectionNotFoundError(mcpFeatureCollectionNotFoundError.McpFeatureCollectionId ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ValidateMcpFeatureCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionPayloadData validateMcpFeatureCollection) + { + ValidateMcpFeatureCollection = validateMcpFeatureCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionPayloadData ValidateMcpFeatureCollection { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ValidateMcpFeatureCollectionCommandMutationResultInfo(ValidateMcpFeatureCollection); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscriptionResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ValidateMcpFeatureCollectionCommandSubscriptionResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscriptionResult); + + public ValidateMcpFeatureCollectionCommandSubscriptionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ValidateMcpFeatureCollectionCommandSubscriptionResultInfo info) + { + return new ValidateMcpFeatureCollectionCommandSubscriptionResult(MapNonNullableIValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate(info.OnMcpFeatureCollectionVersionValidationUpdate)); + } + + throw new global::System.ArgumentException("ValidateMcpFeatureCollectionCommandSubscriptionResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate MapNonNullableIValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionValidationResultData data) + { + IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionValidationFailedData mcpFeatureCollectionVersionValidationFailed) + { + if (!mcpFeatureCollectionVersionValidationFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationFailed(mcpFeatureCollectionVersionValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionVersionValidationFailed.State!.Value, MapNonNullableIValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ErrorsNonNullableArray(mcpFeatureCollectionVersionValidationFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionValidationSuccessData mcpFeatureCollectionVersionValidationSuccess) + { + if (!mcpFeatureCollectionVersionValidationSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_McpFeatureCollectionVersionValidationSuccess(mcpFeatureCollectionVersionValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionVersionValidationSuccess.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) + { + if (!validationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ValidationInProgress(validationInProgress.__typename ?? throw new global::System.ArgumentNullException(), validationInProgress.State!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionVersionValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionValidationErrorData child in list) + { + mcpFeatureCollectionVersionValidationErrors.Add(MapNonNullableIValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors(child)); + } + + return mcpFeatureCollectionVersionValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors MapNonNullableIValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionValidationErrorData data) + { + IValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationArchiveErrorData mcpFeatureCollectionValidationArchiveError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationArchiveError(mcpFeatureCollectionValidationArchiveError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_ReadyTimeoutError(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateMcpFeatureCollectionCommandSubscription_OnMcpFeatureCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData child in list) + { + mcpFeatureCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(data.McpFeatureCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData child in list) + { + mcpFeatureCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData mcpFeatureCollectionValidationPrompt) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationPrompt.Errors), mcpFeatureCollectionValidationPrompt.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData mcpFeatureCollectionValidationTool) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationTool.Errors), mcpFeatureCollectionValidationTool.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData child in list) + { + mcpFeatureCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData mcpFeatureCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(mcpFeatureCollectionValidationDocumentError.Code, mcpFeatureCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(mcpFeatureCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData mcpFeatureCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(mcpFeatureCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData child in list) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscriptionResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ValidateMcpFeatureCollectionCommandSubscriptionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionValidationResultData onMcpFeatureCollectionVersionValidationUpdate) + { + OnMcpFeatureCollectionVersionValidationUpdate = onMcpFeatureCollectionVersionValidationUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionValidationResultData OnMcpFeatureCollectionVersionValidationUpdate { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ValidateMcpFeatureCollectionCommandSubscriptionResultInfo(OnMcpFeatureCollectionVersionValidationUpdate); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchemaResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreateMockSchemaResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchemaResult); + + public CreateMockSchemaResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreateMockSchemaResultInfo info) + { + return new CreateMockSchemaResult(MapNonNullableICreateMockSchema_CreateMockSchema(info.CreateMockSchema)); + } + + throw new global::System.ArgumentException("CreateMockSchemaResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema MapNonNullableICreateMockSchema_CreateMockSchema(global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData data) + { + ICreateMockSchema_CreateMockSchema returnValue = default !; + if (data.__typename.Equals("CreateMockSchemaPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_CreateMockSchemaPayload(MapICreateMockSchema_CreateMockSchema_MockSchema(data.MockSchema), MapICreateMockSchema_CreateMockSchema_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema? MapICreateMockSchema_CreateMockSchema_MockSchema(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? data) + { + if (data is null) + { + return null; + } + + ICreateMockSchema_CreateMockSchema_MockSchema returnValue = default !; + if (data?.__typename.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_MockSchema(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(data.CreatedBy ?? throw new global::System.ArgumentNullException()), data.ModifiedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(data.ModifiedBy ?? throw new global::System.ArgumentNullException()), data.DownstreamUrl ?? throw new global::System.ArgumentNullException(), data.Url ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) + { + ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy returnValue = default !; + if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) + { + ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy returnValue = default !; + if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateMockSchema_CreateMockSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var createMockSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMockSchemaErrorData child in list) + { + createMockSchemaErrors.Add(MapNonNullableICreateMockSchema_CreateMockSchema_Errors(child)); + } + + return createMockSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_Errors MapNonNullableICreateMockSchema_CreateMockSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMockSchemaErrorData data) + { + ICreateMockSchema_CreateMockSchema_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchema_CreateMockSchema_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNonUniqueNameErrorData mockSchemaNonUniqueNameError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchema_CreateMockSchema_Errors_MockSchemaNonUniqueNameError(mockSchemaNonUniqueNameError.__typename ?? throw new global::System.ArgumentNullException(), mockSchemaNonUniqueNameError.Message ?? throw new global::System.ArgumentNullException(), mockSchemaNonUniqueNameError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchema_CreateMockSchema_Errors_UnauthorizedOperation(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateMockSchema_CreateMockSchema_Errors_ValidationError(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchemaResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreateMockSchemaResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData createMockSchema) + { + CreateMockSchema = createMockSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData CreateMockSchema { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreateMockSchemaResultInfo(CreateMockSchema); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListMockCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQueryResult); + + public ListMockCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListMockCommandQueryResultInfo info) + { + return new ListMockCommandQueryResult(MapIListMockCommandQuery_ApiById(info.ApiById)); + } + + throw new global::System.ArgumentException("ListMockCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById? MapIListMockCommandQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + IListMockCommandQuery_ApiById returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListMockCommandQuery_ApiById_Api(MapIListMockCommandQuery_ApiById_MockSchemas(data.MockSchemas)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas? MapIListMockCommandQuery_ApiById_MockSchemas(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? data) + { + if (data is null) + { + return null; + } + + IListMockCommandQuery_ApiById_MockSchemas returnValue = default !; + if (data?.__typename.Equals("MockSchemasConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListMockCommandQuery_ApiById_MockSchemas_MockSchemasConnection(MapIListMockCommandQuery_ApiById_MockSchemas_EdgesNonNullableArray(data.Edges), MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListMockCommandQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mockSchemasEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData child in list) + { + mockSchemasEdges.Add(MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges(child)); + } + + return mockSchemasEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData data) + { + IListMockCommandQuery_ApiById_MockSchemas_Edges returnValue = default !; + if (data.__typename.Equals("MockSchemasEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListMockCommandQuery_ApiById_MockSchemas_Edges_MockSchemasEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_Edges_Node MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData data) + { + IListMockCommandQuery_ApiById_MockSchemas_Edges_Node returnValue = default !; + if (data.__typename.Equals("MockSchema", global::System.StringComparison.Ordinal)) + { + returnValue = new ListMockCommandQuery_ApiById_MockSchemas_Edges_Node_MockSchema(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(data.CreatedBy ?? throw new global::System.ArgumentNullException()), data.ModifiedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(data.ModifiedBy ?? throw new global::System.ArgumentNullException()), data.DownstreamUrl ?? throw new global::System.ArgumentNullException(), data.Url ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) + { + ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy returnValue = default !; + if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) + { + ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy returnValue = default !; + if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListMockCommandQuery_ApiById_MockSchemas_PageInfo MapNonNullableIListMockCommandQuery_ApiById_MockSchemas_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListMockCommandQuery_ApiById_MockSchemas_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListMockCommandQuery_ApiById_MockSchemas_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListMockCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListMockCommandQueryResultInfo(ApiById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchemaResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public UpdateMockSchemaResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchemaResult); + + public UpdateMockSchemaResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is UpdateMockSchemaResultInfo info) + { + return new UpdateMockSchemaResult(MapNonNullableIUpdateMockSchema_UpdateMockSchema(info.UpdateMockSchema)); + } + + throw new global::System.ArgumentException("UpdateMockSchemaResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema MapNonNullableIUpdateMockSchema_UpdateMockSchema(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData data) + { + IUpdateMockSchema_UpdateMockSchema returnValue = default !; + if (data.__typename.Equals("UpdateMockSchemaPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new UpdateMockSchema_UpdateMockSchema_UpdateMockSchemaPayload(MapIUpdateMockSchema_UpdateMockSchema_MockSchema(data.MockSchema), MapIUpdateMockSchema_UpdateMockSchema_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_MockSchema? MapIUpdateMockSchema_UpdateMockSchema_MockSchema(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? data) + { + if (data is null) + { + return null; + } + + IUpdateMockSchema_UpdateMockSchema_MockSchema returnValue = default !; + if (data?.__typename.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UpdateMockSchema_UpdateMockSchema_MockSchema_MockSchema(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(data.CreatedBy ?? throw new global::System.ArgumentNullException()), data.ModifiedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(data.ModifiedBy ?? throw new global::System.ArgumentNullException()), data.DownstreamUrl ?? throw new global::System.ArgumentNullException(), data.Url ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) + { + ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy returnValue = default !; + if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) + { + ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy returnValue = default !; + if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIUpdateMockSchema_UpdateMockSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var updateMockSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateMockSchemaErrorData child in list) + { + updateMockSchemaErrors.Add(MapNonNullableIUpdateMockSchema_UpdateMockSchema_Errors(child)); + } + + return updateMockSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateMockSchema_UpdateMockSchema_Errors MapNonNullableIUpdateMockSchema_UpdateMockSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateMockSchemaErrorData data) + { + IUpdateMockSchema_UpdateMockSchema_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNonUniqueNameErrorData mockSchemaNonUniqueNameError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNonUniqueNameError(mockSchemaNonUniqueNameError.__typename ?? throw new global::System.ArgumentNullException(), mockSchemaNonUniqueNameError.Message ?? throw new global::System.ArgumentNullException(), mockSchemaNonUniqueNameError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNotFoundErrorData mockSchemaNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchema_UpdateMockSchema_Errors_MockSchemaNotFoundError(mockSchemaNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), mockSchemaNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchema_UpdateMockSchema_Errors_UnauthorizedOperation(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateMockSchema_UpdateMockSchema_Errors_ValidationError(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchemaResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public UpdateMockSchemaResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData updateMockSchema) + { + UpdateMockSchema = updateMockSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData UpdateMockSchema { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new UpdateMockSchemaResultInfo(UpdateMockSchema); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreateOpenApiCollectionCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationResult); + + public CreateOpenApiCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreateOpenApiCollectionCommandMutationResultInfo info) + { + return new CreateOpenApiCollectionCommandMutationResult(MapNonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection(info.CreateOpenApiCollection)); + } + + throw new global::System.ArgumentException("CreateOpenApiCollectionCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection MapNonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData data) + { + ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection returnValue = default !; + if (data.__typename.Equals("CreateOpenApiCollectionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload(MapICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection(data.OpenApiCollection), MapICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection? MapICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var createOpenApiCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionErrorData child in list) + { + createOpenApiCollectionErrors.Add(MapNonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors(child)); + } + + return createOpenApiCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors MapNonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionErrorData data) + { + ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreateOpenApiCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData createOpenApiCollection) + { + CreateOpenApiCollection = createOpenApiCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData CreateOpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreateOpenApiCollectionCommandMutationResultInfo(CreateOpenApiCollection); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public DeleteOpenApiCollectionByIdCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationResult); + + public DeleteOpenApiCollectionByIdCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is DeleteOpenApiCollectionByIdCommandMutationResultInfo info) + { + return new DeleteOpenApiCollectionByIdCommandMutationResult(MapNonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById(info.DeleteOpenApiCollectionById)); + } + + throw new global::System.ArgumentException("DeleteOpenApiCollectionByIdCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById MapNonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData data) + { + IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById returnValue = default !; + if (data.__typename.Equals("DeleteOpenApiCollectionByIdPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload(MapIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection(data.OpenApiCollection), MapIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection? MapIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var deleteOpenApiCollectionByIdErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdErrorData child in list) + { + deleteOpenApiCollectionByIdErrors.Add(MapNonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors(child)); + } + + return deleteOpenApiCollectionByIdErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors MapNonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdErrorData data) + { + IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData openApiCollectionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError(openApiCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public DeleteOpenApiCollectionByIdCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData deleteOpenApiCollectionById) + { + DeleteOpenApiCollectionById = deleteOpenApiCollectionById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData DeleteOpenApiCollectionById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new DeleteOpenApiCollectionByIdCommandMutationResultInfo(DeleteOpenApiCollectionById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListOpenApiCollectionCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryResult); + + public ListOpenApiCollectionCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListOpenApiCollectionCommandQueryResultInfo info) + { + return new ListOpenApiCollectionCommandQueryResult(MapIListOpenApiCollectionCommandQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("ListOpenApiCollectionCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node? MapIListOpenApiCollectionCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IListOpenApiCollectionCommandQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Api(MapIListOpenApiCollectionCommandQuery_Node_OpenApiCollections(api.OpenApiCollections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Client(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections? MapIListOpenApiCollectionCommandQuery_Node_OpenApiCollections(global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? data) + { + if (data is null) + { + return null; + } + + IListOpenApiCollectionCommandQuery_Node_OpenApiCollections returnValue = default !; + if (data?.__typename.Equals("ApiOpenApiCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection(MapIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_EdgesNonNullableArray(data.Edges), MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var apiOpenApiCollectionsEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData child in list) + { + apiOpenApiCollectionsEdges.Add(MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges(child)); + } + + return apiOpenApiCollectionsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData data) + { + IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges returnValue = default !; + if (data.__typename.Equals("ApiOpenApiCollectionsEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData data) + { + IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node returnValue = default !; + if (data.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListOpenApiCollectionCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ShowEnvironmentCommandQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CreateEnvironmentCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutationResult); - - public CreateEnvironmentCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CreateEnvironmentCommandMutationResultInfo info) - { - return new CreateEnvironmentCommandMutationResult(MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges(info.PushWorkspaceChanges)); - } - - throw new global::System.ArgumentException("CreateEnvironmentCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges(global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData data) - { - ICreateEnvironmentCommandMutation_PushWorkspaceChanges returnValue = default !; - if (data.__typename.Equals("PushWorkspaceChangesPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateEnvironmentCommandMutation_PushWorkspaceChanges_PushWorkspaceChangesPayload(MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(data.Changes), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var workspaceChangePayloads = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData child in list) - { - workspaceChangePayloads.Add(MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes(child)); - } - - return workspaceChangePayloads; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData data) - { - ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes returnValue = default !; - if (data.__typename.Equals("WorkspaceChangePayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_WorkspaceChangePayload(data.ReferenceId ?? throw new global::System.ArgumentNullException(), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error(data.Error), MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result(data.Result)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error(global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? data) - { - if (data is null) - { - return null; - } - - ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ChangeValidationFailedData changeValidationFailed) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_ChangeValidationFailed(changeValidationFailed.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenChangedConflictData hasBeenChangedConflict) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenChangedConflict(hasBeenChangedConflict.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenDeletedConflictData hasBeenDeletedConflict) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_HasBeenDeletedConflict(hasBeenDeletedConflict.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.IdentifierCollisionConflictData identifierCollisionConflict) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_IdentifierCollisionConflict(identifierCollisionConflict.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedErrorOnChangeData unexpectedErrorOnChange) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_UnexpectedErrorOnChange(unexpectedErrorOnChange.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundForChangeData workspaceNotFoundForChange) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Error_WorkspaceNotFoundForChange(workspaceNotFoundForChange.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result(global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? data) - { - if (data is null) - { - return null; - } - - ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Api(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_WorkspaceDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Environment(environment.Name ?? throw new global::System.ArgumentNullException(), environment.Id ?? throw new global::System.ArgumentNullException(), MapIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(environment.Workspace)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace? MapIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateEnvironmentCommandMutation_PushWorkspaceChanges_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var pushWorkspaceChangesErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData child in list) - { - pushWorkspaceChangesErrors.Add(MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors(child)); - } - - return pushWorkspaceChangesErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors MapNonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData data) - { - ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ChangeStructureInvalidData changeStructureInvalid) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateEnvironmentCommandMutation_PushWorkspaceChanges_Errors_ChangeStructureInvalid(changeStructureInvalid.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CreateEnvironmentCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData pushWorkspaceChanges) - { - PushWorkspaceChanges = pushWorkspaceChanges; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData PushWorkspaceChanges { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CreateEnvironmentCommandMutationResultInfo(PushWorkspaceChanges); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListApiKeyCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQueryResult); - - public ListApiKeyCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListApiKeyCommandQueryResultInfo info) - { - return new ListApiKeyCommandQueryResult(MapIListApiKeyCommandQuery_WorkspaceById(info.WorkspaceById)); - } - - throw new global::System.ArgumentException("ListApiKeyCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById? MapIListApiKeyCommandQuery_WorkspaceById(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListApiKeyCommandQuery_WorkspaceById returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListApiKeyCommandQuery_WorkspaceById_Workspace(MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys(data.ApiKeys)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys? MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData? data) - { - if (data is null) - { - return null; - } - - IListApiKeyCommandQuery_WorkspaceById_ApiKeys returnValue = default !; - if (data?.__typename.Equals("ApiKeysConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_ApiKeysConnection(MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_EdgesNonNullableArray(data.Edges), MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var apiKeysEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysEdgeData child in list) - { - apiKeysEdges.Add(MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges(child)); - } - - return apiKeysEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysEdgeData data) - { - IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges returnValue = default !; - if (data.__typename.Equals("ApiKeysEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_ApiKeysEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData data) - { - IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node returnValue = default !; - if (data.__typename.Equals("ApiKey", global::System.StringComparison.Ordinal)) - { - returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_ApiKey(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(data.Workspace)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo MapNonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListApiKeyCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspaceById) - { - WorkspaceById = workspaceById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? WorkspaceById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListApiKeyCommandQueryResultInfo(WorkspaceById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CreateApiKeyCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutationResult); - - public CreateApiKeyCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CreateApiKeyCommandMutationResultInfo info) - { - return new CreateApiKeyCommandMutationResult(MapNonNullableICreateApiKeyCommandMutation_CreateApiKey(info.CreateApiKey)); - } - - throw new global::System.ArgumentException("CreateApiKeyCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey MapNonNullableICreateApiKeyCommandMutation_CreateApiKey(global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData data) - { - ICreateApiKeyCommandMutation_CreateApiKey returnValue = default !; - if (data.__typename.Equals("CreateApiKeyPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateApiKeyCommandMutation_CreateApiKey_CreateApiKeyPayload(MapICreateApiKeyCommandMutation_CreateApiKey_Result(data.Result), MapICreateApiKeyCommandMutation_CreateApiKey_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result? MapICreateApiKeyCommandMutation_CreateApiKey_Result(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData? data) - { - if (data is null) - { - return null; - } - - ICreateApiKeyCommandMutation_CreateApiKey_Result returnValue = default !; - if (data?.__typename.Equals("ApiKeyWithSecret", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Result_ApiKeyWithSecret(MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Result_Key(data.Key ?? throw new global::System.ArgumentNullException()), data.Secret ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Result_Key MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Result_Key(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData data) - { - ICreateApiKeyCommandMutation_CreateApiKey_Result_Key returnValue = default !; - if (data.__typename.Equals("ApiKey", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Result_Key_ApiKey(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(data.Workspace)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateApiKeyCommandMutation_CreateApiKey_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var createApiKeyErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyErrorData child in list) - { - createApiKeyErrors.Add(MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors(child)); - } - - return createApiKeyErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Errors MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyErrorData data) - { - ICreateApiKeyCommandMutation_CreateApiKey_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundData workspaceNotFound) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_WorkspaceNotFound(workspaceNotFound.__typename ?? throw new global::System.ArgumentNullException(), workspaceNotFound.Message ?? throw new global::System.ArgumentNullException(), workspaceNotFound.WorkspaceId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersonalWorkspaceNotSupportedErrorData personalWorkspaceNotSupportedError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_PersonalWorkspaceNotSupportedError(personalWorkspaceNotSupportedError.__typename ?? throw new global::System.ArgumentNullException(), personalWorkspaceNotSupportedError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_ValidationError(validationError.__typename ?? throw new global::System.ArgumentNullException(), validationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_ErrorsNonNullableArray(validationError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.RoleNotFoundErrorData roleNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateApiKeyCommandMutation_CreateApiKey_Errors_RoleNotFoundError(roleNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), roleNotFoundError.Message ?? throw new global::System.ArgumentNullException(), roleNotFoundError.RoleId ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var validationErrorPropertys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorPropertyData child in list) - { - validationErrorPropertys.Add(MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors(child)); - } - - return validationErrorPropertys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors MapNonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorPropertyData data) - { - ICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors returnValue = default !; - if (data.__typename.Equals("ValidationErrorProperty", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateApiKeyCommandMutation_CreateApiKey_Errors_Errors_ValidationErrorProperty(data.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CreateApiKeyCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData createApiKey) - { - CreateApiKey = createApiKey; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData CreateApiKey { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CreateApiKeyCommandMutationResultInfo(CreateApiKey); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public DeleteApiKeyCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutationResult); - - public DeleteApiKeyCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is DeleteApiKeyCommandMutationResultInfo info) - { - return new DeleteApiKeyCommandMutationResult(MapNonNullableIDeleteApiKeyCommandMutation_DeleteApiKey(info.DeleteApiKey)); - } - - throw new global::System.ArgumentException("DeleteApiKeyCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey MapNonNullableIDeleteApiKeyCommandMutation_DeleteApiKey(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData data) - { - IDeleteApiKeyCommandMutation_DeleteApiKey returnValue = default !; - if (data.__typename.Equals("DeleteApiKeyPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new DeleteApiKeyCommandMutation_DeleteApiKey_DeleteApiKeyPayload(MapIDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey(data.ApiKey), MapIDeleteApiKeyCommandMutation_DeleteApiKey_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey? MapIDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey(global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? data) - { - if (data is null) - { - return null; - } - - IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey returnValue = default !; - if (data?.__typename.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new DeleteApiKeyCommandMutation_DeleteApiKey_ApiKey_ApiKey(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(data.Workspace)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace? MapIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace_Workspace(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIDeleteApiKeyCommandMutation_DeleteApiKey_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var deleteApiKeyErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyErrorData child in list) - { - deleteApiKeyErrors.Add(MapNonNullableIDeleteApiKeyCommandMutation_DeleteApiKey_Errors(child)); - } - - return deleteApiKeyErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteApiKeyCommandMutation_DeleteApiKey_Errors MapNonNullableIDeleteApiKeyCommandMutation_DeleteApiKey_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyErrorData data) - { - IDeleteApiKeyCommandMutation_DeleteApiKey_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyNotFoundErrorData apiKeyNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyCommandMutation_DeleteApiKey_Errors_ApiKeyNotFoundError(apiKeyNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiKeyNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiKeyNotFoundError.ApiKeyId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteApiKeyCommandMutation_DeleteApiKey_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public DeleteApiKeyCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData deleteApiKey) - { - DeleteApiKey = deleteApiKey; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData DeleteApiKey { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new DeleteApiKeyCommandMutationResultInfo(DeleteApiKey); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListPersonalAccessTokenCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryResult); - - public ListPersonalAccessTokenCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListPersonalAccessTokenCommandQueryResultInfo info) - { - return new ListPersonalAccessTokenCommandQueryResult(MapIListPersonalAccessTokenCommandQuery_Me(info.Me)); - } - - throw new global::System.ArgumentException("ListPersonalAccessTokenCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me? MapIListPersonalAccessTokenCommandQuery_Me(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? data) - { - if (data is null) - { - return null; - } - - IListPersonalAccessTokenCommandQuery_Me returnValue = default !; - if (data?.__typename.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListPersonalAccessTokenCommandQuery_Me_Viewer(MapIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens(data.PersonalAccessTokens)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens? MapIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData? data) - { - if (data is null) - { - return null; - } - - IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens returnValue = default !; - if (data?.__typename.Equals("PersonalAccessTokensConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection(MapIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_EdgesNonNullableArray(data.Edges), MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var personalAccessTokensEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensEdgeData child in list) - { - personalAccessTokensEdges.Add(MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges(child)); - } - - return personalAccessTokensEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensEdgeData data) - { - IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges returnValue = default !; - if (data.__typename.Equals("PersonalAccessTokensEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData data) - { - IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node returnValue = default !; - if (data.__typename.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal)) - { - returnValue = new ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken(data.Id ?? throw new global::System.ArgumentNullException(), data.Description ?? throw new global::System.ArgumentNullException(), data.ExpiresAt ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListPersonalAccessTokenCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? me) - { - Me = me; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Me { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListPersonalAccessTokenCommandQueryResultInfo(Me); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CreatePersonalAccessTokenCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationResult); - - public CreatePersonalAccessTokenCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CreatePersonalAccessTokenCommandMutationResultInfo info) - { - return new CreatePersonalAccessTokenCommandMutationResult(MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken(info.CreatePersonalAccessToken)); - } - - throw new global::System.ArgumentException("CreatePersonalAccessTokenCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken(global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData data) - { - ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken returnValue = default !; - if (data.__typename.Equals("CreatePersonalAccessTokenPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload(MapICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result(data.Result), MapICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result? MapICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData? data) - { - if (data is null) - { - return null; - } - - ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result returnValue = default !; - if (data?.__typename.Equals("PersonalAccessTokenWithSecret", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret(MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token(data.Token ?? throw new global::System.ArgumentNullException()), data.Secret ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData data) - { - ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token returnValue = default !; - if (data.__typename.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal)) - { - returnValue = new CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken(data.Id ?? throw new global::System.ArgumentNullException(), data.Description ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.ExpiresAt ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var createPersonalAccessTokenErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenErrorData child in list) - { - createPersonalAccessTokenErrors.Add(MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors(child)); - } - - return createPersonalAccessTokenErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenErrorData data) - { - ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError(validationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CreatePersonalAccessTokenCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData createPersonalAccessToken) - { - CreatePersonalAccessToken = createPersonalAccessToken; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData CreatePersonalAccessToken { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CreatePersonalAccessTokenCommandMutationResultInfo(CreatePersonalAccessToken); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public RevokePersonalAccessTokenCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationResult); - - public RevokePersonalAccessTokenCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is RevokePersonalAccessTokenCommandMutationResultInfo info) - { - return new RevokePersonalAccessTokenCommandMutationResult(MapNonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken(info.RevokePersonalAccessToken)); - } - - throw new global::System.ArgumentException("RevokePersonalAccessTokenCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken MapNonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken(global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData data) - { - IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken returnValue = default !; - if (data.__typename.Equals("RevokePersonalAccessTokenPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload(MapIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken(data.PersonalAccessToken), MapIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken? MapIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? data) - { - if (data is null) - { - return null; - } - - IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken returnValue = default !; - if (data?.__typename.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken(data.Id ?? throw new global::System.ArgumentNullException(), data.Description ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.ExpiresAt ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var revokePersonalAccessTokenErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenErrorData child in list) - { - revokePersonalAccessTokenErrors.Add(MapNonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors(child)); - } - - return revokePersonalAccessTokenErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors MapNonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenErrorData data) - { - IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenNotFoundErrorData personalAccessTokenNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError(personalAccessTokenNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), personalAccessTokenNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public RevokePersonalAccessTokenCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData revokePersonalAccessToken) - { - RevokePersonalAccessToken = revokePersonalAccessToken; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData RevokePersonalAccessToken { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new RevokePersonalAccessTokenCommandMutationResultInfo(RevokePersonalAccessToken); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public UploadOpenApiCollectionCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationResult); - - public UploadOpenApiCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is UploadOpenApiCollectionCommandMutationResultInfo info) - { - return new UploadOpenApiCollectionCommandMutationResult(MapNonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection(info.UploadOpenApiCollection)); - } - - throw new global::System.ArgumentException("UploadOpenApiCollectionCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection MapNonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData data) - { - IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection returnValue = default !; - if (data.__typename.Equals("UploadOpenApiCollectionPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload(MapIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion(data.OpenApiCollectionVersion), MapIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion? MapIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData? data) - { - if (data is null) - { - return null; - } - - IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion returnValue = default !; - if (data?.__typename.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion(data.Id ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var uploadOpenApiCollectionErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionErrorData child in list) - { - uploadOpenApiCollectionErrors.Add(MapNonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors(child)); - } - - return uploadOpenApiCollectionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors MapNonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionErrorData data) - { - IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData openApiCollectionNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError(openApiCollectionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException(), openApiCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidOpenApiCollectionArchiveErrorData invalidOpenApiCollectionArchiveError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError(invalidOpenApiCollectionArchiveError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public UploadOpenApiCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData uploadOpenApiCollection) - { - UploadOpenApiCollection = uploadOpenApiCollection; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData UploadOpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new UploadOpenApiCollectionCommandMutationResultInfo(UploadOpenApiCollection); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListOpenApiCollectionCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQueryResult); - - public ListOpenApiCollectionCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListOpenApiCollectionCommandQueryResultInfo info) - { - return new ListOpenApiCollectionCommandQueryResult(MapIListOpenApiCollectionCommandQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("ListOpenApiCollectionCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node? MapIListOpenApiCollectionCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IListOpenApiCollectionCommandQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Api(MapIListOpenApiCollectionCommandQuery_Node_OpenApiCollections(api.OpenApiCollections)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Client(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Environment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_Workspace(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListOpenApiCollectionCommandQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections? MapIListOpenApiCollectionCommandQuery_Node_OpenApiCollections(global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? data) - { - if (data is null) - { - return null; - } - - IListOpenApiCollectionCommandQuery_Node_OpenApiCollections returnValue = default !; - if (data?.__typename.Equals("ApiOpenApiCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_ApiOpenApiCollectionsConnection(MapIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_EdgesNonNullableArray(data.Edges), MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var apiOpenApiCollectionsEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData child in list) - { - apiOpenApiCollectionsEdges.Add(MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges(child)); - } - - return apiOpenApiCollectionsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData data) - { - IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges returnValue = default !; - if (data.__typename.Equals("ApiOpenApiCollectionsEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData data) - { - IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node returnValue = default !; - if (data.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal)) - { - returnValue = new ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo MapNonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListOpenApiCollectionCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListOpenApiCollectionCommandQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public PublishOpenApiCollectionCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationResult); + + public PublishOpenApiCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is PublishOpenApiCollectionCommandMutationResultInfo info) + { + return new PublishOpenApiCollectionCommandMutationResult(MapNonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection(info.PublishOpenApiCollection)); + } + + throw new global::System.ArgumentException("PublishOpenApiCollectionCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection MapNonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData data) + { + IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection returnValue = default !; + if (data.__typename.Equals("PublishOpenApiCollectionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload(data.Id, MapIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var publishOpenApiCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionErrorData child in list) + { + publishOpenApiCollectionErrors.Add(MapNonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors(child)); + } + + return publishOpenApiCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors MapNonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionErrorData data) + { + IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData openApiCollectionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError(openApiCollectionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException(), openApiCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionNotFoundErrorData openApiCollectionVersionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError(openApiCollectionVersionNotFoundError.Tag ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public PublishOpenApiCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData publishOpenApiCollection) + { + PublishOpenApiCollection = publishOpenApiCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData PublishOpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new PublishOpenApiCollectionCommandMutationResultInfo(PublishOpenApiCollection); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscriptionResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public PublishOpenApiCollectionCommandSubscriptionResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionResult); + + public PublishOpenApiCollectionCommandSubscriptionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is PublishOpenApiCollectionCommandSubscriptionResultInfo info) + { + return new PublishOpenApiCollectionCommandSubscriptionResult(MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate(info.OnOpenApiCollectionVersionPublishingUpdate)); + } + + throw new global::System.ArgumentException("PublishOpenApiCollectionCommandSubscriptionResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishResultData data) + { + IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionPublishFailedData openApiCollectionVersionPublishFailed) + { + if (!openApiCollectionVersionPublishFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed(openApiCollectionVersionPublishFailed.__typename ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionPublishFailed.State!.Value, MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ErrorsNonNullableArray(openApiCollectionVersionPublishFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionPublishSuccessData openApiCollectionVersionPublishSuccess) + { + if (!openApiCollectionVersionPublishSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess(openApiCollectionVersionPublishSuccess.__typename ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionPublishSuccess.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) + { + if (!processingTaskApproved.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved(processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException(), processingTaskApproved.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) + { + if (!processingTaskIsQueued.QueuePosition.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued(processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady(processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) + { + if (!waitForApproval.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval(waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), waitForApproval.State!.Value, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionVersionPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishErrorData child in list) + { + openApiCollectionVersionPublishErrors.Add(MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors(child)); + } + + return openApiCollectionVersionPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishErrorData data) + { + IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) + { + openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) + { + openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) + { + openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) + { + openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(mcpFeatureCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(openApiCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(schemaDeployment.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) + { + clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) + { + persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries returnValue = default !; + if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) + { + persistedQueryErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors returnValue = default !; + if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) + { + persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations returnValue = default !; + if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) + { + fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) + { + directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) + { + if (!directiveLocationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationAdded.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) + { + if (!directiveLocationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationRemoved.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) + { + argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) + { + enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) + { + if (!enumValueAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) + { + if (!enumValueChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) + { + if (!enumValueRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) + { + enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) + { + inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) + { + if (!inputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) + { + inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) + { + interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) + { + if (!possibleTypeAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) + { + if (!possibleTypeRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) + { + outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) + { + objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) + { + scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) + { + unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) + { + if (!unionMemberAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) + { + if (!unionMemberRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) + { + graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; + if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData child in list) + { + mcpFeatureCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(data.McpFeatureCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData child in list) + { + mcpFeatureCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData mcpFeatureCollectionValidationPrompt) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationPrompt.Errors), mcpFeatureCollectionValidationPrompt.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData mcpFeatureCollectionValidationTool) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationTool.Errors), mcpFeatureCollectionValidationTool.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData child in list) + { + mcpFeatureCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData mcpFeatureCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(mcpFeatureCollectionValidationDocumentError.Code, mcpFeatureCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(mcpFeatureCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData mcpFeatureCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(mcpFeatureCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData child in list) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData child in list) + { + mcpFeatureCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) + { + openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) + { + schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) + { + if (!schemaVersionSyntaxError.Column.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Position.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Line.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscriptionResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public PublishOpenApiCollectionCommandSubscriptionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishResultData onOpenApiCollectionVersionPublishingUpdate) + { + OnOpenApiCollectionVersionPublishingUpdate = onOpenApiCollectionVersionPublishingUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishResultData OnOpenApiCollectionVersionPublishingUpdate { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new PublishOpenApiCollectionCommandSubscriptionResultInfo(OnOpenApiCollectionVersionPublishingUpdate); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public UploadOpenApiCollectionCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutationResult); + + public UploadOpenApiCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is UploadOpenApiCollectionCommandMutationResultInfo info) + { + return new UploadOpenApiCollectionCommandMutationResult(MapNonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection(info.UploadOpenApiCollection)); + } + + throw new global::System.ArgumentException("UploadOpenApiCollectionCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection MapNonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData data) + { + IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection returnValue = default !; + if (data.__typename.Equals("UploadOpenApiCollectionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_UploadOpenApiCollectionPayload(MapIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion(data.OpenApiCollectionVersion), MapIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion? MapIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData? data) + { + if (data is null) + { + return null; + } + + IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion returnValue = default !; + if (data?.__typename.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion_OpenApiCollectionVersion(data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var uploadOpenApiCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionErrorData child in list) + { + uploadOpenApiCollectionErrors.Add(MapNonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors(child)); + } + + return uploadOpenApiCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors MapNonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionErrorData data) + { + IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData openApiCollectionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_OpenApiCollectionNotFoundError(openApiCollectionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException(), openApiCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidOpenApiCollectionArchiveErrorData invalidOpenApiCollectionArchiveError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_Errors_InvalidOpenApiCollectionArchiveError(invalidOpenApiCollectionArchiveError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public UploadOpenApiCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData uploadOpenApiCollection) + { + UploadOpenApiCollection = uploadOpenApiCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData UploadOpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new UploadOpenApiCollectionCommandMutationResultInfo(UploadOpenApiCollection); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ValidateOpenApiCollectionCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationResult); + + public ValidateOpenApiCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ValidateOpenApiCollectionCommandMutationResultInfo info) + { + return new ValidateOpenApiCollectionCommandMutationResult(MapNonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection(info.ValidateOpenApiCollection)); + } + + throw new global::System.ArgumentException("ValidateOpenApiCollectionCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection MapNonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData data) + { + IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection returnValue = default !; + if (data.__typename.Equals("ValidateOpenApiCollectionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload(data.Id, MapIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var validateOpenApiCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionErrorData child in list) + { + validateOpenApiCollectionErrors.Add(MapNonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors(child)); + } + + return validateOpenApiCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors MapNonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionErrorData data) + { + IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData openApiCollectionNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError(openApiCollectionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException(), openApiCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ValidateOpenApiCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData validateOpenApiCollection) + { + ValidateOpenApiCollection = validateOpenApiCollection; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData ValidateOpenApiCollection { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ValidateOpenApiCollectionCommandMutationResultInfo(ValidateOpenApiCollection); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscriptionResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ValidateOpenApiCollectionCommandSubscriptionResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionResult); + + public ValidateOpenApiCollectionCommandSubscriptionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ValidateOpenApiCollectionCommandSubscriptionResultInfo info) + { + return new ValidateOpenApiCollectionCommandSubscriptionResult(MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate(info.OnOpenApiCollectionVersionValidationUpdate)); + } + + throw new global::System.ArgumentException("ValidateOpenApiCollectionCommandSubscriptionResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationResultData data) + { + IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionValidationFailedData openApiCollectionVersionValidationFailed) + { + if (!openApiCollectionVersionValidationFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed(openApiCollectionVersionValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionValidationFailed.State!.Value, MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ErrorsNonNullableArray(openApiCollectionVersionValidationFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionValidationSuccessData openApiCollectionVersionValidationSuccess) + { + if (!openApiCollectionVersionValidationSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess(openApiCollectionVersionValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionValidationSuccess.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) + { + if (!validationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress(validationInProgress.__typename ?? throw new global::System.ArgumentNullException(), validationInProgress.State!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionVersionValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationErrorData child in list) + { + openApiCollectionVersionValidationErrors.Add(MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors(child)); + } + + return openApiCollectionVersionValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationErrorData data) + { + IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationArchiveErrorData openApiCollectionValidationArchiveError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError(openApiCollectionValidationArchiveError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) + { + openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) + { + openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) + { + openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) + { + openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscriptionResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ValidateOpenApiCollectionCommandSubscriptionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationResultData onOpenApiCollectionVersionValidationUpdate) + { + OnOpenApiCollectionVersionValidationUpdate = onOpenApiCollectionVersionValidationUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationResultData OnOpenApiCollectionVersionValidationUpdate { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ValidateOpenApiCollectionCommandSubscriptionResultInfo(OnOpenApiCollectionVersionValidationUpdate); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreatePersonalAccessTokenCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutationResult); + + public CreatePersonalAccessTokenCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreatePersonalAccessTokenCommandMutationResultInfo info) + { + return new CreatePersonalAccessTokenCommandMutationResult(MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken(info.CreatePersonalAccessToken)); + } + + throw new global::System.ArgumentException("CreatePersonalAccessTokenCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken(global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData data) + { + ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken returnValue = default !; + if (data.__typename.Equals("CreatePersonalAccessTokenPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_CreatePersonalAccessTokenPayload(MapICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result(data.Result), MapICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result? MapICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData? data) + { + if (data is null) + { + return null; + } + + ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result returnValue = default !; + if (data?.__typename.Equals("PersonalAccessTokenWithSecret", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_PersonalAccessTokenWithSecret(MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token(data.Token ?? throw new global::System.ArgumentNullException()), data.Secret ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData data) + { + ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token returnValue = default !; + if (data.__typename.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal)) + { + returnValue = new CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token_PersonalAccessToken(data.Id ?? throw new global::System.ArgumentNullException(), data.Description ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.ExpiresAt ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var createPersonalAccessTokenErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenErrorData child in list) + { + createPersonalAccessTokenErrors.Add(MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors(child)); + } + + return createPersonalAccessTokenErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors MapNonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenErrorData data) + { + ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_ValidationError(validationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreatePersonalAccessTokenCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData createPersonalAccessToken) + { + CreatePersonalAccessToken = createPersonalAccessToken; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData CreatePersonalAccessToken { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreatePersonalAccessTokenCommandMutationResultInfo(CreatePersonalAccessToken); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListPersonalAccessTokenCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQueryResult); + + public ListPersonalAccessTokenCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListPersonalAccessTokenCommandQueryResultInfo info) + { + return new ListPersonalAccessTokenCommandQueryResult(MapIListPersonalAccessTokenCommandQuery_Me(info.Me)); + } + + throw new global::System.ArgumentException("ListPersonalAccessTokenCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me? MapIListPersonalAccessTokenCommandQuery_Me(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? data) + { + if (data is null) + { + return null; + } + + IListPersonalAccessTokenCommandQuery_Me returnValue = default !; + if (data?.__typename.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListPersonalAccessTokenCommandQuery_Me_Viewer(MapIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens(data.PersonalAccessTokens)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens? MapIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData? data) + { + if (data is null) + { + return null; + } + + IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens returnValue = default !; + if (data?.__typename.Equals("PersonalAccessTokensConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PersonalAccessTokensConnection(MapIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_EdgesNonNullableArray(data.Edges), MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var personalAccessTokensEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensEdgeData child in list) + { + personalAccessTokensEdges.Add(MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges(child)); + } + + return personalAccessTokensEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensEdgeData data) + { + IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges returnValue = default !; + if (data.__typename.Equals("PersonalAccessTokensEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_PersonalAccessTokensEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData data) + { + IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node returnValue = default !; + if (data.__typename.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal)) + { + returnValue = new ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node_PersonalAccessToken(data.Id ?? throw new global::System.ArgumentNullException(), data.Description ?? throw new global::System.ArgumentNullException(), data.ExpiresAt ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo MapNonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListPersonalAccessTokenCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? me) + { + Me = me; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Me { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListPersonalAccessTokenCommandQueryResultInfo(Me); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public RevokePersonalAccessTokenCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutationResult); + + public RevokePersonalAccessTokenCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is RevokePersonalAccessTokenCommandMutationResultInfo info) + { + return new RevokePersonalAccessTokenCommandMutationResult(MapNonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken(info.RevokePersonalAccessToken)); + } + + throw new global::System.ArgumentException("RevokePersonalAccessTokenCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken MapNonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken(global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData data) + { + IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken returnValue = default !; + if (data.__typename.Equals("RevokePersonalAccessTokenPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_RevokePersonalAccessTokenPayload(MapIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken(data.PersonalAccessToken), MapIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken? MapIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken(global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? data) + { + if (data is null) + { + return null; + } + + IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken returnValue = default !; + if (data?.__typename.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken_PersonalAccessToken(data.Id ?? throw new global::System.ArgumentNullException(), data.Description ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.ExpiresAt ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var revokePersonalAccessTokenErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenErrorData child in list) + { + revokePersonalAccessTokenErrors.Add(MapNonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors(child)); + } + + return revokePersonalAccessTokenErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors MapNonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenErrorData data) + { + IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenNotFoundErrorData personalAccessTokenNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.RevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_Errors_PersonalAccessTokenNotFoundError(personalAccessTokenNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), personalAccessTokenNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public RevokePersonalAccessTokenCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData revokePersonalAccessToken) + { + RevokePersonalAccessToken = revokePersonalAccessToken; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData RevokePersonalAccessToken { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new RevokePersonalAccessTokenCommandMutationResultInfo(RevokePersonalAccessToken); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersionResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public PublishSchemaVersionResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionResult); + + public PublishSchemaVersionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is PublishSchemaVersionResultInfo info) + { + return new PublishSchemaVersionResult(MapNonNullableIPublishSchemaVersion_PublishSchema(info.PublishSchema)); + } + + throw new global::System.ArgumentException("PublishSchemaVersionResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema MapNonNullableIPublishSchemaVersion_PublishSchema(global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData data) + { + IPublishSchemaVersion_PublishSchema returnValue = default !; + if (data.__typename.Equals("PublishSchemaPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new PublishSchemaVersion_PublishSchema_PublishSchemaPayload(data.Id, MapIPublishSchemaVersion_PublishSchema_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIPublishSchemaVersion_PublishSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var publishSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaErrorData child in list) + { + publishSchemaErrors.Add(MapNonNullableIPublishSchemaVersion_PublishSchema_Errors(child)); + } + + return publishSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema_Errors MapNonNullableIPublishSchemaVersion_PublishSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaErrorData data) + { + IPublishSchemaVersion_PublishSchema_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaNotFoundErrorData schemaNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError(schemaNotFoundError.Message ?? throw new global::System.ArgumentNullException(), schemaNotFoundError.ApiId ?? throw new global::System.ArgumentNullException(), schemaNotFoundError.Tag ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersionResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public PublishSchemaVersionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData publishSchema) + { + PublishSchema = publishSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData PublishSchema { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new PublishSchemaVersionResultInfo(PublishSchema); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdatedResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public OnSchemaVersionPublishUpdatedResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedResult); + + public OnSchemaVersionPublishUpdatedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is OnSchemaVersionPublishUpdatedResultInfo info) + { + return new OnSchemaVersionPublishUpdatedResult(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate(info.OnSchemaVersionPublishingUpdate)); + } + + throw new global::System.ArgumentException("OnSchemaVersionPublishUpdatedResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishResultData data) + { + IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) + { + if (!processingTaskApproved.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved(processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException(), processingTaskApproved.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) + { + if (!processingTaskIsQueued.QueuePosition.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued(processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady(processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionPublishFailedData schemaVersionPublishFailed) + { + if (!schemaVersionPublishFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed(schemaVersionPublishFailed.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionPublishFailed.State!.Value, MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ErrorsNonNullableArray(schemaVersionPublishFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionPublishSuccessData schemaVersionPublishSuccess) + { + if (!schemaVersionPublishSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess(schemaVersionPublishSuccess.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionPublishSuccess.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) + { + if (!waitForApproval.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval(waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), waitForApproval.State!.Value, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaVersionPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishErrorData child in list) + { + schemaVersionPublishErrors.Add(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors(child)); + } + + return schemaVersionPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishErrorData data) + { + IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData schemaVersionChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError(schemaVersionChangeViolationError.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(schemaVersionChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) + { + if (!schemaVersionSyntaxError.Column.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Position.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Line.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) + { + graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; + if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData child in list) + { + mcpFeatureCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(data.McpFeatureCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData child in list) + { + mcpFeatureCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData mcpFeatureCollectionValidationPrompt) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationPrompt.Errors), mcpFeatureCollectionValidationPrompt.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData mcpFeatureCollectionValidationTool) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationTool.Errors), mcpFeatureCollectionValidationTool.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData child in list) + { + mcpFeatureCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData mcpFeatureCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(mcpFeatureCollectionValidationDocumentError.Code, mcpFeatureCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(mcpFeatureCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData mcpFeatureCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(mcpFeatureCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData child in list) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) + { + openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) + { + openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) + { + openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) + { + openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) + { + persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries returnValue = default !; + if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) + { + persistedQueryErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors returnValue = default !; + if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) + { + persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations returnValue = default !; + if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) + { + directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) + { + if (!directiveLocationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationAdded.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) + { + if (!directiveLocationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationRemoved.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) + { + argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) + { + enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) + { + if (!enumValueAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) + { + if (!enumValueChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) + { + if (!enumValueRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) + { + enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) + { + inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) + { + if (!inputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) + { + inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) + { + interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) + { + if (!possibleTypeAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) + { + if (!possibleTypeRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) + { + outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) + { + objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) + { + scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) + { + unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) + { + if (!unionMemberAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) + { + if (!unionMemberRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(mcpFeatureCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(openApiCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(schemaDeployment.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) + { + clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) + { + fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData child in list) + { + mcpFeatureCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) + { + openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) + { + schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) + { + if (!schemaVersionSyntaxError.Column.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Position.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Line.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdatedResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public OnSchemaVersionPublishUpdatedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishResultData onSchemaVersionPublishingUpdate) + { + OnSchemaVersionPublishingUpdate = onSchemaVersionPublishingUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishResultData OnSchemaVersionPublishingUpdate { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new OnSchemaVersionPublishUpdatedResultInfo(OnSchemaVersionPublishingUpdate); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchemaResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public UploadSchemaResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaResult); + + public UploadSchemaResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is UploadSchemaResultInfo info) + { + return new UploadSchemaResult(MapNonNullableIUploadSchema_UploadSchema(info.UploadSchema)); + } + + throw new global::System.ArgumentException("UploadSchemaResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema MapNonNullableIUploadSchema_UploadSchema(global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData data) + { + IUploadSchema_UploadSchema returnValue = default !; + if (data.__typename.Equals("UploadSchemaPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new UploadSchema_UploadSchema_UploadSchemaPayload(MapIUploadSchema_UploadSchema_SchemaVersion(data.SchemaVersion), MapIUploadSchema_UploadSchema_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_SchemaVersion? MapIUploadSchema_UploadSchema_SchemaVersion(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? data) + { + if (data is null) + { + return null; + } + + IUploadSchema_UploadSchema_SchemaVersion returnValue = default !; + if (data?.__typename.Equals("SchemaVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UploadSchema_UploadSchema_SchemaVersion_SchemaVersion(data.Id ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIUploadSchema_UploadSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var uploadSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaErrorData child in list) + { + uploadSchemaErrors.Add(MapNonNullableIUploadSchema_UploadSchema_Errors(child)); + } + + return uploadSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_Errors MapNonNullableIUploadSchema_UploadSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaErrorData data) + { + IUploadSchema_UploadSchema_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadSchema_UploadSchema_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadSchema_UploadSchema_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadSchema_UploadSchema_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadSchema_UploadSchema_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchemaResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public UploadSchemaResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData uploadSchema) + { + UploadSchema = uploadSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData UploadSchema { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new UploadSchemaResultInfo(UploadSchema); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersionResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ValidateSchemaVersionResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionResult); + + public ValidateSchemaVersionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ValidateSchemaVersionResultInfo info) + { + return new ValidateSchemaVersionResult(MapNonNullableIValidateSchemaVersion_ValidateSchema(info.ValidateSchema)); + } + + throw new global::System.ArgumentException("ValidateSchemaVersionResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema MapNonNullableIValidateSchemaVersion_ValidateSchema(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData data) + { + IValidateSchemaVersion_ValidateSchema returnValue = default !; + if (data.__typename.Equals("ValidateSchemaPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload(data.Id, MapIValidateSchemaVersion_ValidateSchema_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIValidateSchemaVersion_ValidateSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var validateSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaErrorData child in list) + { + validateSchemaErrors.Add(MapNonNullableIValidateSchemaVersion_ValidateSchema_Errors(child)); + } + + return validateSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema_Errors MapNonNullableIValidateSchemaVersion_ValidateSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaErrorData data) + { + IValidateSchemaVersion_ValidateSchema_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaNotFoundErrorData schemaNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError(schemaNotFoundError.Message ?? throw new global::System.ArgumentNullException(), schemaNotFoundError.ApiId ?? throw new global::System.ArgumentNullException(), schemaNotFoundError.Tag ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersionResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ValidateSchemaVersionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData validateSchema) + { + ValidateSchema = validateSchema; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData ValidateSchema { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ValidateSchemaVersionResultInfo(ValidateSchema); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdatedResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public OnSchemaVersionValidationUpdatedResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedResult); + + public OnSchemaVersionValidationUpdatedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is OnSchemaVersionValidationUpdatedResultInfo info) + { + return new OnSchemaVersionValidationUpdatedResult(MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate(info.OnSchemaVersionValidationUpdate)); + } + + throw new global::System.ArgumentException("OnSchemaVersionValidationUpdatedResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationResultData data) + { + IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionValidationFailedData schemaVersionValidationFailed) + { + if (!schemaVersionValidationFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed(schemaVersionValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionValidationFailed.State!.Value, MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ErrorsNonNullableArray(schemaVersionValidationFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionValidationSuccessData schemaVersionValidationSuccess) + { + if (!schemaVersionValidationSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess(schemaVersionValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionValidationSuccess.State!.Value, MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ChangesNonNullableArray(schemaVersionValidationSuccess.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) + { + if (!validationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress(validationInProgress.__typename ?? throw new global::System.ArgumentNullException(), validationInProgress.State!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaVersionValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationErrorData child in list) + { + schemaVersionValidationErrors.Add(MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors(child)); + } + + return schemaVersionValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationErrorData data) + { + IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData schemaVersionChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError(schemaVersionChangeViolationError.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(schemaVersionChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) + { + if (!schemaVersionSyntaxError.Column.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Position.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Line.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) + { + graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; + if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData child in list) + { + mcpFeatureCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(data.McpFeatureCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData child in list) + { + mcpFeatureCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData mcpFeatureCollectionValidationPrompt) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationPrompt.Errors), mcpFeatureCollectionValidationPrompt.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData mcpFeatureCollectionValidationTool) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationTool.Errors), mcpFeatureCollectionValidationTool.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData child in list) + { + mcpFeatureCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData mcpFeatureCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(mcpFeatureCollectionValidationDocumentError.Code, mcpFeatureCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(mcpFeatureCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData mcpFeatureCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(mcpFeatureCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData child in list) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) + { + openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) + { + openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) + { + openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) + { + openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) + { + persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries returnValue = default !; + if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) + { + persistedQueryErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors returnValue = default !; + if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) + { + persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations returnValue = default !; + if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) + { + directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) + { + if (!directiveLocationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationAdded.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) + { + if (!directiveLocationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationRemoved.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) + { + argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) + { + enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) + { + if (!enumValueAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) + { + if (!enumValueChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) + { + if (!enumValueRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) + { + enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) + { + inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) + { + if (!inputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) + { + inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) + { + interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) + { + if (!possibleTypeAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) + { + if (!possibleTypeRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) + { + outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) + { + objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) + { + scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) + { + unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) + { + if (!unionMemberAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) + { + if (!unionMemberRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdatedResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public OnSchemaVersionValidationUpdatedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationResultData onSchemaVersionValidationUpdate) + { + OnSchemaVersionValidationUpdate = onSchemaVersionValidationUpdate; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationResultData OnSchemaVersionValidationUpdate { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new OnSchemaVersionValidationUpdatedResultInfo(OnSchemaVersionValidationUpdate); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStagesResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public UpdateStagesResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUpdateStagesResult); + + public UpdateStagesResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is UpdateStagesResultInfo info) + { + return new UpdateStagesResult(MapNonNullableIUpdateStages_UpdateStages(info.UpdateStages)); + } + + throw new global::System.ArgumentException("UpdateStagesResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages MapNonNullableIUpdateStages_UpdateStages(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData data) + { + IUpdateStages_UpdateStages returnValue = default !; + if (data.__typename.Equals("UpdateStagesPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new UpdateStages_UpdateStages_UpdateStagesPayload(MapIUpdateStages_UpdateStages_Api(data.Api), MapIUpdateStages_UpdateStages_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api? MapIUpdateStages_UpdateStages_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + IUpdateStages_UpdateStages_Api returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UpdateStages_UpdateStages_Api_Api(MapNonNullableIUpdateStages_UpdateStages_Api_StagesNonNullableArray(data.Stages ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Api_StagesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var stages = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.StageData child in list) + { + stages.Add(MapNonNullableIUpdateStages_UpdateStages_Api_Stages(child)); + } + + return stages; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages MapNonNullableIUpdateStages_UpdateStages_Api_Stages(global::ChilliCream.Nitro.CommandLine.Client.State.StageData data) + { + IUpdateStages_UpdateStages_Api_Stages returnValue = default !; + if (data.__typename.Equals("Stage", global::System.StringComparison.Ordinal)) + { + returnValue = new UpdateStages_UpdateStages_Api_Stages_Stage(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.DisplayName ?? throw new global::System.ArgumentNullException(), MapNonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(data.Conditions ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var stageConditions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData child in list) + { + stageConditions.Add(MapNonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(child)); + } + + return stageConditions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions MapNonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData data) + { + IUpdateStages_UpdateStages_Api_Stages_Conditions? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.AfterStageConditionData afterStageCondition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition(MapIUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(afterStageCondition.AfterStage)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? MapIUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) + { + if (data is null) + { + return null; + } + + IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage returnValue = default !; + if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIUpdateStages_UpdateStages_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var updateStagesErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesErrorData child in list) + { + updateStagesErrors.Add(MapNonNullableIUpdateStages_UpdateStages_Errors(child)); + } + + return updateStagesErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors MapNonNullableIUpdateStages_UpdateStages_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesErrorData data) + { + IUpdateStages_UpdateStages_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StagesHavePublishedDependenciesErrorData stagesHavePublishedDependenciesError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Errors_StagesHavePublishedDependenciesError(stagesHavePublishedDependenciesError.__typename ?? throw new global::System.ArgumentNullException(), stagesHavePublishedDependenciesError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIUpdateStages_UpdateStages_Errors_StagesNonNullableArray(stagesHavePublishedDependenciesError.Stages)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageValidationErrorData stageValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Errors_StageValidationError(stageValidationError.Message ?? throw new global::System.ArgumentNullException(), stageValidationError.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Errors_StagesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var stages = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.StageData child in list) + { + stages.Add(MapNonNullableIUpdateStages_UpdateStages_Errors_Stages(child)); + } + + return stages; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages MapNonNullableIUpdateStages_UpdateStages_Errors_Stages(global::ChilliCream.Nitro.CommandLine.Client.State.StageData data) + { + IUpdateStages_UpdateStages_Errors_Stages returnValue = default !; + if (data.__typename.Equals("Stage", global::System.StringComparison.Ordinal)) + { + returnValue = new UpdateStages_UpdateStages_Errors_Stages_Stage(data.Name ?? throw new global::System.ArgumentNullException(), MapIUpdateStages_UpdateStages_Errors_Stages_PublishedSchema(data.PublishedSchema), MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClientsNonNullableArray(data.PublishedClients ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema? MapIUpdateStages_UpdateStages_Errors_Stages_PublishedSchema(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData? data) + { + if (data is null) + { + return null; + } + + IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema returnValue = default !; + if (data?.__typename.Equals("PublishedSchemaVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_PublishedSchemaVersion(MapIUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version(data.Version)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version? MapIUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? data) + { + if (data is null) + { + return null; + } + + IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version returnValue = default !; + if (data?.__typename.Equals("SchemaVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version_SchemaVersion(data.Tag ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClientsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClients = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientData child in list) + { + publishedClients.Add(MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients(child)); + } + + return publishedClients; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientData data) + { + IUpdateStages_UpdateStages_Errors_Stages_PublishedClients returnValue = default !; + if (data.__typename.Equals("PublishedClient", global::System.StringComparison.Ordinal)) + { + returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedClient(MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client(data.Client ?? throw new global::System.ArgumentNullException()), MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersionsNonNullableArray(data.PublishedVersions ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData data) + { + IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client returnValue = default !; + if (data.__typename.Equals("Client", global::System.StringComparison.Ordinal)) + { + returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client_Client(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) + { + publishedClientVersions.Add(MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions MapNonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) + { + IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions returnValue = default !; + if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_PublishedClientVersion(MapIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version(data.Version)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version? MapIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? data) + { + if (data is null) + { + return null; + } + + IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version returnValue = default !; + if (data?.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version_ClientVersion(data.Tag ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStagesResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public UpdateStagesResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData updateStages) + { + UpdateStages = updateStages; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData UpdateStages { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new UpdateStagesResultInfo(UpdateStages); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListStagesQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListStagesQueryResult); + + public ListStagesQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListStagesQueryResultInfo info) + { + return new ListStagesQueryResult(MapIListStagesQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("ListStagesQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node? MapIListStagesQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IListStagesQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Api(MapNonNullableIListStagesQuery_Node_StagesNonNullableArray(api.Stages)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Client(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ListStagesQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIListStagesQuery_Node_StagesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var stages = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.StageData child in list) + { + stages.Add(MapNonNullableIListStagesQuery_Node_Stages(child)); + } + + return stages; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListStagesQuery_Node_Stages MapNonNullableIListStagesQuery_Node_Stages(global::ChilliCream.Nitro.CommandLine.Client.State.StageData data) + { + IListStagesQuery_Node_Stages returnValue = default !; + if (data.__typename.Equals("Stage", global::System.StringComparison.Ordinal)) + { + returnValue = new ListStagesQuery_Node_Stages_Stage(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.DisplayName ?? throw new global::System.ArgumentNullException(), MapNonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(data.Conditions ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var stageConditions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData child in list) + { + stageConditions.Add(MapNonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(child)); + } + + return stageConditions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions MapNonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData data) + { + IUpdateStages_UpdateStages_Api_Stages_Conditions? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.AfterStageConditionData afterStageCondition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStageCondition(MapIUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(afterStageCondition.AfterStage)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage? MapIUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) + { + if (data is null) + { + return null; + } + + IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage returnValue = default !; + if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new UpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListStagesQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListOpenApiCollectionCommandQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public PublishOpenApiCollectionCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutationResult); - - public PublishOpenApiCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is PublishOpenApiCollectionCommandMutationResultInfo info) - { - return new PublishOpenApiCollectionCommandMutationResult(MapNonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection(info.PublishOpenApiCollection)); - } - - throw new global::System.ArgumentException("PublishOpenApiCollectionCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection MapNonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData data) - { - IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection returnValue = default !; - if (data.__typename.Equals("PublishOpenApiCollectionPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_PublishOpenApiCollectionPayload(data.Id, MapIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var publishOpenApiCollectionErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionErrorData child in list) - { - publishOpenApiCollectionErrors.Add(MapNonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors(child)); - } - - return publishOpenApiCollectionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors MapNonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionErrorData data) - { - IPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData openApiCollectionNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionNotFoundError(openApiCollectionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException(), openApiCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionNotFoundErrorData openApiCollectionVersionNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandMutation_PublishOpenApiCollection_Errors_OpenApiCollectionVersionNotFoundError(openApiCollectionVersionNotFoundError.Tag ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public PublishOpenApiCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData publishOpenApiCollection) - { - PublishOpenApiCollection = publishOpenApiCollection; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData PublishOpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new PublishOpenApiCollectionCommandMutationResultInfo(PublishOpenApiCollection); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscriptionResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public PublishOpenApiCollectionCommandSubscriptionResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscriptionResult); - - public PublishOpenApiCollectionCommandSubscriptionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is PublishOpenApiCollectionCommandSubscriptionResultInfo info) - { - return new PublishOpenApiCollectionCommandSubscriptionResult(MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate(info.OnOpenApiCollectionVersionPublishingUpdate)); - } - - throw new global::System.ArgumentException("PublishOpenApiCollectionCommandSubscriptionResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishResultData data) - { - IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionPublishFailedData openApiCollectionVersionPublishFailed) - { - if (!openApiCollectionVersionPublishFailed.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishFailed(openApiCollectionVersionPublishFailed.__typename ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionPublishFailed.State!.Value, MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ErrorsNonNullableArray(openApiCollectionVersionPublishFailed.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionPublishSuccessData openApiCollectionVersionPublishSuccess) - { - if (!openApiCollectionVersionPublishSuccess.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OpenApiCollectionVersionPublishSuccess(openApiCollectionVersionPublishSuccess.__typename ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionPublishSuccess.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) - { - if (!operationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) - { - if (!processingTaskApproved.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskApproved(processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException(), processingTaskApproved.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) - { - if (!processingTaskIsQueued.QueuePosition.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsQueued(processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ProcessingTaskIsReady(processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) - { - if (!waitForApproval.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_WaitForApproval(waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), waitForApproval.State!.Value, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionVersionPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishErrorData child in list) - { - openApiCollectionVersionPublishErrors.Add(MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors(child)); - } - - return openApiCollectionVersionPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors MapNonNullableIPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishErrorData data) - { - IPublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_ReadyTimeoutError(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionPublishingUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) - { - openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; - if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) - { - openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) - { - openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) - { - openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(openApiCollectionDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(schemaDeployment.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var clientDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) - { - clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); - } - - return clientDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) - { - persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries returnValue = default !; - if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) - { - persistedQueryErrors.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors returnValue = default !; - if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) - { - persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations returnValue = default !; - if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) - { - fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); - } - - return fusionConfigurationDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) - { - directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) - { - if (!directiveLocationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationAdded.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) - { - if (!directiveLocationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationRemoved.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) - { - argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) - { - enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) - { - if (!enumValueAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) - { - if (!enumValueChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) - { - if (!enumValueRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) - { - enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) - { - inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) - { - if (!inputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) - { - inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) - { - interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) - { - if (!possibleTypeAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) - { - if (!possibleTypeRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) - { - outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) - { - objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) - { - scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) - { - unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) - { - if (!unionMemberAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) - { - if (!unionMemberRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) - { - graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; - if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) - { - openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); - } - - return openApiCollectionDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) - { - schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); - } - - return schemaDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) - { - if (!schemaVersionSyntaxError.Column.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Position.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Line.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscriptionResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public PublishOpenApiCollectionCommandSubscriptionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishResultData onOpenApiCollectionVersionPublishingUpdate) - { - OnOpenApiCollectionVersionPublishingUpdate = onOpenApiCollectionVersionPublishingUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishResultData OnOpenApiCollectionVersionPublishingUpdate { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new PublishOpenApiCollectionCommandSubscriptionResultInfo(OnOpenApiCollectionVersionPublishingUpdate); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ValidateOpenApiCollectionCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutationResult); - - public ValidateOpenApiCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ValidateOpenApiCollectionCommandMutationResultInfo info) - { - return new ValidateOpenApiCollectionCommandMutationResult(MapNonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection(info.ValidateOpenApiCollection)); - } - - throw new global::System.ArgumentException("ValidateOpenApiCollectionCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection MapNonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData data) - { - IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection returnValue = default !; - if (data.__typename.Equals("ValidateOpenApiCollectionPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ValidateOpenApiCollectionPayload(data.Id, MapIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var validateOpenApiCollectionErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionErrorData child in list) - { - validateOpenApiCollectionErrors.Add(MapNonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors(child)); - } - - return validateOpenApiCollectionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors MapNonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionErrorData data) - { - IValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData openApiCollectionNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_OpenApiCollectionNotFoundError(openApiCollectionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException(), openApiCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ValidateOpenApiCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData validateOpenApiCollection) - { - ValidateOpenApiCollection = validateOpenApiCollection; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData ValidateOpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ValidateOpenApiCollectionCommandMutationResultInfo(ValidateOpenApiCollection); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscriptionResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ValidateOpenApiCollectionCommandSubscriptionResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscriptionResult); - - public ValidateOpenApiCollectionCommandSubscriptionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ValidateOpenApiCollectionCommandSubscriptionResultInfo info) - { - return new ValidateOpenApiCollectionCommandSubscriptionResult(MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate(info.OnOpenApiCollectionVersionValidationUpdate)); - } - - throw new global::System.ArgumentException("ValidateOpenApiCollectionCommandSubscriptionResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationResultData data) - { - IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionValidationFailedData openApiCollectionVersionValidationFailed) - { - if (!openApiCollectionVersionValidationFailed.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationFailed(openApiCollectionVersionValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionValidationFailed.State!.Value, MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ErrorsNonNullableArray(openApiCollectionVersionValidationFailed.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionValidationSuccessData openApiCollectionVersionValidationSuccess) - { - if (!openApiCollectionVersionValidationSuccess.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OpenApiCollectionVersionValidationSuccess(openApiCollectionVersionValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), openApiCollectionVersionValidationSuccess.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) - { - if (!operationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) - { - if (!validationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ValidationInProgress(validationInProgress.__typename ?? throw new global::System.ArgumentNullException(), validationInProgress.State!.Value); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionVersionValidationErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationErrorData child in list) - { - openApiCollectionVersionValidationErrors.Add(MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors(child)); - } - - return openApiCollectionVersionValidationErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors MapNonNullableIValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationErrorData data) - { - IValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationArchiveErrorData openApiCollectionValidationArchiveError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationArchiveError(openApiCollectionValidationArchiveError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_ReadyTimeoutError(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateOpenApiCollectionCommandSubscription_OnOpenApiCollectionVersionValidationUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) - { - openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; - if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) - { - openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) - { - openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) - { - openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscriptionResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ValidateOpenApiCollectionCommandSubscriptionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationResultData onOpenApiCollectionVersionValidationUpdate) - { - OnOpenApiCollectionVersionValidationUpdate = onOpenApiCollectionVersionValidationUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationResultData OnOpenApiCollectionVersionValidationUpdate { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ValidateOpenApiCollectionCommandSubscriptionResultInfo(OnOpenApiCollectionVersionValidationUpdate); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CreateOpenApiCollectionCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutationResult); - - public CreateOpenApiCollectionCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CreateOpenApiCollectionCommandMutationResultInfo info) - { - return new CreateOpenApiCollectionCommandMutationResult(MapNonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection(info.CreateOpenApiCollection)); - } - - throw new global::System.ArgumentException("CreateOpenApiCollectionCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection MapNonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData data) - { - ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection returnValue = default !; - if (data.__typename.Equals("CreateOpenApiCollectionPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_CreateOpenApiCollectionPayload(MapICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection(data.OpenApiCollection), MapICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection? MapICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) - { - if (data is null) - { - return null; - } - - ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection returnValue = default !; - if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection_OpenApiCollection(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var createOpenApiCollectionErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionErrorData child in list) - { - createOpenApiCollectionErrors.Add(MapNonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors(child)); - } - - return createOpenApiCollectionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors MapNonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionErrorData data) - { - ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_ApiNotFoundError(apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CreateOpenApiCollectionCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData createOpenApiCollection) - { - CreateOpenApiCollection = createOpenApiCollection; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData CreateOpenApiCollection { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CreateOpenApiCollectionCommandMutationResultInfo(CreateOpenApiCollection); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public DeleteOpenApiCollectionByIdCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutationResult); - - public DeleteOpenApiCollectionByIdCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is DeleteOpenApiCollectionByIdCommandMutationResultInfo info) - { - return new DeleteOpenApiCollectionByIdCommandMutationResult(MapNonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById(info.DeleteOpenApiCollectionById)); - } - - throw new global::System.ArgumentException("DeleteOpenApiCollectionByIdCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById MapNonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData data) - { - IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById returnValue = default !; - if (data.__typename.Equals("DeleteOpenApiCollectionByIdPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_DeleteOpenApiCollectionByIdPayload(MapIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection(data.OpenApiCollection), MapIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection? MapIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) - { - if (data is null) - { - return null; - } - - IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection returnValue = default !; - if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection_OpenApiCollection(data.Name ?? throw new global::System.ArgumentNullException(), data.Id ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var deleteOpenApiCollectionByIdErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdErrorData child in list) - { - deleteOpenApiCollectionByIdErrors.Add(MapNonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors(child)); - } - - return deleteOpenApiCollectionByIdErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors MapNonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdErrorData data) - { - IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData openApiCollectionNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_OpenApiCollectionNotFoundError(openApiCollectionNotFoundError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionNotFoundError.OpenApiCollectionId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.DeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public DeleteOpenApiCollectionByIdCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData deleteOpenApiCollectionById) - { - DeleteOpenApiCollectionById = deleteOpenApiCollectionById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData DeleteOpenApiCollectionById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new DeleteOpenApiCollectionByIdCommandMutationResultInfo(DeleteOpenApiCollectionById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ShowWorkspaceCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryResult); - - public ShowWorkspaceCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ShowWorkspaceCommandQueryResultInfo info) - { - return new ShowWorkspaceCommandQueryResult(MapIShowWorkspaceCommandQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("ShowWorkspaceCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQuery_Node? MapIShowWorkspaceCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IShowWorkspaceCommandQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Api(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Client(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Environment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - if (!workspace.Personal.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Workspace(workspace.Id ?? throw new global::System.ArgumentNullException(), workspace.Name ?? throw new global::System.ArgumentNullException(), workspace.Personal!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ShowWorkspaceCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListStagesQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CreateWorkspaceCommandMutationResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationResult); + + public CreateWorkspaceCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CreateWorkspaceCommandMutationResultInfo info) + { + return new CreateWorkspaceCommandMutationResult(MapNonNullableICreateWorkspaceCommandMutation_CreateWorkspace(info.CreateWorkspace)); + } + + throw new global::System.ArgumentException("CreateWorkspaceCommandMutationResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace MapNonNullableICreateWorkspaceCommandMutation_CreateWorkspace(global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData data) + { + ICreateWorkspaceCommandMutation_CreateWorkspace returnValue = default !; + if (data.__typename.Equals("CreateWorkspacePayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload(MapICreateWorkspaceCommandMutation_CreateWorkspace_Workspace(data.Workspace), MapICreateWorkspaceCommandMutation_CreateWorkspace_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace? MapICreateWorkspaceCommandMutation_CreateWorkspace_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Personal ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateWorkspaceCommandMutation_CreateWorkspace_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var createWorkspaceErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceErrorData child in list) + { + createWorkspaceErrors.Add(MapNonNullableICreateWorkspaceCommandMutation_CreateWorkspace_Errors(child)); + } + + return createWorkspaceErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Errors MapNonNullableICreateWorkspaceCommandMutation_CreateWorkspace_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceErrorData data) + { + ICreateWorkspaceCommandMutation_CreateWorkspace_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError(validationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CreateWorkspaceCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData createWorkspace) + { + CreateWorkspace = createWorkspace; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData CreateWorkspace { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CreateWorkspaceCommandMutationResultInfo(CreateWorkspace); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ListWorkspaceCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryResult); + + public ListWorkspaceCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ListWorkspaceCommandQueryResultInfo info) + { + return new ListWorkspaceCommandQueryResult(MapIListWorkspaceCommandQuery_Me(info.Me)); + } + + throw new global::System.ArgumentException("ListWorkspaceCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me? MapIListWorkspaceCommandQuery_Me(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? data) + { + if (data is null) + { + return null; + } + + IListWorkspaceCommandQuery_Me returnValue = default !; + if (data?.__typename.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListWorkspaceCommandQuery_Me_Viewer(MapIListWorkspaceCommandQuery_Me_Workspaces(data.Workspaces)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces? MapIListWorkspaceCommandQuery_Me_Workspaces(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? data) + { + if (data is null) + { + return null; + } + + IListWorkspaceCommandQuery_Me_Workspaces returnValue = default !; + if (data?.__typename.Equals("WorkspacesConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection(MapIListWorkspaceCommandQuery_Me_Workspaces_EdgesNonNullableArray(data.Edges), MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIListWorkspaceCommandQuery_Me_Workspaces_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var workspacesEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData child in list) + { + workspacesEdges.Add(MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges(child)); + } + + return workspacesEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData data) + { + IListWorkspaceCommandQuery_Me_Workspaces_Edges returnValue = default !; + if (data.__typename.Equals("WorkspacesEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData data) + { + IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node returnValue = default !; + if (data.__typename.Equals("Workspace", global::System.StringComparison.Ordinal)) + { + returnValue = new ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Personal ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_PageInfo MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IListWorkspaceCommandQuery_Me_Workspaces_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ListWorkspaceCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? me) + { + Me = me; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Me { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ListWorkspaceCommandQueryResultInfo(Me); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryResult); + + public SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo info) + { + return new SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult(MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me(info.Me)); + } + + throw new global::System.ArgumentException("SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me? MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? data) + { + if (data is null) + { + return null; + } + + ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me returnValue = default !; + if (data?.__typename.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer(MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces(data.Workspaces)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces? MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? data) + { + if (data is null) + { + return null; + } + + ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces returnValue = default !; + if (data?.__typename.Equals("WorkspacesConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection(MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_EdgesNonNullableArray(data.Edges), MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var workspacesEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData child in list) + { + workspacesEdges.Add(MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges(child)); + } + + return workspacesEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData data) + { + ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges returnValue = default !; + if (data.__typename.Equals("WorkspacesEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData data) + { + ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node returnValue = default !; + if (data.__typename.Equals("Workspace", global::System.StringComparison.Ordinal)) + { + returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Personal ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? me) + { + Me = me; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Me { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo(Me); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ShowWorkspaceCommandQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQueryResult); + + public ShowWorkspaceCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ShowWorkspaceCommandQueryResultInfo info) + { + return new ShowWorkspaceCommandQueryResult(MapIShowWorkspaceCommandQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("ShowWorkspaceCommandQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IShowWorkspaceCommandQuery_Node? MapIShowWorkspaceCommandQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IShowWorkspaceCommandQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Api(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Client(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + if (!workspace.Personal.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_Workspace(workspace.Id ?? throw new global::System.ArgumentNullException(), workspace.Name ?? throw new global::System.ArgumentNullException(), workspace.Personal!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ShowWorkspaceCommandQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ShowWorkspaceCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ShowWorkspaceCommandQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutationResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CreateWorkspaceCommandMutationResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutationResult); - - public CreateWorkspaceCommandMutationResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CreateWorkspaceCommandMutationResultInfo info) - { - return new CreateWorkspaceCommandMutationResult(MapNonNullableICreateWorkspaceCommandMutation_CreateWorkspace(info.CreateWorkspace)); - } - - throw new global::System.ArgumentException("CreateWorkspaceCommandMutationResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace MapNonNullableICreateWorkspaceCommandMutation_CreateWorkspace(global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData data) - { - ICreateWorkspaceCommandMutation_CreateWorkspace returnValue = default !; - if (data.__typename.Equals("CreateWorkspacePayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateWorkspaceCommandMutation_CreateWorkspace_CreateWorkspacePayload(MapICreateWorkspaceCommandMutation_CreateWorkspace_Workspace(data.Workspace), MapICreateWorkspaceCommandMutation_CreateWorkspace_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace? MapICreateWorkspaceCommandMutation_CreateWorkspace_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new CreateWorkspaceCommandMutation_CreateWorkspace_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Personal ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICreateWorkspaceCommandMutation_CreateWorkspace_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var createWorkspaceErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceErrorData child in list) - { - createWorkspaceErrors.Add(MapNonNullableICreateWorkspaceCommandMutation_CreateWorkspace_Errors(child)); - } - - return createWorkspaceErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateWorkspaceCommandMutation_CreateWorkspace_Errors MapNonNullableICreateWorkspaceCommandMutation_CreateWorkspace_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceErrorData data) - { - ICreateWorkspaceCommandMutation_CreateWorkspace_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceCommandMutation_CreateWorkspace_Errors_UnauthorizedOperation(unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData validationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CreateWorkspaceCommandMutation_CreateWorkspace_Errors_ValidationError(validationError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutationResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CreateWorkspaceCommandMutationResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData createWorkspace) - { - CreateWorkspace = createWorkspace; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData CreateWorkspace { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CreateWorkspaceCommandMutationResultInfo(CreateWorkspace); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ListWorkspaceCommandQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQueryResult); - - public ListWorkspaceCommandQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ListWorkspaceCommandQueryResultInfo info) - { - return new ListWorkspaceCommandQueryResult(MapIListWorkspaceCommandQuery_Me(info.Me)); - } - - throw new global::System.ArgumentException("ListWorkspaceCommandQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me? MapIListWorkspaceCommandQuery_Me(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? data) - { - if (data is null) - { - return null; - } - - IListWorkspaceCommandQuery_Me returnValue = default !; - if (data?.__typename.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListWorkspaceCommandQuery_Me_Viewer(MapIListWorkspaceCommandQuery_Me_Workspaces(data.Workspaces)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces? MapIListWorkspaceCommandQuery_Me_Workspaces(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? data) - { - if (data is null) - { - return null; - } - - IListWorkspaceCommandQuery_Me_Workspaces returnValue = default !; - if (data?.__typename.Equals("WorkspacesConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ListWorkspaceCommandQuery_Me_Workspaces_WorkspacesConnection(MapIListWorkspaceCommandQuery_Me_Workspaces_EdgesNonNullableArray(data.Edges), MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIListWorkspaceCommandQuery_Me_Workspaces_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var workspacesEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData child in list) - { - workspacesEdges.Add(MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges(child)); - } - - return workspacesEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData data) - { - IListWorkspaceCommandQuery_Me_Workspaces_Edges returnValue = default !; - if (data.__typename.Equals("WorkspacesEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ListWorkspaceCommandQuery_Me_Workspaces_Edges_WorkspacesEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData data) - { - IListWorkspaceCommandQuery_Me_Workspaces_Edges_Node returnValue = default !; - if (data.__typename.Equals("Workspace", global::System.StringComparison.Ordinal)) - { - returnValue = new ListWorkspaceCommandQuery_Me_Workspaces_Edges_Node_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Personal ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IListWorkspaceCommandQuery_Me_Workspaces_PageInfo MapNonNullableIListWorkspaceCommandQuery_Me_Workspaces_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IListWorkspaceCommandQuery_Me_Workspaces_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ListWorkspaceCommandQuery_Me_Workspaces_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ListWorkspaceCommandQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? me) - { - Me = me; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Me { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ListWorkspaceCommandQueryResultInfo(Me); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_QueryResult); - - public SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo info) - { - return new SetDefaultWorkspaceCommand_SelectWorkspace_QueryResult(MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me(info.Me)); - } - - throw new global::System.ArgumentException("SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me? MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? data) - { - if (data is null) - { - return null; - } - - ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me returnValue = default !; - if (data?.__typename.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Viewer(MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces(data.Workspaces)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces? MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? data) - { - if (data is null) - { - return null; - } - - ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces returnValue = default !; - if (data?.__typename.Equals("WorkspacesConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_WorkspacesConnection(MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_EdgesNonNullableArray(data.Edges), MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var workspacesEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData child in list) - { - workspacesEdges.Add(MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges(child)); - } - - return workspacesEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData data) - { - ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges returnValue = default !; - if (data.__typename.Equals("WorkspacesEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_WorkspacesEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData data) - { - ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node returnValue = default !; - if (data.__typename.Equals("Workspace", global::System.StringComparison.Ordinal)) - { - returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Personal ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo MapNonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new SetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? me) - { - Me = me; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Me { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo(Me); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersionResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public PublishSchemaVersionResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersionResult); - - public PublishSchemaVersionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is PublishSchemaVersionResultInfo info) - { - return new PublishSchemaVersionResult(MapNonNullableIPublishSchemaVersion_PublishSchema(info.PublishSchema)); - } - - throw new global::System.ArgumentException("PublishSchemaVersionResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema MapNonNullableIPublishSchemaVersion_PublishSchema(global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData data) - { - IPublishSchemaVersion_PublishSchema returnValue = default !; - if (data.__typename.Equals("PublishSchemaPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new PublishSchemaVersion_PublishSchema_PublishSchemaPayload(data.Id, MapIPublishSchemaVersion_PublishSchema_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIPublishSchemaVersion_PublishSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var publishSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaErrorData child in list) - { - publishSchemaErrors.Add(MapNonNullableIPublishSchemaVersion_PublishSchema_Errors(child)); - } - - return publishSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPublishSchemaVersion_PublishSchema_Errors MapNonNullableIPublishSchemaVersion_PublishSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaErrorData data) - { - IPublishSchemaVersion_PublishSchema_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersion_PublishSchema_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersion_PublishSchema_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaNotFoundErrorData schemaNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersion_PublishSchema_Errors_SchemaNotFoundError(schemaNotFoundError.Message ?? throw new global::System.ArgumentNullException(), schemaNotFoundError.ApiId ?? throw new global::System.ArgumentNullException(), schemaNotFoundError.Tag ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PublishSchemaVersion_PublishSchema_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersionResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public PublishSchemaVersionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData publishSchema) - { - PublishSchema = publishSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData PublishSchema { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new PublishSchemaVersionResultInfo(PublishSchema); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdatedResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public OnSchemaVersionPublishUpdatedResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdatedResult); - - public OnSchemaVersionPublishUpdatedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is OnSchemaVersionPublishUpdatedResultInfo info) - { - return new OnSchemaVersionPublishUpdatedResult(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate(info.OnSchemaVersionPublishingUpdate)); - } - - throw new global::System.ArgumentException("OnSchemaVersionPublishUpdatedResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishResultData data) - { - IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) - { - if (!operationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) - { - if (!processingTaskApproved.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskApproved(processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException(), processingTaskApproved.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) - { - if (!processingTaskIsQueued.QueuePosition.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsQueued(processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ProcessingTaskIsReady(processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionPublishFailedData schemaVersionPublishFailed) - { - if (!schemaVersionPublishFailed.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishFailed(schemaVersionPublishFailed.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionPublishFailed.State!.Value, MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ErrorsNonNullableArray(schemaVersionPublishFailed.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionPublishSuccessData schemaVersionPublishSuccess) - { - if (!schemaVersionPublishSuccess.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_SchemaVersionPublishSuccess(schemaVersionPublishSuccess.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionPublishSuccess.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) - { - if (!waitForApproval.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_WaitForApproval(waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), waitForApproval.State!.Value, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaVersionPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishErrorData child in list) - { - schemaVersionPublishErrors.Add(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors(child)); - } - - return schemaVersionPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishErrorData data) - { - IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ReadyTimeoutError(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData schemaVersionChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionChangeViolationError(schemaVersionChangeViolationError.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(schemaVersionChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) - { - if (!schemaVersionSyntaxError.Column.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Position.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Line.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) - { - graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; - if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) - { - openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; - if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) - { - openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) - { - openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) - { - openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) - { - persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries returnValue = default !; - if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) - { - persistedQueryErrors.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors returnValue = default !; - if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) - { - persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations returnValue = default !; - if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) - { - directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) - { - if (!directiveLocationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationAdded.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) - { - if (!directiveLocationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationRemoved.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) - { - argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) - { - enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) - { - if (!enumValueAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) - { - if (!enumValueChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) - { - if (!enumValueRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) - { - enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) - { - inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) - { - if (!inputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) - { - inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) - { - interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) - { - if (!possibleTypeAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) - { - if (!possibleTypeRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) - { - outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) - { - objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) - { - scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) - { - unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) - { - if (!unionMemberAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) - { - if (!unionMemberRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(openApiCollectionDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(schemaDeployment.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var clientDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) - { - clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); - } - - return clientDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) - { - fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); - } - - return fusionConfigurationDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) - { - openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); - } - - return openApiCollectionDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) - { - schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); - } - - return schemaDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) - { - if (!schemaVersionSyntaxError.Column.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Position.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Line.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdatedResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public OnSchemaVersionPublishUpdatedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishResultData onSchemaVersionPublishingUpdate) - { - OnSchemaVersionPublishingUpdate = onSchemaVersionPublishingUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishResultData OnSchemaVersionPublishingUpdate { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new OnSchemaVersionPublishUpdatedResultInfo(OnSchemaVersionPublishingUpdate); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchemaResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public UploadSchemaResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IUploadSchemaResult); - - public UploadSchemaResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is UploadSchemaResultInfo info) - { - return new UploadSchemaResult(MapNonNullableIUploadSchema_UploadSchema(info.UploadSchema)); - } - - throw new global::System.ArgumentException("UploadSchemaResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema MapNonNullableIUploadSchema_UploadSchema(global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData data) - { - IUploadSchema_UploadSchema returnValue = default !; - if (data.__typename.Equals("UploadSchemaPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new UploadSchema_UploadSchema_UploadSchemaPayload(MapIUploadSchema_UploadSchema_SchemaVersion(data.SchemaVersion), MapIUploadSchema_UploadSchema_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_SchemaVersion? MapIUploadSchema_UploadSchema_SchemaVersion(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? data) - { - if (data is null) - { - return null; - } - - IUploadSchema_UploadSchema_SchemaVersion returnValue = default !; - if (data?.__typename.Equals("SchemaVersion", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new UploadSchema_UploadSchema_SchemaVersion_SchemaVersion(data.Id ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIUploadSchema_UploadSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var uploadSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaErrorData child in list) - { - uploadSchemaErrors.Add(MapNonNullableIUploadSchema_UploadSchema_Errors(child)); - } - - return uploadSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IUploadSchema_UploadSchema_Errors MapNonNullableIUploadSchema_UploadSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaErrorData data) - { - IUploadSchema_UploadSchema_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadSchema_UploadSchema_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadSchema_UploadSchema_Errors_ConcurrentOperationError(concurrentOperationError.__typename ?? throw new global::System.ArgumentNullException(), concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData duplicatedTagError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadSchema_UploadSchema_Errors_DuplicatedTagError(duplicatedTagError.__typename ?? throw new global::System.ArgumentNullException(), duplicatedTagError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.UploadSchema_UploadSchema_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchemaResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public UploadSchemaResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData uploadSchema) - { - UploadSchema = uploadSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData UploadSchema { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new UploadSchemaResultInfo(UploadSchema); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersionResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ValidateSchemaVersionResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersionResult); - - public ValidateSchemaVersionResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ValidateSchemaVersionResultInfo info) - { - return new ValidateSchemaVersionResult(MapNonNullableIValidateSchemaVersion_ValidateSchema(info.ValidateSchema)); - } - - throw new global::System.ArgumentException("ValidateSchemaVersionResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema MapNonNullableIValidateSchemaVersion_ValidateSchema(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData data) - { - IValidateSchemaVersion_ValidateSchema returnValue = default !; - if (data.__typename.Equals("ValidateSchemaPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new ValidateSchemaVersion_ValidateSchema_ValidateSchemaPayload(data.Id, MapIValidateSchemaVersion_ValidateSchema_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIValidateSchemaVersion_ValidateSchema_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var validateSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaErrorData child in list) - { - validateSchemaErrors.Add(MapNonNullableIValidateSchemaVersion_ValidateSchema_Errors(child)); - } - - return validateSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateSchemaVersion_ValidateSchema_Errors MapNonNullableIValidateSchemaVersion_ValidateSchema_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaErrorData data) - { - IValidateSchemaVersion_ValidateSchema_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersion_ValidateSchema_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaNotFoundErrorData schemaNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersion_ValidateSchema_Errors_SchemaNotFoundError(schemaNotFoundError.Message ?? throw new global::System.ArgumentNullException(), schemaNotFoundError.ApiId ?? throw new global::System.ArgumentNullException(), schemaNotFoundError.Tag ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersion_ValidateSchema_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateSchemaVersion_ValidateSchema_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersionResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ValidateSchemaVersionResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData validateSchema) - { - ValidateSchema = validateSchema; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData ValidateSchema { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ValidateSchemaVersionResultInfo(ValidateSchema); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdatedResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public OnSchemaVersionValidationUpdatedResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdatedResult); - - public OnSchemaVersionValidationUpdatedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is OnSchemaVersionValidationUpdatedResultInfo info) - { - return new OnSchemaVersionValidationUpdatedResult(MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate(info.OnSchemaVersionValidationUpdate)); - } - - throw new global::System.ArgumentException("OnSchemaVersionValidationUpdatedResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationResultData data) - { - IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) - { - if (!operationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_OperationInProgress(operationInProgress.__typename ?? throw new global::System.ArgumentNullException(), operationInProgress.State!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionValidationFailedData schemaVersionValidationFailed) - { - if (!schemaVersionValidationFailed.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationFailed(schemaVersionValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionValidationFailed.State!.Value, MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ErrorsNonNullableArray(schemaVersionValidationFailed.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionValidationSuccessData schemaVersionValidationSuccess) - { - if (!schemaVersionValidationSuccess.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_SchemaVersionValidationSuccess(schemaVersionValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionValidationSuccess.State!.Value, MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ChangesNonNullableArray(schemaVersionValidationSuccess.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) - { - if (!validationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ValidationInProgress(validationInProgress.__typename ?? throw new global::System.ArgumentNullException(), validationInProgress.State!.Value); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaVersionValidationErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationErrorData child in list) - { - schemaVersionValidationErrors.Add(MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors(child)); - } - - return schemaVersionValidationErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationErrorData data) - { - IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ProcessingTimeoutError(processingTimeoutError.__typename ?? throw new global::System.ArgumentNullException(), processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_ReadyTimeoutError(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData schemaVersionChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionChangeViolationError(schemaVersionChangeViolationError.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(schemaVersionChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) - { - if (!schemaVersionSyntaxError.Column.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Position.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Line.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Errors_UnexpectedProcessingError(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) - { - graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; - if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) - { - openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; - if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) - { - openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) - { - openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) - { - openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) - { - persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries returnValue = default !; - if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) - { - persistedQueryErrors.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors returnValue = default !; - if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) - { - persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations returnValue = default !; - if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) - { - directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) - { - if (!directiveLocationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationAdded.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) - { - if (!directiveLocationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationRemoved.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) - { - argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) - { - enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) - { - if (!enumValueAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) - { - if (!enumValueChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) - { - if (!enumValueRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) - { - enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) - { - inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) - { - if (!inputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) - { - inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) - { - interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) - { - if (!possibleTypeAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) - { - if (!possibleTypeRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) - { - outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) - { - objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) - { - scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) - { - unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) - { - if (!unionMemberAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) - { - if (!unionMemberRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes MapNonNullableIOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionValidationUpdated_OnSchemaVersionValidationUpdate_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdatedResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public OnSchemaVersionValidationUpdatedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationResultData onSchemaVersionValidationUpdate) - { - OnSchemaVersionValidationUpdate = onSchemaVersionValidationUpdate; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationResultData OnSchemaVersionValidationUpdate { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new OnSchemaVersionValidationUpdatedResultInfo(OnSchemaVersionValidationUpdate); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CancelFusionConfigurationPublishResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishResult); - - public CancelFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CancelFusionConfigurationPublishResultInfo info) - { - return new CancelFusionConfigurationPublishResult(MapNonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition(info.CancelFusionConfigurationComposition)); - } - - throw new global::System.ArgumentException("CancelFusionConfigurationPublishResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition MapNonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition(global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData data) - { - ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition returnValue = default !; - if (data.__typename.Equals("CancelFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload(MapICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var cancelFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionErrorData child in list) - { - cancelFusionConfigurationCompositionErrors.Add(MapNonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors(child)); - } - - return cancelFusionConfigurationCompositionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors MapNonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionErrorData data) - { - ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData fusionConfigurationRequestNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(fusionConfigurationRequestNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationRequestNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CancelFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData cancelFusionConfigurationComposition) - { - CancelFusionConfigurationComposition = cancelFusionConfigurationComposition; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData CancelFusionConfigurationComposition { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CancelFusionConfigurationPublishResultInfo(CancelFusionConfigurationComposition); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public CommitFusionConfigurationPublishResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishResult); - - public CommitFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is CommitFusionConfigurationPublishResultInfo info) - { - return new CommitFusionConfigurationPublishResult(MapNonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish(info.CommitFusionConfigurationPublish)); - } - - throw new global::System.ArgumentException("CommitFusionConfigurationPublishResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish MapNonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish(global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData data) - { - ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish returnValue = default !; - if (data.__typename.Equals("CommitFusionConfigurationPublishPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload(MapICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var commitFusionConfigurationPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishErrorData child in list) - { - commitFusionConfigurationPublishErrors.Add(MapNonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors(child)); - } - - return commitFusionConfigurationPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors MapNonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishErrorData data) - { - ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData fusionConfigurationRequestNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError(fusionConfigurationRequestNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationRequestNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public CommitFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData commitFusionConfigurationPublish) - { - CommitFusionConfigurationPublish = commitFusionConfigurationPublish; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData CommitFusionConfigurationPublish { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new CommitFusionConfigurationPublishResultInfo(CommitFusionConfigurationPublish); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public StartFusionConfigurationPublishResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishResult); - - public StartFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is StartFusionConfigurationPublishResultInfo info) - { - return new StartFusionConfigurationPublishResult(MapNonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition(info.StartFusionConfigurationComposition)); - } - - throw new global::System.ArgumentException("StartFusionConfigurationPublishResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition MapNonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition(global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData data) - { - IStartFusionConfigurationPublish_StartFusionConfigurationComposition returnValue = default !; - if (data.__typename.Equals("StartFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload(MapIStartFusionConfigurationPublish_StartFusionConfigurationComposition_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIStartFusionConfigurationPublish_StartFusionConfigurationComposition_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var startFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionErrorData child in list) - { - startFusionConfigurationCompositionErrors.Add(MapNonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors(child)); - } - - return startFusionConfigurationCompositionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors MapNonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionErrorData data) - { - IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData fusionConfigurationRequestNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(fusionConfigurationRequestNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationRequestNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public StartFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData startFusionConfigurationComposition) - { - StartFusionConfigurationComposition = startFusionConfigurationComposition; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData StartFusionConfigurationComposition { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new StartFusionConfigurationPublishResultInfo(StartFusionConfigurationComposition); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public BeginFusionConfigurationPublishResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishResult); - - public BeginFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is BeginFusionConfigurationPublishResultInfo info) - { - return new BeginFusionConfigurationPublishResult(MapNonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish(info.BeginFusionConfigurationPublish)); - } - - throw new global::System.ArgumentException("BeginFusionConfigurationPublishResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish MapNonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish(global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData data) - { - IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish returnValue = default !; - if (data.__typename.Equals("BeginFusionConfigurationPublishPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload(data.RequestId, MapIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var beginFusionConfigurationPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishErrorData child in list) - { - beginFusionConfigurationPublishErrors.Add(MapNonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors(child)); - } - - return beginFusionConfigurationPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors MapNonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishErrorData data) - { - IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SubgraphInvalidErrorData subgraphInvalidError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError(subgraphInvalidError.__typename ?? throw new global::System.ArgumentNullException(), subgraphInvalidError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public BeginFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData beginFusionConfigurationPublish) - { - BeginFusionConfigurationPublish = beginFusionConfigurationPublish; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData BeginFusionConfigurationPublish { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new BeginFusionConfigurationPublishResultInfo(BeginFusionConfigurationPublish); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChangedResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public OnFusionConfigurationPublishingTaskChangedResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedResult); - - public OnFusionConfigurationPublishingTaskChangedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is OnFusionConfigurationPublishingTaskChangedResultInfo info) - { - return new OnFusionConfigurationPublishingTaskChangedResult(MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged(info.OnFusionConfigurationPublishingTaskChanged)); - } - - throw new global::System.ArgumentException("OnFusionConfigurationPublishingTaskChangedResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingResultData data) - { - IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationPublishingFailedData fusionConfigurationPublishingFailed) - { - if (!fusionConfigurationPublishingFailed.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed(fusionConfigurationPublishingFailed.State!.Value, fusionConfigurationPublishingFailed.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationPublishingFailed.Failed ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ErrorsNonNullableArray(fusionConfigurationPublishingFailed.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationPublishingSuccessData fusionConfigurationPublishingSuccess) - { - if (!fusionConfigurationPublishingSuccess.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess(fusionConfigurationPublishingSuccess.State!.Value, fusionConfigurationPublishingSuccess.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationPublishingSuccess.Success ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationValidationFailedData fusionConfigurationValidationFailed) - { - if (!fusionConfigurationValidationFailed.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed(fusionConfigurationValidationFailed.State!.Value, fusionConfigurationValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationValidationFailed.Failed ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1NonNullableArray(fusionConfigurationValidationFailed.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationValidationSuccessData fusionConfigurationValidationSuccess) - { - if (!fusionConfigurationValidationSuccess.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess(fusionConfigurationValidationSuccess.State!.Value, fusionConfigurationValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationValidationSuccess.Success ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ChangesNonNullableArray(fusionConfigurationValidationSuccess.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) - { - if (!operationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress(operationInProgress.State!.Value, operationInProgress.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) - { - if (!processingTaskApproved.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved(processingTaskApproved.State!.Value, processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) - { - if (!processingTaskIsQueued.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!processingTaskIsQueued.QueuePosition.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued(processingTaskIsQueued.State!.Value, processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) - { - if (!processingTaskIsReady.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady(processingTaskIsReady.State!.Value, processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) - { - if (!validationInProgress.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress(validationInProgress.State!.Value, validationInProgress.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) - { - if (!waitForApproval.State.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval(waitForApproval.State!.Value, waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationPublishingErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingErrorData child in list) - { - fusionConfigurationPublishingErrors.Add(MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors(child)); - } - - return fusionConfigurationPublishingErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingErrorData data) - { - IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError(concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError(processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError(readyTimeoutError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError(unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) - { - graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; - if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationValidationErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationValidationErrorData child in list) - { - fusionConfigurationValidationErrors.Add(MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1(child)); - } - - return fusionConfigurationValidationErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1 MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationValidationErrorData data) - { - IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData schemaVersionChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError(schemaVersionChangeViolationError.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(schemaVersionChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) - { - openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; - if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) - { - openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) - { - openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) - { - openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; - if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client returnValue = default !; - if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) - { - persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries returnValue = default !; - if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) - { - persistedQueryErrors.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors returnValue = default !; - if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) - { - persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) - { - IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations returnValue = default !; - if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) - { - returnValue = new OnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) - { - directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) - { - if (!directiveLocationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationAdded.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) - { - if (!directiveLocationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!directiveLocationRemoved.Location.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) - { - argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) - { - enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) - { - if (!enumValueAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) - { - if (!enumValueChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) - { - if (!enumValueRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) - { - enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) - { - inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) - { - if (!inputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) - { - inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) - { - interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) - { - if (!possibleTypeAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) - { - if (!possibleTypeRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) - { - outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) - { - if (!argumentAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) - { - if (!argumentChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) - { - if (!argumentRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) - { - if (!deprecatedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) - { - if (!typeChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) - { - objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) - { - if (!fieldAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) - { - if (!fieldRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) - { - if (!interfaceImplementationAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) - { - if (!interfaceImplementationRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) - { - if (!outputFieldChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) - { - scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) - { - unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) - { - if (!descriptionChanged.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) - { - if (!unionMemberAdded.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) - { - if (!unionMemberRemoved.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) - { - if (data is null) - { - return null; - } - - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(openApiCollectionDeployment.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(schemaDeployment.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var clientDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) - { - clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); - } - - return clientDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) - { - fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); - } - - return fusionConfigurationDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) - { - schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) - { - if (!directiveModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) - { - if (!enumModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) - { - if (!inputObjectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) - { - if (!interfaceModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) - { - if (!objectModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) - { - if (!scalarModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) - { - if (!typeSystemMemberAddedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) - { - if (!typeSystemMemberModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) - { - if (!typeSystemMemberRemovedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) - { - if (!unionModifiedChange.Severity.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) - { - openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); - } - - return openApiCollectionDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) - { - schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); - } - - return schemaDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) - { - IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) - { - if (!schemaVersionSyntaxError.Column.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Position.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (!schemaVersionSyntaxError.Line.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChangedResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public OnFusionConfigurationPublishingTaskChangedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingResultData onFusionConfigurationPublishingTaskChanged) - { - OnFusionConfigurationPublishingTaskChanged = onFusionConfigurationPublishingTaskChanged; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingResultData OnFusionConfigurationPublishingTaskChanged { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new OnFusionConfigurationPublishingTaskChangedResultInfo(OnFusionConfigurationPublishingTaskChanged); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public ValidateFusionConfigurationPublishResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishResult); - - public ValidateFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is ValidateFusionConfigurationPublishResultInfo info) - { - return new ValidateFusionConfigurationPublishResult(MapNonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition(info.ValidateFusionConfigurationComposition)); - } - - throw new global::System.ArgumentException("ValidateFusionConfigurationPublishResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition MapNonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData data) - { - IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition returnValue = default !; - if (data.__typename.Equals("ValidateFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal)) - { - returnValue = new ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload(MapIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ErrorsNonNullableArray(data.Errors)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var validateFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionErrorData child in list) - { - validateFusionConfigurationCompositionErrors.Add(MapNonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors(child)); - } - - return validateFusionConfigurationCompositionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors MapNonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionErrorData data) - { - IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData fusionConfigurationRequestNotFoundError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(fusionConfigurationRequestNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationRequestNotFoundError.Message ?? throw new global::System.ArgumentNullException()); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public ValidateFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData validateFusionConfigurationComposition) - { - ValidateFusionConfigurationComposition = validateFusionConfigurationComposition; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData ValidateFusionConfigurationComposition { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new ValidateFusionConfigurationPublishResultInfo(ValidateFusionConfigurationComposition); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public SelectMockSchemaPromptQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryResult); - - public SelectMockSchemaPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is SelectMockSchemaPromptQueryResultInfo info) - { - return new SelectMockSchemaPromptQueryResult(MapISelectMockSchemaPromptQuery_ApiById(info.ApiById)); - } - - throw new global::System.ArgumentException("SelectMockSchemaPromptQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById? MapISelectMockSchemaPromptQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - ISelectMockSchemaPromptQuery_ApiById returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SelectMockSchemaPromptQuery_ApiById_Api(MapISelectMockSchemaPromptQuery_ApiById_MockSchemas(data.MockSchemas)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas? MapISelectMockSchemaPromptQuery_ApiById_MockSchemas(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? data) - { - if (data is null) - { - return null; - } - - ISelectMockSchemaPromptQuery_ApiById_MockSchemas returnValue = default !; - if (data?.__typename.Equals("MockSchemasConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection(MapISelectMockSchemaPromptQuery_ApiById_MockSchemas_EdgesNonNullableArray(data.Edges), MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapISelectMockSchemaPromptQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var mockSchemasEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData child in list) - { - mockSchemasEdges.Add(MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges(child)); - } - - return mockSchemasEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData data) - { - ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges returnValue = default !; - if (data.__typename.Equals("MockSchemasEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData data) - { - ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node returnValue = default !; - if (data.__typename.Equals("MockSchema", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(data.CreatedBy ?? throw new global::System.ArgumentNullException()), data.ModifiedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(data.ModifiedBy ?? throw new global::System.ArgumentNullException()), data.DownstreamUrl ?? throw new global::System.ArgumentNullException(), data.Url ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) - { - ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy returnValue = default !; - if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) - { - ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy returnValue = default !; - if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public SelectMockSchemaPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) - { - ApiById = apiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new SelectMockSchemaPromptQueryResultInfo(ApiById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public PageClientVersionDetailQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryResult); - - public PageClientVersionDetailQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is PageClientVersionDetailQueryResultInfo info) - { - return new PageClientVersionDetailQueryResult(MapIPageClientVersionDetailQuery_Node(info.Node)); - } - - throw new global::System.ArgumentException("PageClientVersionDetailQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node? MapIPageClientVersionDetailQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) - { - if (data is null) - { - return null; - } - - IPageClientVersionDetailQuery_Node? returnValue; - if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Api(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ApiDocument(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ApiKey(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Client(MapIPageClientVersionDetailQuery_Node_Versions(client.Versions)); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ClientChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ClientDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ClientVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Environment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_FusionConfigurationDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Group(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OpenApiCollection(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OpenApiCollectionVersion(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Organization(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OrganizationMember(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_SchemaChangeLog(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_SchemaDeployment(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Stage(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_User(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Workspace(); - } - else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) - { - returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_WorkspaceDocument(); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions? MapIPageClientVersionDetailQuery_Node_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) - { - if (data is null) - { - return null; - } - - IPageClientVersionDetailQuery_Node_Versions returnValue = default !; - if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection(MapNonNullableIPageClientVersionDetailQuery_Node_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException()), MapIPageClientVersionDetailQuery_Node_Versions_EdgesNonNullableArray(data.Edges)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_PageInfo MapNonNullableIPageClientVersionDetailQuery_Node_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IPageClientVersionDetailQuery_Node_Versions_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIPageClientVersionDetailQuery_Node_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) - { - clientVersionEdges.Add(MapNonNullableIPageClientVersionDetailQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_Edges MapNonNullableIPageClientVersionDetailQuery_Node_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) - { - IPageClientVersionDetailQuery_Node_Versions_Edges returnValue = default !; - if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node returnValue = default !; - if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) - { - publishedClientVersions.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo returnValue = default !; - if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; - if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public PageClientVersionDetailQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) - { - Node = node; - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ShowWorkspaceCommandQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public SelectApiPromptQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryResult); + + public SelectApiPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is SelectApiPromptQueryResultInfo info) + { + return new SelectApiPromptQueryResult(MapISelectApiPromptQuery_WorkspaceById(info.WorkspaceById)); + } + + throw new global::System.ArgumentException("SelectApiPromptQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById? MapISelectApiPromptQuery_WorkspaceById(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ISelectApiPromptQuery_WorkspaceById returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectApiPromptQuery_WorkspaceById_Workspace(MapISelectApiPromptQuery_WorkspaceById_Apis(data.Apis)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis? MapISelectApiPromptQuery_WorkspaceById_Apis(global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? data) + { + if (data is null) + { + return null; + } + + ISelectApiPromptQuery_WorkspaceById_Apis returnValue = default !; + if (data?.__typename.Equals("ApisConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection(MapISelectApiPromptQuery_WorkspaceById_Apis_EdgesNonNullableArray(data.Edges), MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapISelectApiPromptQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var apisEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData child in list) + { + apisEdges.Add(MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges(child)); + } + + return apisEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData data) + { + ISelectApiPromptQuery_WorkspaceById_Apis_Edges returnValue = default !; + if (data.__typename.Equals("ApisEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData data) + { + ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node returnValue = default !; + if (data.__typename.Equals("Api", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException(), MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(data.Workspace), MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(data.Settings ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace? MapICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) + { + if (data is null) + { + return null; + } + + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace returnValue = default !; + if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings returnValue = default !; + if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_ApiSettings(MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry MapNonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) + { + ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry returnValue = default !; + if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public SelectApiPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspaceById) + { + WorkspaceById = workspaceById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? WorkspaceById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new SelectApiPromptQueryResultInfo(WorkspaceById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public PageClientVersionDetailQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQueryResult); + + public PageClientVersionDetailQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is PageClientVersionDetailQueryResultInfo info) + { + return new PageClientVersionDetailQueryResult(MapIPageClientVersionDetailQuery_Node(info.Node)); + } + + throw new global::System.ArgumentException("PageClientVersionDetailQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node? MapIPageClientVersionDetailQuery_Node(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? data) + { + if (data is null) + { + return null; + } + + IPageClientVersionDetailQuery_Node? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiData api) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Api(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData apiDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ApiDocument(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData apiKey) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ApiKey(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientData client) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Client(MapIPageClientVersionDetailQuery_Node_Versions(client.Versions)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData clientChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ClientChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ClientDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData clientVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_ClientVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData coordinateClientUsageMetrics) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_CoordinateClientUsageMetrics(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData environment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Environment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData fusionConfigurationChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_FusionConfigurationChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_FusionConfigurationDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData graphQLDirectiveArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLDirectiveArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData graphQLDirectiveDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLDirectiveDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData graphQLEnumTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLEnumTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData graphQLEnumValueDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLEnumValueDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData graphQLInputObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInputObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData graphQLInputObjectTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInputObjectTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData graphQLInterfaceFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData graphQLInterfaceFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInterfaceFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData graphQLInterfaceTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLInterfaceTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData graphQLObjectFieldArgumentDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLObjectFieldArgumentDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData graphQLObjectFieldDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLObjectFieldDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData graphQLScalarTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLScalarTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData graphQLUnionTypeDefinition) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_GraphQLUnionTypeDefinition(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.GroupData @group) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Group(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData mcpFeatureCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_McpFeatureCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData mcpFeatureCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_McpFeatureCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_McpFeatureCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData mcpFeatureCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_McpFeatureCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData openApiCollection) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OpenApiCollection(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData openApiCollectionChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OpenApiCollectionChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OpenApiCollectionDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData openApiCollectionVersion) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OpenApiCollectionVersion(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData organization) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Organization(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData organizationMember) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_OrganizationMember(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData schemaChangeLog) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_SchemaChangeLog(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_SchemaDeployment(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageData stage) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Stage(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UserData user) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_User(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData workspace) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_Workspace(); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData workspaceDocument) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.PageClientVersionDetailQuery_Node_WorkspaceDocument(); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions? MapIPageClientVersionDetailQuery_Node_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) + { + if (data is null) + { + return null; + } + + IPageClientVersionDetailQuery_Node_Versions returnValue = default !; + if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new PageClientVersionDetailQuery_Node_Versions_ClientVersionConnection(MapNonNullableIPageClientVersionDetailQuery_Node_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException()), MapIPageClientVersionDetailQuery_Node_Versions_EdgesNonNullableArray(data.Edges)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_PageInfo MapNonNullableIPageClientVersionDetailQuery_Node_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + IPageClientVersionDetailQuery_Node_Versions_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new PageClientVersionDetailQuery_Node_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIPageClientVersionDetailQuery_Node_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) + { + clientVersionEdges.Add(MapNonNullableIPageClientVersionDetailQuery_Node_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IPageClientVersionDetailQuery_Node_Versions_Edges MapNonNullableIPageClientVersionDetailQuery_Node_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) + { + IPageClientVersionDetailQuery_Node_Versions_Edges returnValue = default !; + if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new PageClientVersionDetailQuery_Node_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node returnValue = default !; + if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) + { + publishedClientVersions.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo returnValue = default !; + if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; + if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public PageClientVersionDetailQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? node) + { + Node = node; + } + /// /// Fetches an object given its ID. /// - public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new PageClientVersionDetailQueryResultInfo(Node); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public SelectClientPromptQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryResult); - - public SelectClientPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is SelectClientPromptQueryResultInfo info) - { - return new SelectClientPromptQueryResult(MapISelectClientPromptQuery_ApiById(info.ApiById)); - } - - throw new global::System.ArgumentException("SelectClientPromptQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById? MapISelectClientPromptQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - ISelectClientPromptQuery_ApiById returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SelectClientPromptQuery_ApiById_Api(MapISelectClientPromptQuery_ApiById_Clients(data.Clients)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients? MapISelectClientPromptQuery_ApiById_Clients(global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? data) - { - if (data is null) - { - return null; - } - - ISelectClientPromptQuery_ApiById_Clients returnValue = default !; - if (data?.__typename.Equals("ClientsConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SelectClientPromptQuery_ApiById_Clients_ClientsConnection(MapISelectClientPromptQuery_ApiById_Clients_EdgesNonNullableArray(data.Edges), MapNonNullableISelectClientPromptQuery_ApiById_Clients_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapISelectClientPromptQuery_ApiById_Clients_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var clientsEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData child in list) - { - clientsEdges.Add(MapNonNullableISelectClientPromptQuery_ApiById_Clients_Edges(child)); - } - - return clientsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges MapNonNullableISelectClientPromptQuery_ApiById_Clients_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData data) - { - ISelectClientPromptQuery_ApiById_Clients_Edges returnValue = default !; - if (data.__typename.Equals("ClientsEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectClientPromptQuery_ApiById_Clients_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges_Node MapNonNullableISelectClientPromptQuery_ApiById_Clients_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData data) - { - ISelectClientPromptQuery_ApiById_Clients_Edges_Node returnValue = default !; - if (data.__typename.Equals("Client", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapIShowClientCommandQuery_Node_Api_1(data.Api), MapIShowClientCommandQuery_Node_Versions(data.Versions)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Api_1? MapIShowClientCommandQuery_Node_Api_1(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Api_1 returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions? MapIShowClientCommandQuery_Node_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions returnValue = default !; - if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_ClientVersionConnection(MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapIShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) - { - clientVersionEdges.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges MapNonNullableIShowClientCommandQuery_Node_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) - { - IShowClientCommandQuery_Node_Versions_Edges returnValue = default !; - if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node returnValue = default !; - if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) - { - publishedClientVersions.Add(MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo MapNonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) - { - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo returnValue = default !; - if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage? MapIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) - { - if (data is null) - { - return null; - } - - IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; - if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowClientCommandQuery_Node_Versions_PageInfo MapNonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - IShowClientCommandQuery_Node_Versions_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowClientCommandQuery_Node_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_PageInfo MapNonNullableISelectClientPromptQuery_ApiById_Clients_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - ISelectClientPromptQuery_ApiById_Clients_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public SelectClientPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) - { - ApiById = apiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new SelectClientPromptQueryResultInfo(ApiById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public SelectApiPromptQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQueryResult); - - public SelectApiPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is SelectApiPromptQueryResultInfo info) - { - return new SelectApiPromptQueryResult(MapISelectApiPromptQuery_WorkspaceById(info.WorkspaceById)); - } - - throw new global::System.ArgumentException("SelectApiPromptQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById? MapISelectApiPromptQuery_WorkspaceById(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - ISelectApiPromptQuery_WorkspaceById returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SelectApiPromptQuery_WorkspaceById_Workspace(MapISelectApiPromptQuery_WorkspaceById_Apis(data.Apis)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis? MapISelectApiPromptQuery_WorkspaceById_Apis(global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? data) - { - if (data is null) - { - return null; - } - - ISelectApiPromptQuery_WorkspaceById_Apis returnValue = default !; - if (data?.__typename.Equals("ApisConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SelectApiPromptQuery_WorkspaceById_Apis_ApisConnection(MapISelectApiPromptQuery_WorkspaceById_Apis_EdgesNonNullableArray(data.Edges), MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapISelectApiPromptQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var apisEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData child in list) - { - apisEdges.Add(MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges(child)); - } - - return apisEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData data) - { - ISelectApiPromptQuery_WorkspaceById_Apis_Edges returnValue = default !; - if (data.__typename.Equals("ApisEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectApiPromptQuery_WorkspaceById_Apis_Edges_ApisEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData data) - { - ISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node returnValue = default !; - if (data.__typename.Equals("Api", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectApiPromptQuery_WorkspaceById_Apis_Edges_Node_Api(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException(), MapIShowApiCommandQuery_Node_Workspace_1(data.Workspace), MapNonNullableIShowApiCommandQuery_Node_Settings(data.Settings ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Workspace_1? MapIShowApiCommandQuery_Node_Workspace_1(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? data) - { - if (data is null) - { - return null; - } - - IShowApiCommandQuery_Node_Workspace_1 returnValue = default !; - if (data?.__typename.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new ShowApiCommandQuery_Node_Workspace_Workspace(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings MapNonNullableIShowApiCommandQuery_Node_Settings(global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData data) - { - IShowApiCommandQuery_Node_Settings returnValue = default !; - if (data.__typename.Equals("ApiSettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_ApiSettings(MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(data.SchemaRegistry ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.IShowApiCommandQuery_Node_Settings_SchemaRegistry MapNonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData data) - { - IShowApiCommandQuery_Node_Settings_SchemaRegistry returnValue = default !; - if (data.__typename.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal)) - { - returnValue = new ShowApiCommandQuery_Node_Settings_SchemaRegistry_SchemaRegistrySettings(data.TreatDangerousAsBreaking ?? throw new global::System.ArgumentNullException(), data.AllowBreakingSchemaChanges ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo MapNonNullableISelectApiPromptQuery_WorkspaceById_Apis_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - ISelectApiPromptQuery_WorkspaceById_Apis_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectApiPromptQuery_WorkspaceById_Apis_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public SelectApiPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspaceById) - { - WorkspaceById = workspaceById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? WorkspaceById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new SelectApiPromptQueryResultInfo(WorkspaceById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory - { - public SelectOpenApiCollectionPromptQueryResultFactory() - { - } - - global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryResult); - - public SelectOpenApiCollectionPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) - { - if (dataInfo is SelectOpenApiCollectionPromptQueryResultInfo info) - { - return new SelectOpenApiCollectionPromptQueryResult(MapISelectOpenApiCollectionPromptQuery_ApiById(info.ApiById)); - } - - throw new global::System.ArgumentException("SelectOpenApiCollectionPromptQueryResultInfo expected."); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById? MapISelectOpenApiCollectionPromptQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) - { - if (data is null) - { - return null; - } - - ISelectOpenApiCollectionPromptQuery_ApiById returnValue = default !; - if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_Api(MapISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections(data.OpenApiCollections)); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections? MapISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections(global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? data) - { - if (data is null) - { - return null; - } - - ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections returnValue = default !; - if (data?.__typename.Equals("ApiOpenApiCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) - { - returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection(MapISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_EdgesNonNullableArray(data.Edges), MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::System.Collections.Generic.IReadOnlyList? MapISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) - { - if (list is null) - { - return null; - } - - var apiOpenApiCollectionsEdges = new global::System.Collections.Generic.List(); - foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData child in list) - { - apiOpenApiCollectionsEdges.Add(MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges(child)); - } - - return apiOpenApiCollectionsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData data) - { - ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges returnValue = default !; - if (data.__typename.Equals("ApiOpenApiCollectionsEdge", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData data) - { - ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node returnValue = default !; - if (data.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) - { - ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo returnValue = default !; - if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) - { - returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); - } - else - { - throw new global::System.NotSupportedException(); - } - - return returnValue; - } - - global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) - { - return Create(dataInfo, snapshot); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo - { - public SelectOpenApiCollectionPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) - { - ApiById = apiById; - } - - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } - public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); - public global::System.UInt64 Version => 0; - - public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) - { - return new SelectOpenApiCollectionPromptQueryResultInfo(ApiById); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IUploadFusionSubgraphInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsArchiveSet { get; } - - global::System.Boolean IsTagSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IUnpublishClientInputInfo - { - global::System.Boolean IsClientIdSet { get; } - - global::System.Boolean IsStageSet { get; } - - global::System.Boolean IsTagSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IUploadClientInputInfo - { - global::System.Boolean IsClientIdSet { get; } - - global::System.Boolean IsOperationsSet { get; } - - global::System.Boolean IsTagSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IValidateClientInputInfo - { - global::System.Boolean IsClientIdSet { get; } - - global::System.Boolean IsOperationsSet { get; } - - global::System.Boolean IsStageSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IDeleteClientByIdInputInfo - { - global::System.Boolean IsClientIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IPublishClientInputInfo - { - global::System.Boolean IsClientIdSet { get; } - - global::System.Boolean IsForceSet { get; } - - global::System.Boolean IsStageSet { get; } - - global::System.Boolean IsTagSet { get; } - - global::System.Boolean IsWaitForApprovalSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface ICreateClientInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsNameSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IUpdateApiSettingsInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsSettingsSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IPartialApiSettingsInputInfo - { - global::System.Boolean IsSchemaRegistrySet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IPartialSchemaRegistrySettingsInputInfo - { - global::System.Boolean IsAllowBreakingSchemaChangesSet { get; } - - global::System.Boolean IsTreatDangerousAsBreakingSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IUpdateStagesInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsUpdatedStagesSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IStageUpdateInputInfo - { - global::System.Boolean IsConditionsSet { get; } - - global::System.Boolean IsDisplayNameSet { get; } - - global::System.Boolean IsNameSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IStageConditionUpdateInputInfo - { - global::System.Boolean IsAfterStageSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface ICreateApiKeyInputInfo - { - global::System.Boolean IsNameSet { get; } - - global::System.Boolean IsPermissionScopeSet { get; } - - global::System.Boolean IsRoleAssigmentConditionSet { get; } - - global::System.Boolean IsWorkspaceIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IApiKeyPermissionScopeInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsWorkspaceIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IRoleAssigmentConditionInputInfo - { - global::System.Boolean IsStageAuthorizationConditionSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IRoleAssignmentStageAuthorizationConditionInputInfo - { - global::System.Boolean IsNameSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IDeleteApiKeyInputInfo - { - global::System.Boolean IsApiKeyIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface ICreatePersonalAccessTokenInputInfo - { - global::System.Boolean IsDescriptionSet { get; } - - global::System.Boolean IsExpiresAtSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IRevokePersonalAccessTokenInputInfo - { - global::System.Boolean IsIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IUploadOpenApiCollectionInputInfo - { - global::System.Boolean IsCollectionSet { get; } - - global::System.Boolean IsOpenApiCollectionIdSet { get; } - - global::System.Boolean IsTagSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IPublishOpenApiCollectionInputInfo - { - global::System.Boolean IsForceSet { get; } - - global::System.Boolean IsOpenApiCollectionIdSet { get; } - - global::System.Boolean IsStageSet { get; } - - global::System.Boolean IsTagSet { get; } - - global::System.Boolean IsWaitForApprovalSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IValidateOpenApiCollectionInputInfo - { - global::System.Boolean IsCollectionSet { get; } - - global::System.Boolean IsOpenApiCollectionIdSet { get; } - - global::System.Boolean IsStageSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface ICreateOpenApiCollectionInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsNameSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IDeleteOpenApiCollectionByIdInputInfo - { - global::System.Boolean IsOpenApiCollectionIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface ICreateWorkspaceInputInfo - { - global::System.Boolean IsNameSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IPublishSchemaInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsForceSet { get; } - - global::System.Boolean IsStageSet { get; } - - global::System.Boolean IsTagSet { get; } - - global::System.Boolean IsWaitForApprovalSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IUploadSchemaInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsSchemaSet { get; } - - global::System.Boolean IsTagSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IValidateSchemaInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsSchemaSet { get; } - - global::System.Boolean IsStageSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface ICancelFusionConfigurationCompositionInputInfo - { - global::System.Boolean IsRequestIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface ICommitFusionConfigurationPublishInputInfo - { - global::System.Boolean IsConfigurationSet { get; } - - global::System.Boolean IsRequestIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IStartFusionConfigurationCompositionInputInfo - { - global::System.Boolean IsRequestIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IBeginFusionConfigurationPublishInputInfo - { - global::System.Boolean IsApiIdSet { get; } - - global::System.Boolean IsStageNameSet { get; } - - global::System.Boolean IsSubgraphApiIdSet { get; } - - global::System.Boolean IsSubgraphNameSet { get; } - - global::System.Boolean IsTagSet { get; } - - global::System.Boolean IsWaitForApprovalSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - internal interface IValidateFusionConfigurationCompositionInputInfo - { - global::System.Boolean IsConfigurationSet { get; } - - global::System.Boolean IsRequestIdSet { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadFusionSubgraphBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public UploadFusionSubgraphBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new UploadFusionSubgraphResultInfo(Deserialize_NonNullableIUploadFusionSubgraph_UploadFusionSubgraph(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadFusionSubgraph"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData Deserialize_NonNullableIUploadFusionSubgraph_UploadFusionSubgraph(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UploadFusionSubgraphPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData(typename, fusionSubgraphVersion: Deserialize_IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fusionSubgraphVersion")), errors: Deserialize_IUploadFusionSubgraphErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData? Deserialize_IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("FusionSubgraphVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadFusionSubgraphErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var uploadFusionSubgraphErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - uploadFusionSubgraphErrors.Add(Deserialize_NonNullableIUploadFusionSubgraphErrorData(child)); - } - - return uploadFusionSubgraphErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphErrorData Deserialize_NonNullableIUploadFusionSubgraphErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("InvalidFusionSourceSchemaArchiveError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidFusionSourceSchemaArchiveErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class FetchConfigurationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public FetchConfigurationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new FetchConfigurationResultInfo(Deserialize_IFetchConfiguration_FusionConfigurationByApiId(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fusionConfigurationByApiId"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData? Deserialize_IFetchConfiguration_FusionConfigurationByApiId(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("FusionConfiguration", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData(typename, downloadUrl: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downloadUrl")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateMockSchemaBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uRLParser; - public CreateMockSchemaBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - _uRLParser = serializerResolver.GetLeafValueParser("URL") ?? throw new global::System.ArgumentException("No serializer for type `URL` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CreateMockSchemaResultInfo(Deserialize_NonNullableICreateMockSchema_CreateMockSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createMockSchema"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData Deserialize_NonNullableICreateMockSchema_CreateMockSchema(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("CreateMockSchemaPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData(typename, mockSchema: Deserialize_ICreateMockSchema_CreateMockSchema_MockSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mockSchema")), errors: Deserialize_ICreateMockSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? Deserialize_ICreateMockSchema_CreateMockSchema_MockSchema(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), createdBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdBy")), modifiedAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedAt")), modifiedBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedBy")), downstreamUrl: Deserialize_NonNullableUri(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downstreamUrl")), url: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "url"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Uri Deserialize_NonNullableUri(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _uRLParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateMockSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var createMockSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - createMockSchemaErrors.Add(Deserialize_NonNullableICreateMockSchemaErrorData(child)); - } - - return createMockSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMockSchemaErrorData Deserialize_NonNullableICreateMockSchemaErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("MockSchemaNonUniqueNameError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNonUniqueNameErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename); - } - - if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateMockSchemaBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uRLParser; - public UpdateMockSchemaBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - _uRLParser = serializerResolver.GetLeafValueParser("URL") ?? throw new global::System.ArgumentException("No serializer for type `URL` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new UpdateMockSchemaResultInfo(Deserialize_NonNullableIUpdateMockSchema_UpdateMockSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "updateMockSchema"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData Deserialize_NonNullableIUpdateMockSchema_UpdateMockSchema(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UpdateMockSchemaPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData(typename, mockSchema: Deserialize_IUpdateMockSchema_UpdateMockSchema_MockSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mockSchema")), errors: Deserialize_IUpdateMockSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? Deserialize_IUpdateMockSchema_UpdateMockSchema_MockSchema(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), createdBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdBy")), modifiedAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedAt")), modifiedBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedBy")), downstreamUrl: Deserialize_NonNullableUri(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downstreamUrl")), url: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "url"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Uri Deserialize_NonNullableUri(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _uRLParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUpdateMockSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var updateMockSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - updateMockSchemaErrors.Add(Deserialize_NonNullableIUpdateMockSchemaErrorData(child)); - } - - return updateMockSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateMockSchemaErrorData Deserialize_NonNullableIUpdateMockSchemaErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchemaNonUniqueNameError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNonUniqueNameErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("MockSchemaNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename); - } - - if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListMockCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uRLParser; - public ListMockCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - _uRLParser = serializerResolver.GetLeafValueParser("URL") ?? throw new global::System.ArgumentException("No serializer for type `URL` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListMockCommandQueryResultInfo(Deserialize_IListMockCommandQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IListMockCommandQuery_ApiById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, mockSchemas: Deserialize_IListMockCommandQuery_ApiById_MockSchemas(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mockSchemas"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? Deserialize_IListMockCommandQuery_ApiById_MockSchemas(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchemasConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData(typename, edges: Deserialize_IListMockCommandQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListMockCommandQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var mockSchemasEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - mockSchemasEdges.Add(Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges(child)); - } - - return mockSchemasEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchemasEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), createdBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdBy")), modifiedAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedAt")), modifiedBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedBy")), downstreamUrl: Deserialize_NonNullableUri(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downstreamUrl")), url: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "url"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Uri Deserialize_NonNullableUri(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _uRLParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowClientCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - public ShowClientCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ShowClientCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), api: Deserialize_IShowClientCommandQuery_Node_Api_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_IShowClientCommandQuery_Node_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IShowClientCommandQuery_Node_Api_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_IShowClientCommandQuery_Node_Versions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientVersionEdges.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishedClientVersions.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UnpublishClientBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public UnpublishClientBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new UnpublishClientResultInfo(Deserialize_NonNullableIUnpublishClient_UnpublishClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "unpublishClient"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData Deserialize_NonNullableIUnpublishClient_UnpublishClient(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnpublishClientPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData(typename, clientVersion: Deserialize_IUnpublishClient_UnpublishClient_ClientVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientVersion")), errors: Deserialize_IUnpublishClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Deserialize_IUnpublishClient_UnpublishClient_ClientVersion(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), client: Deserialize_IUnpublishClient_UnpublishClient_ClientVersion_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IUnpublishClient_UnpublishClient_ClientVersion_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUnpublishClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var unpublishClientErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - unpublishClientErrors.Add(Deserialize_NonNullableIUnpublishClientErrorData(child)); - } - - return unpublishClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientErrorData Deserialize_NonNullableIUnpublishClientErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ClientVersionNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionNotFoundErrorData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); - } - - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadClientBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public UploadClientBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new UploadClientResultInfo(Deserialize_NonNullableIUploadClient_UploadClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadClient"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData Deserialize_NonNullableIUploadClient_UploadClient(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UploadClientPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData(typename, clientVersion: Deserialize_IUploadClient_UploadClient_ClientVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientVersion")), errors: Deserialize_IUploadClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Deserialize_IUploadClient_UploadClient_ClientVersion(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var uploadClientErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - uploadClientErrors.Add(Deserialize_NonNullableIUploadClientErrorData(child)); - } - - return uploadClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientErrorData Deserialize_NonNullableIUploadClientErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); - } - - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidPersistedQueryError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidPersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateClientVersionBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public ValidateClientVersionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ValidateClientVersionResultInfo(Deserialize_NonNullableIValidateClientVersion_ValidateClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateClient"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData Deserialize_NonNullableIValidateClientVersion_ValidateClient(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ValidateClientPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IValidateClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var validateClientErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - validateClientErrors.Add(Deserialize_NonNullableIValidateClientErrorData(child)); - } - - return validateClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientErrorData Deserialize_NonNullableIValidateClientErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionValidationUpdatedBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - public OnClientVersionValidationUpdatedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new OnClientVersionValidationUpdatedResultInfo(Deserialize_NonNullableIClientVersionValidationResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onClientVersionValidationUpdate"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationResultData Deserialize_NonNullableIClientVersionValidationResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIClientVersionValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("ClientVersionValidationSuccess", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _processingStateParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIClientVersionValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var clientVersionValidationErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientVersionValidationErrors.Add(Deserialize_NonNullableIClientVersionValidationErrorData(child)); - } - - return clientVersionValidationErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationErrorData Deserialize_NonNullableIClientVersionValidationErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); - } - - if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _intParser.Parse(obj.Value.GetInt32()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteClientByIdCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - public DeleteClientByIdCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new DeleteClientByIdCommandMutationResultInfo(Deserialize_NonNullableIDeleteClientByIdCommandMutation_DeleteClientById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteClientById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData Deserialize_NonNullableIDeleteClientByIdCommandMutation_DeleteClientById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeleteClientByIdPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData(typename, client: Deserialize_IDeleteClientByIdCommandMutation_DeleteClientById_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), errors: Deserialize_IDeleteClientByIdErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IDeleteClientByIdCommandMutation_DeleteClientById_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), api: Deserialize_IShowClientCommandQuery_Node_Api_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_IShowClientCommandQuery_Node_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IShowClientCommandQuery_Node_Api_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_IShowClientCommandQuery_Node_Versions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientVersionEdges.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishedClientVersions.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteClientByIdErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var deleteClientByIdErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - deleteClientByIdErrors.Add(Deserialize_NonNullableIDeleteClientByIdErrorData(child)); - } - - return deleteClientByIdErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdErrorData Deserialize_NonNullableIDeleteClientByIdErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishClientVersionBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public PublishClientVersionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new PublishClientVersionResultInfo(Deserialize_NonNullableIPublishClientVersion_PublishClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishClient"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData Deserialize_NonNullableIPublishClientVersion_PublishClient(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishClientPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IPublishClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPublishClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var publishClientErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishClientErrors.Add(Deserialize_NonNullableIPublishClientErrorData(child)); - } - - return publishClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientErrorData Deserialize_NonNullableIPublishClientErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ClientVersionNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionNotFoundErrorData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnClientVersionPublishUpdatedBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - public OnClientVersionPublishUpdatedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); - _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); - _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new OnClientVersionPublishUpdatedResultInfo(Deserialize_NonNullableIClientVersionPublishResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onClientVersionPublishingUpdate"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishResultData Deserialize_NonNullableIClientVersionPublishResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionPublishFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionPublishFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIClientVersionPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("ClientVersionPublishSuccess", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionPublishSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); - } - - if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); - } - - if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _processingStateParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIClientVersionPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var clientVersionPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientVersionPublishErrors.Add(Deserialize_NonNullableIClientVersionPublishErrorData(child)); - } - - return clientVersionPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishErrorData Deserialize_NonNullableIClientVersionPublishErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); - } - - if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _intParser.Parse(obj.Value.GetInt32()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var clientDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); - } - - return clientDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); - } - - return fusionConfigurationDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); - } - - if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _directiveLocationParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); - } - - if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); - } - - return openApiCollectionDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); - } - - return schemaDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListClientCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - public ListClientCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListClientCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, clients: Deserialize_IListClientCommandQuery_Node_Clients(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clients"))); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? Deserialize_IListClientCommandQuery_Node_Clients(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientsConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData(typename, edges: Deserialize_IListClientCommandQuery_Node_Clients_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListClientCommandQuery_Node_Clients_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListClientCommandQuery_Node_Clients_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var clientsEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientsEdges.Add(Deserialize_NonNullableIListClientCommandQuery_Node_Clients_Edges(child)); - } - - return clientsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData Deserialize_NonNullableIListClientCommandQuery_Node_Clients_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientsEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListClientCommandQuery_Node_Clients_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData Deserialize_NonNullableIListClientCommandQuery_Node_Clients_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), api: Deserialize_IShowClientCommandQuery_Node_Api_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_IShowClientCommandQuery_Node_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IShowClientCommandQuery_Node_Api_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_IShowClientCommandQuery_Node_Versions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientVersionEdges.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishedClientVersions.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListClientCommandQuery_Node_Clients_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateClientCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - public CreateClientCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CreateClientCommandMutationResultInfo(Deserialize_NonNullableICreateClientCommandMutation_CreateClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createClient"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData Deserialize_NonNullableICreateClientCommandMutation_CreateClient(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("CreateClientPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData(typename, client: Deserialize_ICreateClientCommandMutation_CreateClient_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), errors: Deserialize_ICreateClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_ICreateClientCommandMutation_CreateClient_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), api: Deserialize_IShowClientCommandQuery_Node_Api_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_IShowClientCommandQuery_Node_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IShowClientCommandQuery_Node_Api_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_IShowClientCommandQuery_Node_Versions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientVersionEdges.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishedClientVersions.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var createClientErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - createClientErrors.Add(Deserialize_NonNullableICreateClientErrorData(child)); - } - - return createClientErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientErrorData Deserialize_NonNullableICreateClientErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowApiCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public ShowApiCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ShowApiCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _versionParser; - public DeleteApiCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _versionParser = serializerResolver.GetLeafValueParser("Version") ?? throw new global::System.ArgumentException("No serializer for type `Version` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new DeleteApiCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), version: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "version")), workspace: Deserialize_IDeleteApiCommandQuery_Node_Workspace_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IDeleteApiCommandQuery_Node_Workspace_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public DeleteApiCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new DeleteApiCommandMutationResultInfo(Deserialize_NonNullableIDeleteApiCommandMutation_DeleteApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteApiById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData Deserialize_NonNullableIDeleteApiCommandMutation_DeleteApiById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeleteApiByIdPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData(typename, api: Deserialize_IDeleteApiCommandMutation_DeleteApiById_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), errors: Deserialize_IDeleteApiByIdErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IDeleteApiCommandMutation_DeleteApiById_Api(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteApiByIdErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var deleteApiByIdErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - deleteApiByIdErrors.Add(Deserialize_NonNullableIDeleteApiByIdErrorData(child)); - } - - return deleteApiByIdErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiByIdErrorData Deserialize_NonNullableIDeleteApiByIdErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ApiDeletionFailedError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDeletionFailedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _versionParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public ListApiCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _versionParser = serializerResolver.GetLeafValueParser("Version") ?? throw new global::System.ArgumentException("No serializer for type `Version` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListApiCommandQueryResultInfo(Deserialize_IListApiCommandQuery_WorkspaceById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListApiCommandQuery_WorkspaceById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, apis: Deserialize_IListApiCommandQuery_WorkspaceById_Apis(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apis"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? Deserialize_IListApiCommandQuery_WorkspaceById_Apis(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApisConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData(typename, edges: Deserialize_IListApiCommandQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListApiCommandQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var apisEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - apisEdges.Add(Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges(child)); - } - - return apisEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApisEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetApiSettingsCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public SetApiSettingsCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new SetApiSettingsCommandMutationResultInfo(Deserialize_NonNullableISetApiSettingsCommandMutation_UpdateApiSettings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "updateApiSettings"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData Deserialize_NonNullableISetApiSettingsCommandMutation_UpdateApiSettings(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UpdateApiSettingsPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData(typename, api: Deserialize_ISetApiSettingsCommandMutation_UpdateApiSettings_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), errors: Deserialize_IUpdateApiSettingsErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISetApiSettingsCommandMutation_UpdateApiSettings_Api(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), workspace: Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUpdateApiSettingsErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var updateApiSettingsErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - updateApiSettingsErrors.Add(Deserialize_NonNullableIUpdateApiSettingsErrorData(child)); - } - - return updateApiSettingsErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsErrorData Deserialize_NonNullableIUpdateApiSettingsErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _apiKindParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public CreateApiCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _apiKindParser = serializerResolver.GetLeafValueParser("ApiKind") ?? throw new global::System.ArgumentException("No serializer for type `ApiKind` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CreateApiCommandMutationResultInfo(Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pushWorkspaceChanges"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PushWorkspaceChangesPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData(typename, changes: Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes")), errors: Deserialize_IPushWorkspaceChangesErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var workspaceChangePayloads = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - workspaceChangePayloads.Add(Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes(child)); - } - - return workspaceChangePayloads; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("WorkspaceChangePayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData(typename, referenceId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "referenceId")), error: Deserialize_IWorkspaceChangeErrorData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "error")), result: Deserialize_IWorkspaceChangeResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "result"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? Deserialize_IWorkspaceChangeErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ChangeValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ChangeValidationFailedData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("HasBeenChangedConflict", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenChangedConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("HasBeenDeletedConflict", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenDeletedConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("IdentifierCollisionConflict", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.IdentifierCollisionConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnexpectedErrorOnChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedErrorOnChangeData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("WorkspaceNotFoundForChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundForChangeData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? Deserialize_IWorkspaceChangeResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPushWorkspaceChangesErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var pushWorkspaceChangesErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - pushWorkspaceChangesErrors.Add(Deserialize_NonNullableIPushWorkspaceChangesErrorData(child)); - } - - return pushWorkspaceChangesErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData Deserialize_NonNullableIPushWorkspaceChangesErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ChangeStructureInvalid", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ChangeStructureInvalidData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UpdateStagesBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public UpdateStagesBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new UpdateStagesResultInfo(Deserialize_NonNullableIUpdateStages_UpdateStages(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "updateStages"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData Deserialize_NonNullableIUpdateStages_UpdateStages(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UpdateStagesPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData(typename, api: Deserialize_IUpdateStages_UpdateStages_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), errors: Deserialize_IUpdateStagesErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IUpdateStages_UpdateStages_Api(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, stages: Deserialize_NonNullableIUpdateStages_UpdateStages_Api_StagesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stages"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Api_StagesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var stages = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - stages.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages(child)); - } - - return stages; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), displayName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "displayName")), conditions: Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "conditions"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var stageConditions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - stageConditions.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(child)); - } - - return stageConditions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("AfterStageCondition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.AfterStageConditionData(typename, afterStage: Deserialize_IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "afterStage"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUpdateStagesErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var updateStagesErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - updateStagesErrors.Add(Deserialize_NonNullableIUpdateStagesErrorData(child)); - } - - return updateStagesErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesErrorData Deserialize_NonNullableIUpdateStagesErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("StagesHavePublishedDependenciesError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StagesHavePublishedDependenciesErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), stages: Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_StagesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stages"))); - } - - if (typename?.Equals("StageValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_StagesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var stages = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - stages.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages(child)); - } - - return stages; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), publishedSchema: Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedSchema")), publishedClients: Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClientsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedClients"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData? Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedSchemaVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData(typename, version: Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "version"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("SchemaVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClientsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClients = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishedClients.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients(child)); - } - - return publishedClients; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientData Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedClient", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientData(typename, client: Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), publishedVersions: Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedVersions"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishedClientVersions.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, version: Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "version"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListStagesQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public ListStagesQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListStagesQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, stages: Deserialize_NonNullableIListStagesQuery_Node_StagesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stages"))); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIListStagesQuery_Node_StagesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var stages = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - stages.Add(Deserialize_NonNullableIListStagesQuery_Node_Stages(child)); - } - - return stages; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData Deserialize_NonNullableIListStagesQuery_Node_Stages(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), displayName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "displayName")), conditions: Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "conditions"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var stageConditions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - stageConditions.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(child)); - } - - return stageConditions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("AfterStageCondition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.AfterStageConditionData(typename, afterStage: Deserialize_IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "afterStage"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListEnvironmentCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _versionParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public ListEnvironmentCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _versionParser = serializerResolver.GetLeafValueParser("Version") ?? throw new global::System.ArgumentException("No serializer for type `Version` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListEnvironmentCommandQueryResultInfo(Deserialize_IListEnvironmentCommandQuery_WorkspaceById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListEnvironmentCommandQuery_WorkspaceById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, environments: Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "environments"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData? Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("EnvironmentsConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData(typename, edges: Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var environmentsEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - environmentsEdges.Add(Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges(child)); - } - - return environmentsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsEdgeData Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("EnvironmentsEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowEnvironmentCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public ShowEnvironmentCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ShowEnvironmentCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateEnvironmentCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public CreateEnvironmentCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CreateEnvironmentCommandMutationResultInfo(Deserialize_NonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pushWorkspaceChanges"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData Deserialize_NonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PushWorkspaceChangesPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData(typename, changes: Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes")), errors: Deserialize_IPushWorkspaceChangesErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var workspaceChangePayloads = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - workspaceChangePayloads.Add(Deserialize_NonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes(child)); - } - - return workspaceChangePayloads; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData Deserialize_NonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("WorkspaceChangePayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData(typename, referenceId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "referenceId")), error: Deserialize_IWorkspaceChangeErrorData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "error")), result: Deserialize_IWorkspaceChangeResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "result"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? Deserialize_IWorkspaceChangeErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ChangeValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ChangeValidationFailedData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("HasBeenChangedConflict", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenChangedConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("HasBeenDeletedConflict", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenDeletedConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("IdentifierCollisionConflict", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.IdentifierCollisionConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnexpectedErrorOnChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedErrorOnChangeData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("WorkspaceNotFoundForChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundForChangeData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? Deserialize_IWorkspaceChangeResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), workspace: Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Workspace(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPushWorkspaceChangesErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var pushWorkspaceChangesErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - pushWorkspaceChangesErrors.Add(Deserialize_NonNullableIPushWorkspaceChangesErrorData(child)); - } - - return pushWorkspaceChangesErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData Deserialize_NonNullableIPushWorkspaceChangesErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ChangeStructureInvalid", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ChangeStructureInvalidData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListApiKeyCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public ListApiKeyCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListApiKeyCommandQueryResultInfo(Deserialize_IListApiKeyCommandQuery_WorkspaceById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListApiKeyCommandQuery_WorkspaceById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, apiKeys: Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiKeys"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData? Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiKeysConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData(typename, edges: Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var apiKeysEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - apiKeysEdges.Add(Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges(child)); - } - - return apiKeysEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysEdgeData Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiKeysEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateApiKeyCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - public CreateApiKeyCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CreateApiKeyCommandMutationResultInfo(Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createApiKey"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("CreateApiKeyPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData(typename, result: Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "result")), errors: Deserialize_ICreateApiKeyErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData? Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiKeyWithSecret", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData(typename, key: Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Result_Key(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "key")), secret: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "secret"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Result_Key(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateApiKeyErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var createApiKeyErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - createApiKeyErrors.Add(Deserialize_NonNullableICreateApiKeyErrorData(child)); - } - - return createApiKeyErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyErrorData Deserialize_NonNullableICreateApiKeyErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("WorkspaceNotFound", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), workspaceId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceId"))); - } - - if (typename?.Equals("PersonalWorkspaceNotSupportedError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalWorkspaceNotSupportedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("RoleNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.RoleNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), roleId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "roleId"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var validationErrorPropertys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - validationErrorPropertys.Add(Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors(child)); - } - - return validationErrorPropertys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorPropertyData Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ValidationErrorProperty", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorPropertyData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteApiKeyCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public DeleteApiKeyCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new DeleteApiKeyCommandMutationResultInfo(Deserialize_NonNullableIDeleteApiKeyCommandMutation_DeleteApiKey(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteApiKey"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData Deserialize_NonNullableIDeleteApiKeyCommandMutation_DeleteApiKey(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeleteApiKeyPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData(typename, apiKey: Deserialize_IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiKey")), errors: Deserialize_IDeleteApiKeyErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? Deserialize_IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node_Workspace(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteApiKeyErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var deleteApiKeyErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - deleteApiKeyErrors.Add(Deserialize_NonNullableIDeleteApiKeyErrorData(child)); - } - - return deleteApiKeyErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyErrorData Deserialize_NonNullableIDeleteApiKeyErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiKeyNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiKeyId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiKeyId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListPersonalAccessTokenCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - public ListPersonalAccessTokenCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListPersonalAccessTokenCommandQueryResultInfo(Deserialize_IListPersonalAccessTokenCommandQuery_Me(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "me"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Deserialize_IListPersonalAccessTokenCommandQuery_Me(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData(typename, personalAccessTokens: Deserialize_IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personalAccessTokens"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData? Deserialize_IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersonalAccessTokensConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData(typename, edges: Deserialize_IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var personalAccessTokensEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - personalAccessTokensEdges.Add(Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges(child)); - } - - return personalAccessTokensEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensEdgeData Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersonalAccessTokensEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), description: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "description")), expiresAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "expiresAt")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreatePersonalAccessTokenCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - public CreatePersonalAccessTokenCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CreatePersonalAccessTokenCommandMutationResultInfo(Deserialize_NonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createPersonalAccessToken"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData Deserialize_NonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("CreatePersonalAccessTokenPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData(typename, result: Deserialize_ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "result")), errors: Deserialize_ICreatePersonalAccessTokenErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData? Deserialize_ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersonalAccessTokenWithSecret", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData(typename, token: Deserialize_NonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "token")), secret: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "secret"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData Deserialize_NonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), description: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "description")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), expiresAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "expiresAt"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreatePersonalAccessTokenErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var createPersonalAccessTokenErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - createPersonalAccessTokenErrors.Add(Deserialize_NonNullableICreatePersonalAccessTokenErrorData(child)); - } - - return createPersonalAccessTokenErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenErrorData Deserialize_NonNullableICreatePersonalAccessTokenErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class RevokePersonalAccessTokenCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - public RevokePersonalAccessTokenCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new RevokePersonalAccessTokenCommandMutationResultInfo(Deserialize_NonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "revokePersonalAccessToken"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData Deserialize_NonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("RevokePersonalAccessTokenPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData(typename, personalAccessToken: Deserialize_IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personalAccessToken")), errors: Deserialize_IRevokePersonalAccessTokenErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? Deserialize_IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), description: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "description")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), expiresAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "expiresAt"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IRevokePersonalAccessTokenErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var revokePersonalAccessTokenErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - revokePersonalAccessTokenErrors.Add(Deserialize_NonNullableIRevokePersonalAccessTokenErrorData(child)); - } - - return revokePersonalAccessTokenErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenErrorData Deserialize_NonNullableIRevokePersonalAccessTokenErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("PersonalAccessTokenNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadOpenApiCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public UploadOpenApiCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new UploadOpenApiCollectionCommandMutationResultInfo(Deserialize_NonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadOpenApiCollection"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData Deserialize_NonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UploadOpenApiCollectionPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData(typename, openApiCollectionVersion: Deserialize_IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionVersion")), errors: Deserialize_IUploadOpenApiCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData? Deserialize_IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadOpenApiCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var uploadOpenApiCollectionErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - uploadOpenApiCollectionErrors.Add(Deserialize_NonNullableIUploadOpenApiCollectionErrorData(child)); - } - - return uploadOpenApiCollectionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionErrorData Deserialize_NonNullableIUploadOpenApiCollectionErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData(typename, openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidOpenApiCollectionArchiveError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidOpenApiCollectionArchiveErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListOpenApiCollectionCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public ListOpenApiCollectionCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListOpenApiCollectionCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, openApiCollections: Deserialize_IListOpenApiCollectionCommandQuery_Node_OpenApiCollections(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollections"))); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? Deserialize_IListOpenApiCollectionCommandQuery_Node_OpenApiCollections(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiOpenApiCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData(typename, edges: Deserialize_IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var apiOpenApiCollectionsEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - apiOpenApiCollectionsEdges.Add(Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges(child)); - } - - return apiOpenApiCollectionsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiOpenApiCollectionsEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public PublishOpenApiCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new PublishOpenApiCollectionCommandMutationResultInfo(Deserialize_NonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishOpenApiCollection"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData Deserialize_NonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishOpenApiCollectionPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IPublishOpenApiCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPublishOpenApiCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var publishOpenApiCollectionErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishOpenApiCollectionErrors.Add(Deserialize_NonNullableIPublishOpenApiCollectionErrorData(child)); - } - - return publishOpenApiCollectionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionErrorData Deserialize_NonNullableIPublishOpenApiCollectionErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("OpenApiCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData(typename, openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("OpenApiCollectionVersionNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionNotFoundErrorData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishOpenApiCollectionCommandSubscriptionBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - public PublishOpenApiCollectionCommandSubscriptionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); - _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); - _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new PublishOpenApiCollectionCommandSubscriptionResultInfo(Deserialize_NonNullableIOpenApiCollectionVersionPublishResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onOpenApiCollectionVersionPublishingUpdate"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishResultData Deserialize_NonNullableIOpenApiCollectionVersionPublishResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionVersionPublishFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionPublishFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIOpenApiCollectionVersionPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionVersionPublishSuccess", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionPublishSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); - } - - if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); - } - - if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _processingStateParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionVersionPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionVersionPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionVersionPublishErrors.Add(Deserialize_NonNullableIOpenApiCollectionVersionPublishErrorData(child)); - } - - return openApiCollectionVersionPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishErrorData Deserialize_NonNullableIOpenApiCollectionVersionPublishErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); - } - - if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); - } - - if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _intParser.Parse(obj.Value.GetInt32()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var clientDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); - } - - return clientDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); - } - - return fusionConfigurationDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); - } - - if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _directiveLocationParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); - } - - return openApiCollectionDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); - } - - return schemaDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public ValidateOpenApiCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ValidateOpenApiCollectionCommandMutationResultInfo(Deserialize_NonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateOpenApiCollection"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData Deserialize_NonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ValidateOpenApiCollectionPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IValidateOpenApiCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateOpenApiCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var validateOpenApiCollectionErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - validateOpenApiCollectionErrors.Add(Deserialize_NonNullableIValidateOpenApiCollectionErrorData(child)); - } - - return validateOpenApiCollectionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionErrorData Deserialize_NonNullableIValidateOpenApiCollectionErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("OpenApiCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData(typename, openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateOpenApiCollectionCommandSubscriptionBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - public ValidateOpenApiCollectionCommandSubscriptionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ValidateOpenApiCollectionCommandSubscriptionResultInfo(Deserialize_NonNullableIOpenApiCollectionVersionValidationResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onOpenApiCollectionVersionValidationUpdate"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationResultData Deserialize_NonNullableIOpenApiCollectionVersionValidationResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionVersionValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIOpenApiCollectionVersionValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionVersionValidationSuccess", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _processingStateParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionVersionValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionVersionValidationErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionVersionValidationErrors.Add(Deserialize_NonNullableIOpenApiCollectionVersionValidationErrorData(child)); - } - - return openApiCollectionVersionValidationErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationErrorData Deserialize_NonNullableIOpenApiCollectionVersionValidationErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationArchiveError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationArchiveErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); - } - - if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); - } - - if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _intParser.Parse(obj.Value.GetInt32()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateOpenApiCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public CreateOpenApiCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CreateOpenApiCollectionCommandMutationResultInfo(Deserialize_NonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createOpenApiCollection"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData Deserialize_NonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("CreateOpenApiCollectionPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData(typename, openApiCollection: Deserialize_ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), errors: Deserialize_ICreateOpenApiCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateOpenApiCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var createOpenApiCollectionErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - createOpenApiCollectionErrors.Add(Deserialize_NonNullableICreateOpenApiCollectionErrorData(child)); - } - - return createOpenApiCollectionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionErrorData Deserialize_NonNullableICreateOpenApiCollectionErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class DeleteOpenApiCollectionByIdCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public DeleteOpenApiCollectionByIdCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new DeleteOpenApiCollectionByIdCommandMutationResultInfo(Deserialize_NonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteOpenApiCollectionById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData Deserialize_NonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeleteOpenApiCollectionByIdPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData(typename, openApiCollection: Deserialize_IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), errors: Deserialize_IDeleteOpenApiCollectionByIdErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteOpenApiCollectionByIdErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var deleteOpenApiCollectionByIdErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - deleteOpenApiCollectionByIdErrors.Add(Deserialize_NonNullableIDeleteOpenApiCollectionByIdErrorData(child)); - } - - return deleteOpenApiCollectionByIdErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdErrorData Deserialize_NonNullableIDeleteOpenApiCollectionByIdErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ShowWorkspaceCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public ShowWorkspaceCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ShowWorkspaceCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), personal: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personal"))); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CreateWorkspaceCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public CreateWorkspaceCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CreateWorkspaceCommandMutationResultInfo(Deserialize_NonNullableICreateWorkspaceCommandMutation_CreateWorkspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createWorkspace"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData Deserialize_NonNullableICreateWorkspaceCommandMutation_CreateWorkspace(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("CreateWorkspacePayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData(typename, workspace: Deserialize_ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), errors: Deserialize_ICreateWorkspaceErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), personal: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personal"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateWorkspaceErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var createWorkspaceErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - createWorkspaceErrors.Add(Deserialize_NonNullableICreateWorkspaceErrorData(child)); - } - - return createWorkspaceErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceErrorData Deserialize_NonNullableICreateWorkspaceErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ListWorkspaceCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - public ListWorkspaceCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ListWorkspaceCommandQueryResultInfo(Deserialize_IListWorkspaceCommandQuery_Me(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "me"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Deserialize_IListWorkspaceCommandQuery_Me(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData(typename, workspaces: Deserialize_IListWorkspaceCommandQuery_Me_Workspaces(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaces"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? Deserialize_IListWorkspaceCommandQuery_Me_Workspaces(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("WorkspacesConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData(typename, edges: Deserialize_IListWorkspaceCommandQuery_Me_Workspaces_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListWorkspaceCommandQuery_Me_Workspaces_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var workspacesEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - workspacesEdges.Add(Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges(child)); - } - - return workspacesEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("WorkspacesEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), personal: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personal"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - public SetDefaultWorkspaceCommand_SelectWorkspace_QueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo(Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "me"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData(typename, workspaces: Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaces"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("WorkspacesConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData(typename, edges: Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var workspacesEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - workspacesEdges.Add(Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges(child)); - } - - return workspacesEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("WorkspacesEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), personal: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personal"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PublishSchemaVersionBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public PublishSchemaVersionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new PublishSchemaVersionResultInfo(Deserialize_NonNullableIPublishSchemaVersion_PublishSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishSchema"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData Deserialize_NonNullableIPublishSchemaVersion_PublishSchema(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishSchemaPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IPublishSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPublishSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var publishSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishSchemaErrors.Add(Deserialize_NonNullableIPublishSchemaErrorData(child)); - } - - return publishSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaErrorData Deserialize_NonNullableIPublishSchemaErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("SchemaNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionPublishUpdatedBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - public OnSchemaVersionPublishUpdatedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); - _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); - _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new OnSchemaVersionPublishUpdatedResultInfo(Deserialize_NonNullableISchemaVersionPublishResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onSchemaVersionPublishingUpdate"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishResultData Deserialize_NonNullableISchemaVersionPublishResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); - } - - if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); - } - - if (typename?.Equals("SchemaVersionPublishFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionPublishFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableISchemaVersionPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("SchemaVersionPublishSuccess", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionPublishSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _processingStateParser.Parse(obj.Value.GetString()!); - } - - private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _intParser.Parse(obj.Value.GetInt32()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaVersionPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaVersionPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaVersionPublishErrors.Add(Deserialize_NonNullableISchemaVersionPublishErrorData(child)); - } - - return schemaVersionPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishErrorData Deserialize_NonNullableISchemaVersionPublishErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); - } - - if (typename?.Equals("SchemaVersionChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData(typename, changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); - } - - if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); - } - - if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _directiveLocationParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var clientDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); - } - - return clientDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); - } - - return fusionConfigurationDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); - } - - return openApiCollectionDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); - } - - return schemaDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class UploadSchemaBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public UploadSchemaBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new UploadSchemaResultInfo(Deserialize_NonNullableIUploadSchema_UploadSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadSchema"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData Deserialize_NonNullableIUploadSchema_UploadSchema(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UploadSchemaPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData(typename, schemaVersion: Deserialize_IUploadSchema_UploadSchema_SchemaVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaVersion")), errors: Deserialize_IUploadSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? Deserialize_IUploadSchema_UploadSchema_SchemaVersion(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("SchemaVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var uploadSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - uploadSchemaErrors.Add(Deserialize_NonNullableIUploadSchemaErrorData(child)); - } - - return uploadSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaErrorData Deserialize_NonNullableIUploadSchemaErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateSchemaVersionBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public ValidateSchemaVersionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ValidateSchemaVersionResultInfo(Deserialize_NonNullableIValidateSchemaVersion_ValidateSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateSchema"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData Deserialize_NonNullableIValidateSchemaVersion_ValidateSchema(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ValidateSchemaPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IValidateSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var validateSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - validateSchemaErrors.Add(Deserialize_NonNullableIValidateSchemaErrorData(child)); - } - - return validateSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaErrorData Deserialize_NonNullableIValidateSchemaErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("SchemaNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); - } - - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnSchemaVersionValidationUpdatedBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - public OnSchemaVersionValidationUpdatedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); - _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); - _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new OnSchemaVersionValidationUpdatedResultInfo(Deserialize_NonNullableISchemaVersionValidationResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onSchemaVersionValidationUpdate"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationResultData Deserialize_NonNullableISchemaVersionValidationResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("SchemaVersionValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableISchemaVersionValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("SchemaVersionValidationSuccess", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _processingStateParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaVersionValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaVersionValidationErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaVersionValidationErrors.Add(Deserialize_NonNullableISchemaVersionValidationErrorData(child)); - } - - return schemaVersionValidationErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationErrorData Deserialize_NonNullableISchemaVersionValidationErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); - } - - if (typename?.Equals("SchemaVersionChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData(typename, changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); - } - - if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _intParser.Parse(obj.Value.GetInt32()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); - } - - if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _directiveLocationParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CancelFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public CancelFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CancelFusionConfigurationPublishResultInfo(Deserialize_NonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cancelFusionConfigurationComposition"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData Deserialize_NonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("CancelFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData(typename, errors: Deserialize_ICancelFusionConfigurationCompositionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICancelFusionConfigurationCompositionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var cancelFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - cancelFusionConfigurationCompositionErrors.Add(Deserialize_NonNullableICancelFusionConfigurationCompositionErrorData(child)); - } - - return cancelFusionConfigurationCompositionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionErrorData Deserialize_NonNullableICancelFusionConfigurationCompositionErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("FusionConfigurationRequestNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class CommitFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public CommitFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new CommitFusionConfigurationPublishResultInfo(Deserialize_NonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "commitFusionConfigurationPublish"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData Deserialize_NonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("CommitFusionConfigurationPublishPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData(typename, errors: Deserialize_ICommitFusionConfigurationPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICommitFusionConfigurationPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var commitFusionConfigurationPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - commitFusionConfigurationPublishErrors.Add(Deserialize_NonNullableICommitFusionConfigurationPublishErrorData(child)); - } - - return commitFusionConfigurationPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishErrorData Deserialize_NonNullableICommitFusionConfigurationPublishErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("FusionConfigurationRequestNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class StartFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public StartFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new StartFusionConfigurationPublishResultInfo(Deserialize_NonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startFusionConfigurationComposition"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData Deserialize_NonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("StartFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData(typename, errors: Deserialize_IStartFusionConfigurationCompositionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IStartFusionConfigurationCompositionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var startFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - startFusionConfigurationCompositionErrors.Add(Deserialize_NonNullableIStartFusionConfigurationCompositionErrorData(child)); - } - - return startFusionConfigurationCompositionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionErrorData Deserialize_NonNullableIStartFusionConfigurationCompositionErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("FusionConfigurationRequestNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class BeginFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public BeginFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new BeginFusionConfigurationPublishResultInfo(Deserialize_NonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "beginFusionConfigurationPublish"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData Deserialize_NonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("BeginFusionConfigurationPublishPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData(typename, requestId: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "requestId")), errors: Deserialize_IBeginFusionConfigurationPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _iDParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IBeginFusionConfigurationPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var beginFusionConfigurationPublishErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - beginFusionConfigurationPublishErrors.Add(Deserialize_NonNullableIBeginFusionConfigurationPublishErrorData(child)); - } - - return beginFusionConfigurationPublishErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishErrorData Deserialize_NonNullableIBeginFusionConfigurationPublishErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); - } - - if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - if (typename?.Equals("SubgraphInvalidError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SubgraphInvalidErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class OnFusionConfigurationPublishingTaskChangedBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - public OnFusionConfigurationPublishingTaskChangedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); - _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); - _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new OnFusionConfigurationPublishingTaskChangedResultInfo(Deserialize_NonNullableIFusionConfigurationPublishingResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onFusionConfigurationPublishingTaskChanged"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingResultData Deserialize_NonNullableIFusionConfigurationPublishingResultData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("FusionConfigurationPublishingFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationPublishingFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), failed: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "failed")), errors: Deserialize_NonNullableIFusionConfigurationPublishingErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("FusionConfigurationPublishingSuccess", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationPublishingSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), success: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "success"))); - } - - if (typename?.Equals("FusionConfigurationValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), failed: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "failed")), errors: Deserialize_NonNullableIFusionConfigurationValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("FusionConfigurationValidationSuccess", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), success: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "success")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); - } - - if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); - } - - if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); - } - - if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _processingStateParser.Parse(obj.Value.GetString()!); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationPublishingErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationPublishingErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - fusionConfigurationPublishingErrors.Add(Deserialize_NonNullableIFusionConfigurationPublishingErrorData(child)); - } - - return fusionConfigurationPublishingErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingErrorData Deserialize_NonNullableIFusionConfigurationPublishingErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var graphQLSchemaErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); - } - - return graphQLSchemaErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationValidationErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - fusionConfigurationValidationErrors.Add(Deserialize_NonNullableIFusionConfigurationValidationErrorData(child)); - } - - return fusionConfigurationValidationErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationValidationErrorData Deserialize_NonNullableIFusionConfigurationValidationErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaVersionChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData(typename, changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); - } - - return openApiCollectionValidationCollections; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); - } - - return openApiCollectionValidationEntitys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); - } - - if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); - } - - return openApiCollectionValidationEntityErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); - } - - return openApiCollectionValidationDocumentErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _intParser.Parse(obj.Value.GetInt32()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(child)); - } - - return persistedQueryValidationFaileds; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var persistedQueryErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(child)); - } - - return persistedQueryErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(child)); - } - - return persistedQueryErrorLocations; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); - } - - return schemaChangeLogEntrys; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); - } - - if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var directiveChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); - } - - return directiveChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var argumentChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); - } - - return argumentChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _directiveLocationParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); - } - - return enumChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var enumValueChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); - } - - return enumValueChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputObjectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); - } - - return inputObjectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var inputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); - } - - return inputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var interfaceChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); - } - - return interfaceChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var outputFieldChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); - } - - return outputFieldChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); - } - - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var objectChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); - } - - return objectChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); - } - - if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); - } - - if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var scalarChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); - } - - return scalarChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var unionChanges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); - } - - return unionChanges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); - } - - if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var clientDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); - } - - return clientDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); - } - - return fusionConfigurationDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); - } - - return openApiCollectionDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var schemaDeploymentErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); - } - - return schemaDeploymentErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionValidationUpdated_OnClientVersionValidationUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); - } - - if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); - } - - if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); - } - - if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ValidateFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - public ValidateFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new ValidateFusionConfigurationPublishResultInfo(Deserialize_NonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateFusionConfigurationComposition"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData Deserialize_NonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ValidateFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData(typename, errors: Deserialize_IValidateFusionConfigurationCompositionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateFusionConfigurationCompositionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var validateFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - validateFusionConfigurationCompositionErrors.Add(Deserialize_NonNullableIValidateFusionConfigurationCompositionErrorData(child)); - } - - return validateFusionConfigurationCompositionErrors; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionErrorData Deserialize_NonNullableIValidateFusionConfigurationCompositionErrorData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("FusionConfigurationRequestNotFoundError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectMockSchemaPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _uRLParser; - public SelectMockSchemaPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - _uRLParser = serializerResolver.GetLeafValueParser("URL") ?? throw new global::System.ArgumentException("No serializer for type `URL` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new SelectMockSchemaPromptQueryResultInfo(Deserialize_ISelectMockSchemaPromptQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISelectMockSchemaPromptQuery_ApiById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, mockSchemas: Deserialize_ISelectMockSchemaPromptQuery_ApiById_MockSchemas(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mockSchemas"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? Deserialize_ISelectMockSchemaPromptQuery_ApiById_MockSchemas(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchemasConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData(typename, edges: Deserialize_ISelectMockSchemaPromptQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectMockSchemaPromptQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var mockSchemasEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - mockSchemasEdges.Add(Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges(child)); - } - - return mockSchemasEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchemasEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), createdBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdBy")), modifiedAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedAt")), modifiedBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedBy")), downstreamUrl: Deserialize_NonNullableUri(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downstreamUrl")), url: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "url"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Uri Deserialize_NonNullableUri(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _uRLParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class PageClientVersionDetailQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - public PageClientVersionDetailQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new PageClientVersionDetailQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); - } - - if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); - } - - if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); - } - - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, versions: Deserialize_IPageClientVersionDetailQuery_Node_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); - } - - if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); - } - - if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); - } - - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); - } - - if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); - } - - if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); - } - - if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); - } - - if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); - } - - if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); - } - - if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); - } - - if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); - } - - if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); - } - - if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); - } - - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); - } - - if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); - } - - if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); - } - - if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); - } - - if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); - } - - if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); - } - - if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); - } - - if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); - } - - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); - } - - if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); - } - - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); - } - - if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_IPageClientVersionDetailQuery_Node_Versions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, pageInfo: Deserialize_NonNullableIPageClientVersionDetailQuery_Node_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo")), edges: Deserialize_IPageClientVersionDetailQuery_Node_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIPageClientVersionDetailQuery_Node_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPageClientVersionDetailQuery_Node_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientVersionEdges.Add(Deserialize_NonNullableIPageClientVersionDetailQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableIPageClientVersionDetailQuery_Node_Versions_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishedClientVersions.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectClientPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; - public SelectClientPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new SelectClientPromptQueryResultInfo(Deserialize_ISelectClientPromptQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISelectClientPromptQuery_ApiById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, clients: Deserialize_ISelectClientPromptQuery_ApiById_Clients(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clients"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? Deserialize_ISelectClientPromptQuery_ApiById_Clients(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientsConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData(typename, edges: Deserialize_ISelectClientPromptQuery_ApiById_Clients_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectClientPromptQuery_ApiById_Clients_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var clientsEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientsEdges.Add(Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_Edges(child)); - } - - return clientsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientsEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), api: Deserialize_IShowClientCommandQuery_Node_Api_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_IShowClientCommandQuery_Node_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IShowClientCommandQuery_Node_Api_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_IShowClientCommandQuery_Node_Versions(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_IShowClientCommandQuery_Node_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var clientVersionEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - clientVersionEdges.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(child)); - } - - return clientVersionEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _dateTimeParser.Parse(obj.Value.GetString()!); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var publishedClientVersions = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - publishedClientVersions.Add(Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(child)); - } - - return publishedClientVersions; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IShowClientCommandQuery_Node_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIShowClientCommandQuery_Node_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectApiPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _versionParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public SelectApiPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _versionParser = serializerResolver.GetLeafValueParser("Version") ?? throw new global::System.ArgumentException("No serializer for type `Version` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new SelectApiPromptQueryResultInfo(Deserialize_ISelectApiPromptQuery_WorkspaceById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ISelectApiPromptQuery_WorkspaceById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, apis: Deserialize_ISelectApiPromptQuery_WorkspaceById_Apis(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apis"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? Deserialize_ISelectApiPromptQuery_WorkspaceById_Apis(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApisConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData(typename, edges: Deserialize_ISelectApiPromptQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectApiPromptQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var apisEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - apisEdges.Add(Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges(child)); - } - - return apisEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApisEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var @strings = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - @strings.Add(Deserialize_NonNullableString(child)); - } - - return @strings; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IShowApiCommandQuery_Node_Workspace_1(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableIShowApiCommandQuery_Node_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class SelectOpenApiCollectionPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder - { - private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; - private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; - public SelectOpenApiCollectionPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) - { - ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); - _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); - _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); - _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); - _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); - } - - protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } - - protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) - { - return new SelectOpenApiCollectionPromptQueryResultInfo(Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, openApiCollections: Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollections"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiOpenApiCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData(typename, edges: Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - var apiOpenApiCollectionsEdges = new global::System.Collections.Generic.List(); - foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) - { - apiOpenApiCollectionsEdges.Add(Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges(child)); - } - - return apiOpenApiCollectionsEdges; - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("ApiOpenApiCollectionsEdge", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - var typename = obj.Value.GetProperty("__typename").GetString(); - if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) - { - return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); - } - - throw new global::System.NotSupportedException(); - } - - private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - throw new global::System.ArgumentNullException(); - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - throw new global::System.ArgumentNullException(); - } - - return _booleanParser.Parse(obj.Value.GetBoolean()!); - } - - private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) - { - if (!obj.HasValue) - { - return null; - } - - if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) - { - return null; - } - - return _stringParser.Parse(obj.Value.GetString()!); - } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UploadFusionSubgraphPayloadData - { - public UploadFusionSubgraphPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData? fusionSubgraphVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - FusionSubgraphVersion = fusionSubgraphVersion; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData? FusionSubgraphVersion { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionSubgraphVersionData - { - public FusionSubgraphVersionData(global::System.String __typename, global::System.String? id = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadFusionSubgraphErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InvalidFusionSourceSchemaArchiveErrorData : IUploadFusionSubgraphErrorData, IErrorData - { - public InvalidFusionSourceSchemaArchiveErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateMockSchemaErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateClientErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IBeginFusionConfigurationPublishErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadSchemaErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiByIdErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateOpenApiCollectionErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateApiSettingsErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateSchemaErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateStagesErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishSchemaErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateApiKeyForApiErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiNotFoundErrorData : ICreateMockSchemaErrorData, ICreateClientErrorData, IUploadFusionSubgraphErrorData, ICreateApiKeyErrorData, IBeginFusionConfigurationPublishErrorData, IUploadSchemaErrorData, IDeleteApiByIdErrorData, ICreateOpenApiCollectionErrorData, IUpdateApiSettingsErrorData, IValidateSchemaErrorData, IUpdateStagesErrorData, IPublishSchemaErrorData, ICreateApiKeyForApiErrorData, IErrorData - { - public ApiNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? apiId = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - ApiId = apiId; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? ApiId { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadClientErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnpublishClientErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUploadOpenApiCollectionErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionPublishErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionPublishErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationPublishingErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionPublishErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IProcessingErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ConcurrentOperationErrorData : IUploadFusionSubgraphErrorData, IUploadClientErrorData, IUploadSchemaErrorData, IUnpublishClientErrorData, IUploadOpenApiCollectionErrorData, IErrorData, ISchemaVersionPublishErrorData, IClientVersionPublishErrorData, IFusionConfigurationPublishingErrorData, IOpenApiCollectionVersionPublishErrorData, IProcessingErrorData - { - public ConcurrentOperationErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPollClientVersionValidationRequestErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateAccountErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteMockSchemaByIdErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateOpenApiCollectionErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelDeploymentErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStartFusionConfigurationCompositionErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPollClientVersionPublishRequestErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPollSchemaVersionValidationRequestErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPollSchemaVersionPublishRequestErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreatePersonalAccessTokenErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICommitFusionConfigurationPublishErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IApproveDeploymentErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IEnsureTunnelSessionErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateThemeSettingsErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateMockSchemaErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRevokePersonalAccessTokenErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateClientErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteOpenApiCollectionByIdErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISetActiveWorkspaceErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IValidateFusionConfigurationCompositionErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICancelFusionConfigurationCompositionErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRenameWorkspaceErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPushWorkspaceChangesErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteClientByIdErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishOpenApiCollectionErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdatePreferencesErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeleteApiKeyErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPublishClientErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUpdateFeatureFlagsErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IRemoveWorkspaceErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IPushDocumentChangesErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ICreateWorkspaceErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UnauthorizedOperationData : ICreateMockSchemaErrorData, IPollClientVersionValidationRequestErrorData, ICreateAccountErrorData, ICreateClientErrorData, IUploadFusionSubgraphErrorData, IDeleteMockSchemaByIdErrorData, IUploadClientErrorData, IValidateOpenApiCollectionErrorData, ICreateApiKeyErrorData, IBeginFusionConfigurationPublishErrorData, ICancelDeploymentErrorData, IStartFusionConfigurationCompositionErrorData, IUploadSchemaErrorData, IPollClientVersionPublishRequestErrorData, IDeleteApiByIdErrorData, IPollSchemaVersionValidationRequestErrorData, IPollSchemaVersionPublishRequestErrorData, ICreatePersonalAccessTokenErrorData, ICommitFusionConfigurationPublishErrorData, IApproveDeploymentErrorData, IEnsureTunnelSessionErrorData, IUpdateThemeSettingsErrorData, IUpdateMockSchemaErrorData, IRevokePersonalAccessTokenErrorData, IValidateClientErrorData, IDeleteOpenApiCollectionByIdErrorData, IUnpublishClientErrorData, ICreateOpenApiCollectionErrorData, IUploadOpenApiCollectionErrorData, ISetActiveWorkspaceErrorData, IValidateFusionConfigurationCompositionErrorData, ICancelFusionConfigurationCompositionErrorData, IRenameWorkspaceErrorData, IPushWorkspaceChangesErrorData, IDeleteClientByIdErrorData, IPublishOpenApiCollectionErrorData, IUpdateApiSettingsErrorData, IValidateSchemaErrorData, IUpdatePreferencesErrorData, IDeleteApiKeyErrorData, IPublishClientErrorData, IPublishSchemaErrorData, IUpdateFeatureFlagsErrorData, IRemoveWorkspaceErrorData, IPushDocumentChangesErrorData, ICreateApiKeyForApiErrorData, ICreateWorkspaceErrorData, IErrorData - { - public UnauthorizedOperationData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DuplicatedTagErrorData : IUploadFusionSubgraphErrorData, IUploadClientErrorData, IUploadSchemaErrorData, IUploadOpenApiCollectionErrorData, IErrorData - { - public DuplicatedTagErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionConfigurationData - { - public FusionConfigurationData(global::System.String __typename, global::System.String? downloadUrl = default !, global::System.String? tag = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - DownloadUrl = downloadUrl; - Tag = tag; - } - - public global::System.String __typename { get; init; } - public global::System.String? DownloadUrl { get; init; } - public global::System.String? Tag { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateMockSchemaPayloadData - { - public CreateMockSchemaPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? mockSchema = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - MockSchema = mockSchema; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? MockSchema { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record MockSchemaData - { - public MockSchemaData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !, global::System.DateTimeOffset? createdAt = default !, global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData? createdBy = default !, global::System.DateTimeOffset? modifiedAt = default !, global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData? modifiedBy = default !, global::System.Uri? downstreamUrl = default !, global::System.String? url = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Name = name; - CreatedAt = createdAt; - CreatedBy = createdBy; - ModifiedAt = modifiedAt; - ModifiedBy = modifiedBy; - DownstreamUrl = downstreamUrl; - Url = url; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.String? Name { get; init; } - public global::System.DateTimeOffset? CreatedAt { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData? CreatedBy { get; init; } - public global::System.DateTimeOffset? ModifiedAt { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData? ModifiedBy { get; init; } - public global::System.Uri? DownstreamUrl { get; init; } - public global::System.String? Url { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record MockSchemaNonUniqueNameErrorData : ICreateMockSchemaErrorData, IUpdateMockSchemaErrorData, IErrorData - { - public MockSchemaNonUniqueNameErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? name = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Name = name; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? Name { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidationErrorData : ICreateMockSchemaErrorData, ICreateApiKeyErrorData, ICreatePersonalAccessTokenErrorData, IUpdateThemeSettingsErrorData, IUpdateMockSchemaErrorData, IRenameWorkspaceErrorData, IUpdatePreferencesErrorData, IUpdateFeatureFlagsErrorData, IRemoveWorkspaceErrorData, ICreateApiKeyForApiErrorData, ICreateWorkspaceErrorData, IErrorData - { - public ValidationErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IAuthorizationEventLogPrincipalData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UserInfoData : IAuthorizationEventLogPrincipalData - { - public UserInfoData(global::System.String __typename, global::System.String? username = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Username = username; - } - - public global::System.String __typename { get; init; } - public global::System.String? Username { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UpdateMockSchemaPayloadData - { - public UpdateMockSchemaPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? mockSchema = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - MockSchema = mockSchema; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? MockSchema { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record MockSchemaNotFoundErrorData : IDeleteMockSchemaByIdErrorData, IUpdateMockSchemaErrorData, IErrorData - { - public MockSchemaNotFoundErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IAuthorizationEventLogResourceData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IWorkspaceChangeResultData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IApiKeyReferenceData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface INodeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiData : IAuthorizationEventLogResourceData, IWorkspaceChangeResultData, IApiKeyReferenceData, INodeData - { - public ApiData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? mockSchemas = default !, global::System.String? name = default !, global::System.Collections.Generic.IReadOnlyList? path = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? clients = default !, global::System.String? id = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspace = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData? settings = default !, global::System.String? version = default !, global::System.Collections.Generic.IReadOnlyList? stages = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? openApiCollections = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - MockSchemas = mockSchemas; - Name = name; - Path = path; - Clients = clients; - Id = id; - Workspace = workspace; - Settings = settings; - Version = version; - Stages = stages; - OpenApiCollections = openApiCollections; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? MockSchemas { get; init; } - public global::System.String? Name { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Path { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? Clients { get; init; } - public global::System.String? Id { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Workspace { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData? Settings { get; init; } - public global::System.String? Version { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Stages { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? OpenApiCollections { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Node { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new PageClientVersionDetailQueryResultInfo(Node); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public SelectClientPromptQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQueryResult); + + public SelectClientPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is SelectClientPromptQueryResultInfo info) + { + return new SelectClientPromptQueryResult(MapISelectClientPromptQuery_ApiById(info.ApiById)); + } + + throw new global::System.ArgumentException("SelectClientPromptQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById? MapISelectClientPromptQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ISelectClientPromptQuery_ApiById returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectClientPromptQuery_ApiById_Api(MapISelectClientPromptQuery_ApiById_Clients(data.Clients)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients? MapISelectClientPromptQuery_ApiById_Clients(global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? data) + { + if (data is null) + { + return null; + } + + ISelectClientPromptQuery_ApiById_Clients returnValue = default !; + if (data?.__typename.Equals("ClientsConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectClientPromptQuery_ApiById_Clients_ClientsConnection(MapISelectClientPromptQuery_ApiById_Clients_EdgesNonNullableArray(data.Edges), MapNonNullableISelectClientPromptQuery_ApiById_Clients_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapISelectClientPromptQuery_ApiById_Clients_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var clientsEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData child in list) + { + clientsEdges.Add(MapNonNullableISelectClientPromptQuery_ApiById_Clients_Edges(child)); + } + + return clientsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges MapNonNullableISelectClientPromptQuery_ApiById_Clients_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData data) + { + ISelectClientPromptQuery_ApiById_Clients_Edges returnValue = default !; + if (data.__typename.Equals("ClientsEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectClientPromptQuery_ApiById_Clients_Edges_ClientsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectClientPromptQuery_ApiById_Clients_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_Edges_Node MapNonNullableISelectClientPromptQuery_ApiById_Clients_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData data) + { + ISelectClientPromptQuery_ApiById_Clients_Edges_Node returnValue = default !; + if (data.__typename.Equals("Client", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectClientPromptQuery_ApiById_Clients_Edges_Node_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), MapICreateClientCommandMutation_CreateClient_Client_Api(data.Api), MapICreateClientCommandMutation_CreateClient_Client_Versions(data.Versions)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Api? MapICreateClientCommandMutation_CreateClient_Client_Api(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Api returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Api_Api(data.Name ?? throw new global::System.ArgumentNullException(), data.Path ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions? MapICreateClientCommandMutation_CreateClient_Client_Versions(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions returnValue = default !; + if (data?.__typename.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_ClientVersionConnection(MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(data.Edges), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData child in list) + { + clientVersionEdges.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges returnValue = default !; + if (data.__typename.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_ClientVersionEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node returnValue = default !; + if (data.__typename.Equals("ClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_ClientVersion(data.Id ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), data.Tag ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(data.PublishedTo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData child in list) + { + publishedClientVersions.Add(MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo returnValue = default !; + if (data.__typename.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_PublishedClientVersion(MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(data.Stage)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage? MapICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::ChilliCream.Nitro.CommandLine.Client.State.StageData? data) + { + if (data is null) + { + return null; + } + + ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage returnValue = default !; + if (data?.__typename.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage_Stage(data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo MapNonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateClientCommandMutation_CreateClient_Client_Versions_PageInfo_PageInfo(data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectClientPromptQuery_ApiById_Clients_PageInfo MapNonNullableISelectClientPromptQuery_ApiById_Clients_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ISelectClientPromptQuery_ApiById_Clients_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectClientPromptQuery_ApiById_Clients_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public SelectClientPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new SelectClientPromptQueryResultInfo(ApiById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public BeginFusionConfigurationPublishResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublishResult); + + public BeginFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is BeginFusionConfigurationPublishResultInfo info) + { + return new BeginFusionConfigurationPublishResult(MapNonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish(info.BeginFusionConfigurationPublish)); + } + + throw new global::System.ArgumentException("BeginFusionConfigurationPublishResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish MapNonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish(global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData data) + { + IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish returnValue = default !; + if (data.__typename.Equals("BeginFusionConfigurationPublishPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_BeginFusionConfigurationPublishPayload(data.RequestId, MapIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var beginFusionConfigurationPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishErrorData child in list) + { + beginFusionConfigurationPublishErrors.Add(MapNonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors(child)); + } + + return beginFusionConfigurationPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors MapNonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishErrorData data) + { + IBeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData apiNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_ApiNotFoundError(apiNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), apiNotFoundError.Message ?? throw new global::System.ArgumentNullException(), apiNotFoundError.ApiId ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData stageNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_StageNotFoundError(stageNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Message ?? throw new global::System.ArgumentNullException(), stageNotFoundError.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SubgraphInvalidErrorData subgraphInvalidError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_SubgraphInvalidError(subgraphInvalidError.__typename ?? throw new global::System.ArgumentNullException(), subgraphInvalidError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.BeginFusionConfigurationPublish_BeginFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public BeginFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData beginFusionConfigurationPublish) + { + BeginFusionConfigurationPublish = beginFusionConfigurationPublish; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData BeginFusionConfigurationPublish { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new BeginFusionConfigurationPublishResultInfo(BeginFusionConfigurationPublish); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChangedResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public OnFusionConfigurationPublishingTaskChangedResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChangedResult); + + public OnFusionConfigurationPublishingTaskChangedResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is OnFusionConfigurationPublishingTaskChangedResultInfo info) + { + return new OnFusionConfigurationPublishingTaskChangedResult(MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged(info.OnFusionConfigurationPublishingTaskChanged)); + } + + throw new global::System.ArgumentException("OnFusionConfigurationPublishingTaskChangedResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingResultData data) + { + IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationPublishingFailedData fusionConfigurationPublishingFailed) + { + if (!fusionConfigurationPublishingFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingFailed(fusionConfigurationPublishingFailed.State!.Value, fusionConfigurationPublishingFailed.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationPublishingFailed.Failed ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ErrorsNonNullableArray(fusionConfigurationPublishingFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationPublishingSuccessData fusionConfigurationPublishingSuccess) + { + if (!fusionConfigurationPublishingSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationPublishingSuccess(fusionConfigurationPublishingSuccess.State!.Value, fusionConfigurationPublishingSuccess.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationPublishingSuccess.Success ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationValidationFailedData fusionConfigurationValidationFailed) + { + if (!fusionConfigurationValidationFailed.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationFailed(fusionConfigurationValidationFailed.State!.Value, fusionConfigurationValidationFailed.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationValidationFailed.Failed ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1NonNullableArray(fusionConfigurationValidationFailed.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationValidationSuccessData fusionConfigurationValidationSuccess) + { + if (!fusionConfigurationValidationSuccess.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_FusionConfigurationValidationSuccess(fusionConfigurationValidationSuccess.State!.Value, fusionConfigurationValidationSuccess.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationValidationSuccess.Success ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ChangesNonNullableArray(fusionConfigurationValidationSuccess.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData operationInProgress) + { + if (!operationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_OperationInProgress(operationInProgress.State!.Value, operationInProgress.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData processingTaskApproved) + { + if (!processingTaskApproved.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskApproved(processingTaskApproved.State!.Value, processingTaskApproved.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData processingTaskIsQueued) + { + if (!processingTaskIsQueued.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!processingTaskIsQueued.QueuePosition.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsQueued(processingTaskIsQueued.State!.Value, processingTaskIsQueued.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.Queued ?? throw new global::System.ArgumentNullException(), processingTaskIsQueued.QueuePosition!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData processingTaskIsReady) + { + if (!processingTaskIsReady.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ProcessingTaskIsReady(processingTaskIsReady.State!.Value, processingTaskIsReady.__typename ?? throw new global::System.ArgumentNullException(), processingTaskIsReady.Ready ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData validationInProgress) + { + if (!validationInProgress.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ValidationInProgress(validationInProgress.State!.Value, validationInProgress.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData waitForApproval) + { + if (!waitForApproval.State.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_WaitForApproval(waitForApproval.State!.Value, waitForApproval.__typename ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(waitForApproval.Deployment)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationPublishingErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingErrorData child in list) + { + fusionConfigurationPublishingErrors.Add(MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors(child)); + } + + return fusionConfigurationPublishingErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingErrorData data) + { + IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData concurrentOperationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ConcurrentOperationError(concurrentOperationError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData processingTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ProcessingTimeoutError(processingTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData readyTimeoutError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_ReadyTimeoutError(readyTimeoutError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError(unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData child in list) + { + graphQLSchemaErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors returnValue = default !; + if (data.__typename.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors_GraphQLSchemaError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationValidationErrorData child in list) + { + fusionConfigurationValidationErrors.Add(MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1(child)); + } + + return fusionConfigurationValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1 MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationValidationErrorData data) + { + IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData schemaVersionChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_SchemaVersionChangeViolationError(schemaVersionChangeViolationError.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(schemaVersionChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData unexpectedProcessingError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Errors_UnexpectedProcessingError_1(unexpectedProcessingError.__typename ?? throw new global::System.ArgumentNullException(), unexpectedProcessingError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData child in list) + { + mcpFeatureCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(data.McpFeatureCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection returnValue = default !; + if (data?.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData child in list) + { + mcpFeatureCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData mcpFeatureCollectionValidationPrompt) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationPrompt.Errors), mcpFeatureCollectionValidationPrompt.Name ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData mcpFeatureCollectionValidationTool) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(mcpFeatureCollectionValidationTool.Errors), mcpFeatureCollectionValidationTool.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData child in list) + { + mcpFeatureCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData mcpFeatureCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError(mcpFeatureCollectionValidationDocumentError.Code, mcpFeatureCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), mcpFeatureCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(mcpFeatureCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData mcpFeatureCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError(mcpFeatureCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData child in list) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1 returnValue = default !; + if (data.__typename.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_McpFeatureCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData child in list) + { + openApiCollectionValidationCollections.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollectionValidationCollection(MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(data.OpenApiCollection), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(data.Entities ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection returnValue = default !; + if (data?.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_EntitiesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData child in list) + { + openApiCollectionValidationEntitys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData openApiCollectionValidationEndpoint) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationEndpoint(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationEndpoint.Errors), openApiCollectionValidationEndpoint.HttpMethod ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationEndpoint.Route ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData openApiCollectionValidationModel) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_OpenApiCollectionValidationModel(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(openApiCollectionValidationModel.Errors), openApiCollectionValidationModel.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData child in list) + { + openApiCollectionValidationEntityErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData openApiCollectionValidationDocumentError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationDocumentError(openApiCollectionValidationDocumentError.Code, openApiCollectionValidationDocumentError.Message ?? throw new global::System.ArgumentNullException(), openApiCollectionValidationDocumentError.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(openApiCollectionValidationDocumentError.Locations)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData openApiCollectionValidationEntityValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_OpenApiCollectionValidationEntityValidationError(openApiCollectionValidationEntityValidationError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData child in list) + { + openApiCollectionValidationDocumentErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations returnValue = default !; + if (data.__typename.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_OpenApiCollectionValidationDocumentErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client returnValue = default !; + if (data?.__typename.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client_Client(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData child in list) + { + persistedQueryValidationFaileds.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries returnValue = default !; + if (data.__typename.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_PersistedQueryValidationFailed(data.DeployedTags ?? throw new global::System.ArgumentNullException(), data.Message ?? throw new global::System.ArgumentNullException(), data.Hash ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(data.Errors ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData child in list) + { + persistedQueryErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors returnValue = default !; + if (data.__typename.Equals("PersistedQueryError", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_PersistedQueryError(data.Message ?? throw new global::System.ArgumentNullException(), data.Code, data.Path, MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(data.Locations)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData child in list) + { + persistedQueryErrorLocations.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations returnValue = default !; + if (data.__typename.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal)) + { + returnValue = new OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations_PersistedQueryErrorLocation(data.Column ?? throw new global::System.ArgumentNullException(), data.Line ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes MapNonNullableIOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnSchemaVersionPublishUpdated_OnSchemaVersionPublishingUpdate_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData child in list) + { + directiveChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentAdded(argumentAdded.__typename ?? throw new global::System.ArgumentNullException(), argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentChanged(argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ArgumentRemoved(argumentRemoved.__typename ?? throw new global::System.ArgumentNullException(), argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData directiveLocationAdded) + { + if (!directiveLocationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationAdded.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationAdded(directiveLocationAdded.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationAdded.Severity!.Value, directiveLocationAdded.Location!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData directiveLocationRemoved) + { + if (!directiveLocationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!directiveLocationRemoved.Location.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DirectiveLocationRemoved(directiveLocationRemoved.__typename ?? throw new global::System.ArgumentNullException(), directiveLocationRemoved.Severity!.Value, directiveLocationRemoved.Location!.Value); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData child in list) + { + argumentChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange(deprecatedChange.__typename ?? throw new global::System.ArgumentNullException(), deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged(typeChanged.__typename ?? throw new global::System.ArgumentNullException(), typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData child in list) + { + enumChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_1(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData enumValueAdded) + { + if (!enumValueAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueAdded(enumValueAdded.__typename ?? throw new global::System.ArgumentNullException(), enumValueAdded.Severity!.Value, enumValueAdded.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData enumValueChanged) + { + if (!enumValueChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueChanged(enumValueChanged.__typename ?? throw new global::System.ArgumentNullException(), enumValueChanged.Severity!.Value, enumValueChanged.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(enumValueChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData enumValueRemoved) + { + if (!enumValueRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_EnumValueRemoved(enumValueRemoved.__typename ?? throw new global::System.ArgumentNullException(), enumValueRemoved.Severity!.Value, enumValueRemoved.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData child in list) + { + enumValueChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1(global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_1(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_1(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData child in list) + { + inputObjectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_2(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData inputFieldChanged) + { + if (!inputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InputFieldChanged(inputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), inputFieldChanged.Severity!.Value, inputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), inputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(inputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData child in list) + { + inputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2(global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_2(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_2(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_1(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData child in list) + { + interfaceChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_3(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_1(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_1(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData possibleTypeAdded) + { + if (!possibleTypeAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeAdded(possibleTypeAdded.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeAdded.Severity!.Value, possibleTypeAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData possibleTypeRemoved) + { + if (!possibleTypeRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_PossibleTypeRemoved(possibleTypeRemoved.__typename ?? throw new global::System.ArgumentNullException(), possibleTypeRemoved.Severity!.Value, possibleTypeRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData child in list) + { + outputFieldChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData argumentAdded) + { + if (!argumentAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentAdded(argumentAdded.Severity!.Value, argumentAdded.Coordinate ?? throw new global::System.ArgumentNullException(), argumentAdded.Name ?? throw new global::System.ArgumentNullException(), argumentAdded.TypeName ?? throw new global::System.ArgumentNullException(), argumentAdded.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData argumentChanged) + { + if (!argumentChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentChanged(argumentChanged.Severity!.Value, argumentChanged.Coordinate ?? throw new global::System.ArgumentNullException(), argumentChanged.Name ?? throw new global::System.ArgumentNullException(), argumentChanged.__typename ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_ChangesNonNullableArray(argumentChanged.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData argumentRemoved) + { + if (!argumentRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_ArgumentRemoved(argumentRemoved.Severity!.Value, argumentRemoved.Coordinate ?? throw new global::System.ArgumentNullException(), argumentRemoved.Name ?? throw new global::System.ArgumentNullException(), argumentRemoved.TypeName ?? throw new global::System.ArgumentNullException(), argumentRemoved.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData deprecatedChange) + { + if (!deprecatedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DeprecatedChange_3(deprecatedChange.Severity!.Value, deprecatedChange.DeprecationReason); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_DescriptionChanged_3(descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New, descriptionChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData typeChanged) + { + if (!typeChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_TypeChanged_2(typeChanged.Severity!.Value, typeChanged.OldType ?? throw new global::System.ArgumentNullException(), typeChanged.NewType ?? throw new global::System.ArgumentNullException(), typeChanged.__typename ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData child in list) + { + objectChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4(global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_4(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData fieldAddedChange) + { + if (!fieldAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldAddedChange_2(fieldAddedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldAddedChange.Severity!.Value, fieldAddedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldAddedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldAddedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData fieldRemovedChange) + { + if (!fieldRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_FieldRemovedChange_2(fieldRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.Severity!.Value, fieldRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.TypeName ?? throw new global::System.ArgumentNullException(), fieldRemovedChange.FieldName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData interfaceImplementationAdded) + { + if (!interfaceImplementationAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationAdded_1(interfaceImplementationAdded.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationAdded.Severity!.Value, interfaceImplementationAdded.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData interfaceImplementationRemoved) + { + if (!interfaceImplementationRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_InterfaceImplementationRemoved_1(interfaceImplementationRemoved.__typename ?? throw new global::System.ArgumentNullException(), interfaceImplementationRemoved.Severity!.Value, interfaceImplementationRemoved.InterfaceName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData outputFieldChanged) + { + if (!outputFieldChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_OutputFieldChanged_1(outputFieldChanged.__typename ?? throw new global::System.ArgumentNullException(), outputFieldChanged.Severity!.Value, outputFieldChanged.Coordinate ?? throw new global::System.ArgumentNullException(), outputFieldChanged.FieldName ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_Changes_3NonNullableArray(outputFieldChanged.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData child in list) + { + scalarChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_5(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData child in list) + { + unionChanges.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6(global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData descriptionChanged) + { + if (!descriptionChanged.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_DescriptionChanged_6(descriptionChanged.__typename ?? throw new global::System.ArgumentNullException(), descriptionChanged.Severity!.Value, descriptionChanged.Old, descriptionChanged.New); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData unionMemberAdded) + { + if (!unionMemberAdded.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberAdded(unionMemberAdded.__typename ?? throw new global::System.ArgumentNullException(), unionMemberAdded.Severity!.Value, unionMemberAdded.TypeName ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData unionMemberRemoved) + { + if (!unionMemberRemoved.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_UnionMemberRemoved(unionMemberRemoved.__typename ?? throw new global::System.ArgumentNullException(), unionMemberRemoved.Severity!.Value, unionMemberRemoved.TypeName ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes MapNonNullableIOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnFusionConfigurationPublishingTaskChanged_OnFusionConfigurationPublishingTaskChanged_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment(global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? data) + { + if (data is null) + { + return null; + } + + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData clientDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ClientDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(clientDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData fusionConfigurationDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_FusionConfigurationDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(fusionConfigurationDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData mcpFeatureCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_McpFeatureCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(mcpFeatureCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData openApiCollectionDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_OpenApiCollectionDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(openApiCollectionDeployment.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData schemaDeployment) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_SchemaDeployment(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(schemaDeployment.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData child in list) + { + clientDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData child in list) + { + fusionConfigurationDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_1? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_1(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData child in list) + { + schemaChangeLogEntrys.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData directiveModifiedChange) + { + if (!directiveModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_DirectiveModifiedChange(directiveModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), directiveModifiedChange.Severity!.Value, directiveModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ChangesNonNullableArray(directiveModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData enumModifiedChange) + { + if (!enumModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_EnumModifiedChange(enumModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), enumModifiedChange.Severity!.Value, enumModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_1NonNullableArray(enumModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData inputObjectModifiedChange) + { + if (!inputObjectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InputObjectModifiedChange(inputObjectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), inputObjectModifiedChange.Severity!.Value, inputObjectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_2NonNullableArray(inputObjectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData interfaceModifiedChange) + { + if (!interfaceModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_InterfaceModifiedChange(interfaceModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), interfaceModifiedChange.Severity!.Value, interfaceModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_3NonNullableArray(interfaceModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData objectModifiedChange) + { + if (!objectModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ObjectModifiedChange(objectModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), objectModifiedChange.Severity!.Value, objectModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_4NonNullableArray(objectModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData scalarModifiedChange) + { + if (!scalarModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_ScalarModifiedChange(scalarModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), scalarModifiedChange.Severity!.Value, scalarModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(scalarModifiedChange.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData typeSystemMemberAddedChange) + { + if (!typeSystemMemberAddedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberAddedChange(typeSystemMemberAddedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberAddedChange.Severity!.Value, typeSystemMemberAddedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData typeSystemMemberModifiedChange) + { + if (!typeSystemMemberModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberModifiedChange(typeSystemMemberModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberModifiedChange.Severity!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData typeSystemMemberRemovedChange) + { + if (!typeSystemMemberRemovedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_TypeSystemMemberRemovedChange(typeSystemMemberRemovedChange.__typename ?? throw new global::System.ArgumentNullException(), typeSystemMemberRemovedChange.Severity!.Value, typeSystemMemberRemovedChange.Coordinate ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData unionModifiedChange) + { + if (!unionModifiedChange.Severity.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_UnionModifiedChange(unionModifiedChange.__typename ?? throw new global::System.ArgumentNullException(), unionModifiedChange.Severity!.Value, unionModifiedChange.Coordinate ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_6NonNullableArray(unionModifiedChange.Changes)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData child in list) + { + mcpFeatureCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData child in list) + { + openApiCollectionDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_1(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4NonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData child in list) + { + schemaDeploymentErrors.Add(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4 MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4(global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData data) + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_4? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData persistedQueryValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_PersistedQueryValidationError_2(persistedQueryValidationError.Message ?? throw new global::System.ArgumentNullException(), MapIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(persistedQueryValidationError.Client), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(persistedQueryValidationError.Queries)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData schemaChangeViolationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaChangeViolationError_1(schemaChangeViolationError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ChangesNonNullableArray(schemaChangeViolationError.Changes)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData operationsAreNotAllowedError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OperationsAreNotAllowedError(operationsAreNotAllowedError.__typename ?? throw new global::System.ArgumentNullException(), operationsAreNotAllowedError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData schemaVersionSyntaxError) + { + if (!schemaVersionSyntaxError.Column.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Position.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (!schemaVersionSyntaxError.Line.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_SchemaVersionSyntaxError(schemaVersionSyntaxError.__typename ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Message ?? throw new global::System.ArgumentNullException(), schemaVersionSyntaxError.Column!.Value, schemaVersionSyntaxError.Position!.Value, schemaVersionSyntaxError.Line!.Value); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData invalidGraphQLSchemaError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_InvalidGraphQLSchemaError_1(invalidGraphQLSchemaError.__typename ?? throw new global::System.ArgumentNullException(), invalidGraphQLSchemaError.Message ?? throw new global::System.ArgumentNullException(), MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(invalidGraphQLSchemaError.Errors)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData openApiCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_OpenApiCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(openApiCollectionValidationError.Collections)); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData mcpFeatureCollectionValidationError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.OnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_McpFeatureCollectionValidationError_2(MapNonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(mcpFeatureCollectionValidationError.Collections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChangedResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public OnFusionConfigurationPublishingTaskChangedResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingResultData onFusionConfigurationPublishingTaskChanged) + { + OnFusionConfigurationPublishingTaskChanged = onFusionConfigurationPublishingTaskChanged; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingResultData OnFusionConfigurationPublishingTaskChanged { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new OnFusionConfigurationPublishingTaskChangedResultInfo(OnFusionConfigurationPublishingTaskChanged); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CancelFusionConfigurationPublishResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublishResult); + + public CancelFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CancelFusionConfigurationPublishResultInfo info) + { + return new CancelFusionConfigurationPublishResult(MapNonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition(info.CancelFusionConfigurationComposition)); + } + + throw new global::System.ArgumentException("CancelFusionConfigurationPublishResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition MapNonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition(global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData data) + { + ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition returnValue = default !; + if (data.__typename.Equals("CancelFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_CancelFusionConfigurationCompositionPayload(MapICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var cancelFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionErrorData child in list) + { + cancelFusionConfigurationCompositionErrors.Add(MapNonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors(child)); + } + + return cancelFusionConfigurationCompositionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors MapNonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionErrorData data) + { + ICancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData fusionConfigurationRequestNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(fusionConfigurationRequestNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationRequestNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CancelFusionConfigurationPublish_CancelFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CancelFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData cancelFusionConfigurationComposition) + { + CancelFusionConfigurationComposition = cancelFusionConfigurationComposition; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData CancelFusionConfigurationComposition { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CancelFusionConfigurationPublishResultInfo(CancelFusionConfigurationComposition); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public CommitFusionConfigurationPublishResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublishResult); + + public CommitFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is CommitFusionConfigurationPublishResultInfo info) + { + return new CommitFusionConfigurationPublishResult(MapNonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish(info.CommitFusionConfigurationPublish)); + } + + throw new global::System.ArgumentException("CommitFusionConfigurationPublishResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish MapNonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish(global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData data) + { + ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish returnValue = default !; + if (data.__typename.Equals("CommitFusionConfigurationPublishPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_CommitFusionConfigurationPublishPayload(MapICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var commitFusionConfigurationPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishErrorData child in list) + { + commitFusionConfigurationPublishErrors.Add(MapNonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors(child)); + } + + return commitFusionConfigurationPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors MapNonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishErrorData data) + { + ICommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData fusionConfigurationRequestNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_FusionConfigurationRequestNotFoundError(fusionConfigurationRequestNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationRequestNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.CommitFusionConfigurationPublish_CommitFusionConfigurationPublish_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public CommitFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData commitFusionConfigurationPublish) + { + CommitFusionConfigurationPublish = commitFusionConfigurationPublish; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData CommitFusionConfigurationPublish { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new CommitFusionConfigurationPublishResultInfo(CommitFusionConfigurationPublish); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public StartFusionConfigurationPublishResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublishResult); + + public StartFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is StartFusionConfigurationPublishResultInfo info) + { + return new StartFusionConfigurationPublishResult(MapNonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition(info.StartFusionConfigurationComposition)); + } + + throw new global::System.ArgumentException("StartFusionConfigurationPublishResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition MapNonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition(global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData data) + { + IStartFusionConfigurationPublish_StartFusionConfigurationComposition returnValue = default !; + if (data.__typename.Equals("StartFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new StartFusionConfigurationPublish_StartFusionConfigurationComposition_StartFusionConfigurationCompositionPayload(MapIStartFusionConfigurationPublish_StartFusionConfigurationComposition_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIStartFusionConfigurationPublish_StartFusionConfigurationComposition_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var startFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionErrorData child in list) + { + startFusionConfigurationCompositionErrors.Add(MapNonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors(child)); + } + + return startFusionConfigurationCompositionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors MapNonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionErrorData data) + { + IStartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData fusionConfigurationRequestNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(fusionConfigurationRequestNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationRequestNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.StartFusionConfigurationPublish_StartFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public StartFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData startFusionConfigurationComposition) + { + StartFusionConfigurationComposition = startFusionConfigurationComposition; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData StartFusionConfigurationComposition { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new StartFusionConfigurationPublishResultInfo(StartFusionConfigurationComposition); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublishResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public ValidateFusionConfigurationPublishResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublishResult); + + public ValidateFusionConfigurationPublishResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is ValidateFusionConfigurationPublishResultInfo info) + { + return new ValidateFusionConfigurationPublishResult(MapNonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition(info.ValidateFusionConfigurationComposition)); + } + + throw new global::System.ArgumentException("ValidateFusionConfigurationPublishResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition MapNonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData data) + { + IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition returnValue = default !; + if (data.__typename.Equals("ValidateFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal)) + { + returnValue = new ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ValidateFusionConfigurationCompositionPayload(MapIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ErrorsNonNullableArray(data.Errors)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_ErrorsNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var validateFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionErrorData child in list) + { + validateFusionConfigurationCompositionErrors.Add(MapNonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors(child)); + } + + return validateFusionConfigurationCompositionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors MapNonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors(global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionErrorData data) + { + IValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors? returnValue; + if (data is global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData unauthorizedOperation) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_UnauthorizedOperation(unauthorizedOperation.__typename ?? throw new global::System.ArgumentNullException(), unauthorizedOperation.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData fusionConfigurationRequestNotFoundError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_FusionConfigurationRequestNotFoundError(fusionConfigurationRequestNotFoundError.__typename ?? throw new global::System.ArgumentNullException(), fusionConfigurationRequestNotFoundError.Message ?? throw new global::System.ArgumentNullException()); + } + else if (data is global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData invalidProcessingStateTransitionError) + { + returnValue = new global::ChilliCream.Nitro.CommandLine.Client.ValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition_Errors_InvalidProcessingStateTransitionError(invalidProcessingStateTransitionError.__typename ?? throw new global::System.ArgumentNullException(), invalidProcessingStateTransitionError.Message ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublishResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public ValidateFusionConfigurationPublishResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData validateFusionConfigurationComposition) + { + ValidateFusionConfigurationComposition = validateFusionConfigurationComposition; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData ValidateFusionConfigurationComposition { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new ValidateFusionConfigurationPublishResultInfo(ValidateFusionConfigurationComposition); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public SelectMcpFeatureCollectionPromptQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQueryResult); + + public SelectMcpFeatureCollectionPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is SelectMcpFeatureCollectionPromptQueryResultInfo info) + { + return new SelectMcpFeatureCollectionPromptQueryResult(MapISelectMcpFeatureCollectionPromptQuery_ApiById(info.ApiById)); + } + + throw new global::System.ArgumentException("SelectMcpFeatureCollectionPromptQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById? MapISelectMcpFeatureCollectionPromptQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ISelectMcpFeatureCollectionPromptQuery_ApiById returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectMcpFeatureCollectionPromptQuery_ApiById_Api(MapISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections(data.McpFeatureCollections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections? MapISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections(global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsConnectionData? data) + { + if (data is null) + { + return null; + } + + ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections returnValue = default !; + if (data?.__typename.Equals("ApiMcpFeatureCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_ApiMcpFeatureCollectionsConnection(MapISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_EdgesNonNullableArray(data.Edges), MapNonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var apiMcpFeatureCollectionsEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsEdgeData child in list) + { + apiMcpFeatureCollectionsEdges.Add(MapNonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges(child)); + } + + return apiMcpFeatureCollectionsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges MapNonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsEdgeData data) + { + ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges returnValue = default !; + if (data.__typename.Equals("ApiMcpFeatureCollectionsEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_ApiMcpFeatureCollectionsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node MapNonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData data) + { + ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node returnValue = default !; + if (data.__typename.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node_McpFeatureCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo MapNonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public SelectMcpFeatureCollectionPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new SelectMcpFeatureCollectionPromptQueryResultInfo(ApiById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public SelectMockSchemaPromptQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQueryResult); + + public SelectMockSchemaPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is SelectMockSchemaPromptQueryResultInfo info) + { + return new SelectMockSchemaPromptQueryResult(MapISelectMockSchemaPromptQuery_ApiById(info.ApiById)); + } + + throw new global::System.ArgumentException("SelectMockSchemaPromptQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById? MapISelectMockSchemaPromptQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ISelectMockSchemaPromptQuery_ApiById returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectMockSchemaPromptQuery_ApiById_Api(MapISelectMockSchemaPromptQuery_ApiById_MockSchemas(data.MockSchemas)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas? MapISelectMockSchemaPromptQuery_ApiById_MockSchemas(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? data) + { + if (data is null) + { + return null; + } + + ISelectMockSchemaPromptQuery_ApiById_MockSchemas returnValue = default !; + if (data?.__typename.Equals("MockSchemasConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectMockSchemaPromptQuery_ApiById_MockSchemas_MockSchemasConnection(MapISelectMockSchemaPromptQuery_ApiById_MockSchemas_EdgesNonNullableArray(data.Edges), MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapISelectMockSchemaPromptQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var mockSchemasEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData child in list) + { + mockSchemasEdges.Add(MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges(child)); + } + + return mockSchemasEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData data) + { + ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges returnValue = default !; + if (data.__typename.Equals("MockSchemasEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_MockSchemasEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData data) + { + ISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node returnValue = default !; + if (data.__typename.Equals("MockSchema", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node_MockSchema(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException(), data.CreatedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(data.CreatedBy ?? throw new global::System.ArgumentNullException()), data.ModifiedAt ?? throw new global::System.ArgumentNullException(), MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(data.ModifiedBy ?? throw new global::System.ArgumentNullException()), data.DownstreamUrl ?? throw new global::System.ArgumentNullException(), data.Url ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) + { + ICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy returnValue = default !; + if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_CreatedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy MapNonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData data) + { + ICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy returnValue = default !; + if (data.__typename.Equals("UserInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new CreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy_UserInfo(data.Username ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo MapNonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public SelectMockSchemaPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new SelectMockSchemaPromptQueryResultInfo(ApiById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQueryResultFactory : global::StrawberryShake.IOperationResultDataFactory + { + public SelectOpenApiCollectionPromptQueryResultFactory() + { + } + + global::System.Type global::StrawberryShake.IOperationResultDataFactory.ResultType => typeof(global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQueryResult); + + public SelectOpenApiCollectionPromptQueryResult Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot = null) + { + if (dataInfo is SelectOpenApiCollectionPromptQueryResultInfo info) + { + return new SelectOpenApiCollectionPromptQueryResult(MapISelectOpenApiCollectionPromptQuery_ApiById(info.ApiById)); + } + + throw new global::System.ArgumentException("SelectOpenApiCollectionPromptQueryResultInfo expected."); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById? MapISelectOpenApiCollectionPromptQuery_ApiById(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? data) + { + if (data is null) + { + return null; + } + + ISelectOpenApiCollectionPromptQuery_ApiById returnValue = default !; + if (data?.__typename.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_Api(MapISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections(data.OpenApiCollections)); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections? MapISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections(global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? data) + { + if (data is null) + { + return null; + } + + ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections returnValue = default !; + if (data?.__typename.Equals("ApiOpenApiCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) + { + returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_ApiOpenApiCollectionsConnection(MapISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_EdgesNonNullableArray(data.Edges), MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo(data.PageInfo ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::System.Collections.Generic.IReadOnlyList? MapISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_EdgesNonNullableArray(global::System.Collections.Generic.IReadOnlyList? list) + { + if (list is null) + { + return null; + } + + var apiOpenApiCollectionsEdges = new global::System.Collections.Generic.List(); + foreach (global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData child in list) + { + apiOpenApiCollectionsEdges.Add(MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges(child)); + } + + return apiOpenApiCollectionsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges(global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData data) + { + ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges returnValue = default !; + if (data.__typename.Equals("ApiOpenApiCollectionsEdge", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_ApiOpenApiCollectionsEdge(data.Cursor ?? throw new global::System.ArgumentNullException(), MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node(data.Node ?? throw new global::System.ArgumentNullException())); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node(global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData data) + { + ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node returnValue = default !; + if (data.__typename.Equals("OpenApiCollection", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node_OpenApiCollection(data.Id ?? throw new global::System.ArgumentNullException(), data.Name ?? throw new global::System.ArgumentNullException()); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + private global::ChilliCream.Nitro.CommandLine.Client.ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo MapNonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo(global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData data) + { + ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo returnValue = default !; + if (data.__typename.Equals("PageInfo", global::System.StringComparison.Ordinal)) + { + returnValue = new SelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo_PageInfo(data.HasPreviousPage ?? throw new global::System.ArgumentNullException(), data.HasNextPage ?? throw new global::System.ArgumentNullException(), data.EndCursor, data.StartCursor); + } + else + { + throw new global::System.NotSupportedException(); + } + + return returnValue; + } + + global::System.Object global::StrawberryShake.IOperationResultDataFactory.Create(global::StrawberryShake.IOperationResultDataInfo dataInfo, global::StrawberryShake.IEntityStoreSnapshot? snapshot) + { + return Create(dataInfo, snapshot); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQueryResultInfo : global::StrawberryShake.IOperationResultDataInfo + { + public SelectOpenApiCollectionPromptQueryResultInfo(global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? apiById) + { + ApiById = apiById; + } + + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? ApiById { get; } + public global::System.Collections.Generic.IReadOnlyCollection EntityIds => global::System.Array.Empty(); + public global::System.UInt64 Version => 0; + + public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version) + { + return new SelectOpenApiCollectionPromptQueryResultInfo(ApiById); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface ICreateApiKeyInputInfo + { + global::System.Boolean IsNameSet { get; } + + global::System.Boolean IsPermissionScopeSet { get; } + + global::System.Boolean IsRoleAssigmentConditionSet { get; } + + global::System.Boolean IsWorkspaceIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IApiKeyPermissionScopeInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsWorkspaceIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IRoleAssigmentConditionInputInfo + { + global::System.Boolean IsStageAuthorizationConditionSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IRoleAssignmentStageAuthorizationConditionInputInfo + { + global::System.Boolean IsNameSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IDeleteApiKeyInputInfo + { + global::System.Boolean IsApiKeyIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IUpdateApiSettingsInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsSettingsSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IPartialApiSettingsInputInfo + { + global::System.Boolean IsSchemaRegistrySet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IPartialSchemaRegistrySettingsInputInfo + { + global::System.Boolean IsAllowBreakingSchemaChangesSet { get; } + + global::System.Boolean IsTreatDangerousAsBreakingSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface ICreateClientInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsNameSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IDeleteClientByIdInputInfo + { + global::System.Boolean IsClientIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IPublishClientInputInfo + { + global::System.Boolean IsClientIdSet { get; } + + global::System.Boolean IsForceSet { get; } + + global::System.Boolean IsStageSet { get; } + + global::System.Boolean IsTagSet { get; } + + global::System.Boolean IsWaitForApprovalSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IUnpublishClientInputInfo + { + global::System.Boolean IsClientIdSet { get; } + + global::System.Boolean IsStageSet { get; } + + global::System.Boolean IsTagSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IUploadClientInputInfo + { + global::System.Boolean IsClientIdSet { get; } + + global::System.Boolean IsOperationsSet { get; } + + global::System.Boolean IsTagSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IValidateClientInputInfo + { + global::System.Boolean IsClientIdSet { get; } + + global::System.Boolean IsOperationsSet { get; } + + global::System.Boolean IsStageSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IUploadFusionSubgraphInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsArchiveSet { get; } + + global::System.Boolean IsTagSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface ICreateMcpFeatureCollectionInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsNameSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IDeleteMcpFeatureCollectionByIdInputInfo + { + global::System.Boolean IsMcpFeatureCollectionIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IPublishMcpFeatureCollectionInputInfo + { + global::System.Boolean IsForceSet { get; } + + global::System.Boolean IsMcpFeatureCollectionIdSet { get; } + + global::System.Boolean IsStageSet { get; } + + global::System.Boolean IsTagSet { get; } + + global::System.Boolean IsWaitForApprovalSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IUploadMcpFeatureCollectionInputInfo + { + global::System.Boolean IsCollectionSet { get; } + + global::System.Boolean IsMcpFeatureCollectionIdSet { get; } + + global::System.Boolean IsTagSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IValidateMcpFeatureCollectionInputInfo + { + global::System.Boolean IsCollectionSet { get; } + + global::System.Boolean IsMcpFeatureCollectionIdSet { get; } + + global::System.Boolean IsStageSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface ICreateOpenApiCollectionInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsNameSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IDeleteOpenApiCollectionByIdInputInfo + { + global::System.Boolean IsOpenApiCollectionIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IPublishOpenApiCollectionInputInfo + { + global::System.Boolean IsForceSet { get; } + + global::System.Boolean IsOpenApiCollectionIdSet { get; } + + global::System.Boolean IsStageSet { get; } + + global::System.Boolean IsTagSet { get; } + + global::System.Boolean IsWaitForApprovalSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IUploadOpenApiCollectionInputInfo + { + global::System.Boolean IsCollectionSet { get; } + + global::System.Boolean IsOpenApiCollectionIdSet { get; } + + global::System.Boolean IsTagSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IValidateOpenApiCollectionInputInfo + { + global::System.Boolean IsCollectionSet { get; } + + global::System.Boolean IsOpenApiCollectionIdSet { get; } + + global::System.Boolean IsStageSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface ICreatePersonalAccessTokenInputInfo + { + global::System.Boolean IsDescriptionSet { get; } + + global::System.Boolean IsExpiresAtSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IRevokePersonalAccessTokenInputInfo + { + global::System.Boolean IsIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IPublishSchemaInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsForceSet { get; } + + global::System.Boolean IsStageSet { get; } + + global::System.Boolean IsTagSet { get; } + + global::System.Boolean IsWaitForApprovalSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IUploadSchemaInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsSchemaSet { get; } + + global::System.Boolean IsTagSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IValidateSchemaInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsSchemaSet { get; } + + global::System.Boolean IsStageSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IUpdateStagesInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsUpdatedStagesSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IStageUpdateInputInfo + { + global::System.Boolean IsConditionsSet { get; } + + global::System.Boolean IsDisplayNameSet { get; } + + global::System.Boolean IsNameSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IStageConditionUpdateInputInfo + { + global::System.Boolean IsAfterStageSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface ICreateWorkspaceInputInfo + { + global::System.Boolean IsNameSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IBeginFusionConfigurationPublishInputInfo + { + global::System.Boolean IsApiIdSet { get; } + + global::System.Boolean IsStageNameSet { get; } + + global::System.Boolean IsSubgraphApiIdSet { get; } + + global::System.Boolean IsSubgraphNameSet { get; } + + global::System.Boolean IsTagSet { get; } + + global::System.Boolean IsWaitForApprovalSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface ICancelFusionConfigurationCompositionInputInfo + { + global::System.Boolean IsRequestIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface ICommitFusionConfigurationPublishInputInfo + { + global::System.Boolean IsConfigurationSet { get; } + + global::System.Boolean IsRequestIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IStartFusionConfigurationCompositionInputInfo + { + global::System.Boolean IsRequestIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + internal interface IValidateFusionConfigurationCompositionInputInfo + { + global::System.Boolean IsConfigurationSet { get; } + + global::System.Boolean IsRequestIdSet { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiKeyCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + public CreateApiKeyCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreateApiKeyCommandMutationResultInfo(Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createApiKey"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CreateApiKeyPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyPayloadData(typename, result: Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "result")), errors: Deserialize_ICreateApiKeyErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData? Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiKeyWithSecret", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData(typename, key: Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Result_Key(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "key")), secret: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "secret"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Result_Key(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateApiKeyErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var createApiKeyErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + createApiKeyErrors.Add(Deserialize_NonNullableICreateApiKeyErrorData(child)); + } + + return createApiKeyErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateApiKeyErrorData Deserialize_NonNullableICreateApiKeyErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("WorkspaceNotFound", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), workspaceId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceId"))); + } + + if (typename?.Equals("PersonalWorkspaceNotSupportedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalWorkspaceNotSupportedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("RoleNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.RoleNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), roleId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "roleId"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var validationErrorPropertys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + validationErrorPropertys.Add(Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors(child)); + } + + return validationErrorPropertys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorPropertyData Deserialize_NonNullableICreateApiKeyCommandMutation_CreateApiKey_Errors_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ValidationErrorProperty", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorPropertyData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiKeyCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public DeleteApiKeyCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new DeleteApiKeyCommandMutationResultInfo(Deserialize_NonNullableIDeleteApiKeyCommandMutation_DeleteApiKey(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteApiKey"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData Deserialize_NonNullableIDeleteApiKeyCommandMutation_DeleteApiKey(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeleteApiKeyPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyPayloadData(typename, apiKey: Deserialize_IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiKey")), errors: Deserialize_IDeleteApiKeyErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? Deserialize_IDeleteApiKeyCommandMutation_DeleteApiKey_ApiKey(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteApiKeyErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var deleteApiKeyErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + deleteApiKeyErrors.Add(Deserialize_NonNullableIDeleteApiKeyErrorData(child)); + } + + return deleteApiKeyErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiKeyErrorData Deserialize_NonNullableIDeleteApiKeyErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiKeyNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiKeyId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiKeyId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiKeyCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public ListApiKeyCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListApiKeyCommandQueryResultInfo(Deserialize_IListApiKeyCommandQuery_WorkspaceById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListApiKeyCommandQuery_WorkspaceById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, apiKeys: Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiKeys"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData? Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiKeysConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData(typename, edges: Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListApiKeyCommandQuery_WorkspaceById_ApiKeys_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var apiKeysEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + apiKeysEdges.Add(Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges(child)); + } + + return apiKeysEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysEdgeData Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiKeysEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiKeyCommandMutation_CreateApiKey_Result_Key_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListApiKeyCommandQuery_WorkspaceById_ApiKeys_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateApiCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _apiKindParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public CreateApiCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _apiKindParser = serializerResolver.GetLeafValueParser("ApiKind") ?? throw new global::System.ArgumentException("No serializer for type `ApiKind` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreateApiCommandMutationResultInfo(Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pushWorkspaceChanges"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PushWorkspaceChangesPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData(typename, changes: Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes")), errors: Deserialize_IPushWorkspaceChangesErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var workspaceChangePayloads = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + workspaceChangePayloads.Add(Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes(child)); + } + + return workspaceChangePayloads; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("WorkspaceChangePayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData(typename, referenceId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "referenceId")), error: Deserialize_IWorkspaceChangeErrorData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "error")), result: Deserialize_IWorkspaceChangeResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "result"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? Deserialize_IWorkspaceChangeErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ChangeValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ChangeValidationFailedData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("HasBeenChangedConflict", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenChangedConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("HasBeenDeletedConflict", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenDeletedConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("IdentifierCollisionConflict", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.IdentifierCollisionConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnexpectedErrorOnChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedErrorOnChangeData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("WorkspaceNotFoundForChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundForChangeData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? Deserialize_IWorkspaceChangeResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPushWorkspaceChangesErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var pushWorkspaceChangesErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + pushWorkspaceChangesErrors.Add(Deserialize_NonNullableIPushWorkspaceChangesErrorData(child)); + } + + return pushWorkspaceChangesErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData Deserialize_NonNullableIPushWorkspaceChangesErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ChangeStructureInvalid", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ChangeStructureInvalidData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _versionParser; + public DeleteApiCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _versionParser = serializerResolver.GetLeafValueParser("Version") ?? throw new global::System.ArgumentException("No serializer for type `Version` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new DeleteApiCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), version: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "version")), workspace: Deserialize_IDeleteApiCommandQuery_Node_Workspace_1(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IDeleteApiCommandQuery_Node_Workspace_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteApiCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public DeleteApiCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new DeleteApiCommandMutationResultInfo(Deserialize_NonNullableIDeleteApiCommandMutation_DeleteApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteApiById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData Deserialize_NonNullableIDeleteApiCommandMutation_DeleteApiById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeleteApiByIdPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiByIdPayloadData(typename, api: Deserialize_IDeleteApiCommandMutation_DeleteApiById_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), errors: Deserialize_IDeleteApiByIdErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IDeleteApiCommandMutation_DeleteApiById_Api(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteApiByIdErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var deleteApiByIdErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + deleteApiByIdErrors.Add(Deserialize_NonNullableIDeleteApiByIdErrorData(child)); + } + + return deleteApiByIdErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteApiByIdErrorData Deserialize_NonNullableIDeleteApiByIdErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ApiDeletionFailedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDeletionFailedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListApiCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _versionParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public ListApiCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _versionParser = serializerResolver.GetLeafValueParser("Version") ?? throw new global::System.ArgumentException("No serializer for type `Version` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListApiCommandQueryResultInfo(Deserialize_IListApiCommandQuery_WorkspaceById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListApiCommandQuery_WorkspaceById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, apis: Deserialize_IListApiCommandQuery_WorkspaceById_Apis(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apis"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? Deserialize_IListApiCommandQuery_WorkspaceById_Apis(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApisConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData(typename, edges: Deserialize_IListApiCommandQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListApiCommandQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var apisEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + apisEdges.Add(Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges(child)); + } + + return apisEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApisEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListApiCommandQuery_WorkspaceById_Apis_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetApiSettingsCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public SetApiSettingsCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new SetApiSettingsCommandMutationResultInfo(Deserialize_NonNullableISetApiSettingsCommandMutation_UpdateApiSettings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "updateApiSettings"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData Deserialize_NonNullableISetApiSettingsCommandMutation_UpdateApiSettings(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UpdateApiSettingsPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UpdateApiSettingsPayloadData(typename, api: Deserialize_ISetApiSettingsCommandMutation_UpdateApiSettings_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), errors: Deserialize_IUpdateApiSettingsErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISetApiSettingsCommandMutation_UpdateApiSettings_Api(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), workspace: Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUpdateApiSettingsErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var updateApiSettingsErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + updateApiSettingsErrors.Add(Deserialize_NonNullableIUpdateApiSettingsErrorData(child)); + } + + return updateApiSettingsErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateApiSettingsErrorData Deserialize_NonNullableIUpdateApiSettingsErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowApiCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public ShowApiCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ShowApiCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateClientCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + public CreateClientCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreateClientCommandMutationResultInfo(Deserialize_NonNullableICreateClientCommandMutation_CreateClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createClient"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData Deserialize_NonNullableICreateClientCommandMutation_CreateClient(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CreateClientPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientPayloadData(typename, client: Deserialize_ICreateClientCommandMutation_CreateClient_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), errors: Deserialize_ICreateClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_ICreateClientCommandMutation_CreateClient_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), api: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientVersionEdges.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishedClientVersions.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var createClientErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + createClientErrors.Add(Deserialize_NonNullableICreateClientErrorData(child)); + } + + return createClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateClientErrorData Deserialize_NonNullableICreateClientErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteClientByIdCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + public DeleteClientByIdCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new DeleteClientByIdCommandMutationResultInfo(Deserialize_NonNullableIDeleteClientByIdCommandMutation_DeleteClientById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteClientById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData Deserialize_NonNullableIDeleteClientByIdCommandMutation_DeleteClientById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeleteClientByIdPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdPayloadData(typename, client: Deserialize_IDeleteClientByIdCommandMutation_DeleteClientById_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), errors: Deserialize_IDeleteClientByIdErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IDeleteClientByIdCommandMutation_DeleteClientById_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), api: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientVersionEdges.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishedClientVersions.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteClientByIdErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var deleteClientByIdErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + deleteClientByIdErrors.Add(Deserialize_NonNullableIDeleteClientByIdErrorData(child)); + } + + return deleteClientByIdErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteClientByIdErrorData Deserialize_NonNullableIDeleteClientByIdErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListClientCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + public ListClientCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListClientCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, clients: Deserialize_IListClientCommandQuery_Node_Clients(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clients"))); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? Deserialize_IListClientCommandQuery_Node_Clients(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientsConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData(typename, edges: Deserialize_IListClientCommandQuery_Node_Clients_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListClientCommandQuery_Node_Clients_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListClientCommandQuery_Node_Clients_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var clientsEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientsEdges.Add(Deserialize_NonNullableIListClientCommandQuery_Node_Clients_Edges(child)); + } + + return clientsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData Deserialize_NonNullableIListClientCommandQuery_Node_Clients_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientsEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListClientCommandQuery_Node_Clients_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData Deserialize_NonNullableIListClientCommandQuery_Node_Clients_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), api: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientVersionEdges.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishedClientVersions.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListClientCommandQuery_Node_Clients_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishClientVersionBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public PublishClientVersionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new PublishClientVersionResultInfo(Deserialize_NonNullableIPublishClientVersion_PublishClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishClient"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData Deserialize_NonNullableIPublishClientVersion_PublishClient(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishClientPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IPublishClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPublishClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var publishClientErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishClientErrors.Add(Deserialize_NonNullableIPublishClientErrorData(child)); + } + + return publishClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IPublishClientErrorData Deserialize_NonNullableIPublishClientErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ClientVersionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionNotFoundErrorData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionPublishUpdatedBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public OnClientVersionPublishUpdatedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); + _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new OnClientVersionPublishUpdatedResultInfo(Deserialize_NonNullableIClientVersionPublishResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onClientVersionPublishingUpdate"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishResultData Deserialize_NonNullableIClientVersionPublishResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionPublishFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionPublishFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIClientVersionPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("ClientVersionPublishSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionPublishSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); + } + + if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); + } + + if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIClientVersionPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var clientVersionPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientVersionPublishErrors.Add(Deserialize_NonNullableIClientVersionPublishErrorData(child)); + } + + return clientVersionPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionPublishErrorData Deserialize_NonNullableIClientVersionPublishErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); + } + + if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _directiveLocationParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); + } + + if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData(typename, mcpFeatureCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), entities: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntitys.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationPrompt", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationTool", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntityErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowClientCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + public ShowClientCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ShowClientCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), api: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientVersionEdges.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishedClientVersions.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UnpublishClientBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public UnpublishClientBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new UnpublishClientResultInfo(Deserialize_NonNullableIUnpublishClient_UnpublishClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "unpublishClient"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData Deserialize_NonNullableIUnpublishClient_UnpublishClient(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnpublishClientPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientPayloadData(typename, clientVersion: Deserialize_IUnpublishClient_UnpublishClient_ClientVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientVersion")), errors: Deserialize_IUnpublishClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Deserialize_IUnpublishClient_UnpublishClient_ClientVersion(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), client: Deserialize_IUnpublishClient_UnpublishClient_ClientVersion_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IUnpublishClient_UnpublishClient_ClientVersion_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUnpublishClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var unpublishClientErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + unpublishClientErrors.Add(Deserialize_NonNullableIUnpublishClientErrorData(child)); + } + + return unpublishClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUnpublishClientErrorData Deserialize_NonNullableIUnpublishClientErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ClientVersionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionNotFoundErrorData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); + } + + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadClientBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public UploadClientBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new UploadClientResultInfo(Deserialize_NonNullableIUploadClient_UploadClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadClient"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData Deserialize_NonNullableIUploadClient_UploadClient(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UploadClientPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientPayloadData(typename, clientVersion: Deserialize_IUploadClient_UploadClient_ClientVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientVersion")), errors: Deserialize_IUploadClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Deserialize_IUploadClient_UploadClient_ClientVersion(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var uploadClientErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + uploadClientErrors.Add(Deserialize_NonNullableIUploadClientErrorData(child)); + } + + return uploadClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadClientErrorData Deserialize_NonNullableIUploadClientErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); + } + + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidPersistedQueryError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidPersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateClientVersionBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public ValidateClientVersionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ValidateClientVersionResultInfo(Deserialize_NonNullableIValidateClientVersion_ValidateClient(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateClient"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData Deserialize_NonNullableIValidateClientVersion_ValidateClient(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ValidateClientPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IValidateClientErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateClientErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var validateClientErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + validateClientErrors.Add(Deserialize_NonNullableIValidateClientErrorData(child)); + } + + return validateClientErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateClientErrorData Deserialize_NonNullableIValidateClientErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("ClientNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), clientId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clientId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnClientVersionValidationUpdatedBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public OnClientVersionValidationUpdatedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new OnClientVersionValidationUpdatedResultInfo(Deserialize_NonNullableIClientVersionValidationResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onClientVersionValidationUpdate"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationResultData Deserialize_NonNullableIClientVersionValidationResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIClientVersionValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("ClientVersionValidationSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIClientVersionValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var clientVersionValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientVersionValidationErrors.Add(Deserialize_NonNullableIClientVersionValidationErrorData(child)); + } + + return clientVersionValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientVersionValidationErrorData Deserialize_NonNullableIClientVersionValidationErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateEnvironmentCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public CreateEnvironmentCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreateEnvironmentCommandMutationResultInfo(Deserialize_NonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pushWorkspaceChanges"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData Deserialize_NonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PushWorkspaceChangesPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PushWorkspaceChangesPayloadData(typename, changes: Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes")), errors: Deserialize_IPushWorkspaceChangesErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_ChangesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var workspaceChangePayloads = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + workspaceChangePayloads.Add(Deserialize_NonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes(child)); + } + + return workspaceChangePayloads; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData Deserialize_NonNullableICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("WorkspaceChangePayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceChangePayloadData(typename, referenceId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "referenceId")), error: Deserialize_IWorkspaceChangeErrorData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "error")), result: Deserialize_IWorkspaceChangeResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "result"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? Deserialize_IWorkspaceChangeErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ChangeValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ChangeValidationFailedData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("HasBeenChangedConflict", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenChangedConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("HasBeenDeletedConflict", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.HasBeenDeletedConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("IdentifierCollisionConflict", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.IdentifierCollisionConflictData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnexpectedErrorOnChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedErrorOnChangeData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("WorkspaceNotFoundForChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceNotFoundForChangeData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? Deserialize_IWorkspaceChangeResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), workspace: Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPushWorkspaceChangesErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var pushWorkspaceChangesErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + pushWorkspaceChangesErrors.Add(Deserialize_NonNullableIPushWorkspaceChangesErrorData(child)); + } + + return pushWorkspaceChangesErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IPushWorkspaceChangesErrorData Deserialize_NonNullableIPushWorkspaceChangesErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ChangeStructureInvalid", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ChangeStructureInvalidData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListEnvironmentCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _versionParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public ListEnvironmentCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _versionParser = serializerResolver.GetLeafValueParser("Version") ?? throw new global::System.ArgumentException("No serializer for type `Version` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListEnvironmentCommandQueryResultInfo(Deserialize_IListEnvironmentCommandQuery_WorkspaceById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_IListEnvironmentCommandQuery_WorkspaceById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, environments: Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "environments"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData? Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("EnvironmentsConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData(typename, edges: Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListEnvironmentCommandQuery_WorkspaceById_Environments_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var environmentsEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + environmentsEdges.Add(Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges(child)); + } + + return environmentsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsEdgeData Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("EnvironmentsEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListEnvironmentCommandQuery_WorkspaceById_Environments_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowEnvironmentCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public ShowEnvironmentCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ShowEnvironmentCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), workspace: Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace"))); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateEnvironmentCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class FetchConfigurationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public FetchConfigurationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new FetchConfigurationResultInfo(Deserialize_IFetchConfiguration_FusionConfigurationByApiId(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fusionConfigurationByApiId"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData? Deserialize_IFetchConfiguration_FusionConfigurationByApiId(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("FusionConfiguration", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationData(typename, downloadUrl: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downloadUrl")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadFusionSubgraphBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public UploadFusionSubgraphBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new UploadFusionSubgraphResultInfo(Deserialize_NonNullableIUploadFusionSubgraph_UploadFusionSubgraph(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadFusionSubgraph"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData Deserialize_NonNullableIUploadFusionSubgraph_UploadFusionSubgraph(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UploadFusionSubgraphPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphPayloadData(typename, fusionSubgraphVersion: Deserialize_IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fusionSubgraphVersion")), errors: Deserialize_IUploadFusionSubgraphErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData? Deserialize_IUploadFusionSubgraph_UploadFusionSubgraph_FusionSubgraphVersion(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("FusionSubgraphVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadFusionSubgraphErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var uploadFusionSubgraphErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + uploadFusionSubgraphErrors.Add(Deserialize_NonNullableIUploadFusionSubgraphErrorData(child)); + } + + return uploadFusionSubgraphErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadFusionSubgraphErrorData Deserialize_NonNullableIUploadFusionSubgraphErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("InvalidFusionSourceSchemaArchiveError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidFusionSourceSchemaArchiveErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMcpFeatureCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public CreateMcpFeatureCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreateMcpFeatureCollectionCommandMutationResultInfo(Deserialize_NonNullableICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createMcpFeatureCollection"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CreateMcpFeatureCollectionPayloadData Deserialize_NonNullableICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CreateMcpFeatureCollectionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateMcpFeatureCollectionPayloadData(typename, mcpFeatureCollection: Deserialize_ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), errors: Deserialize_ICreateMcpFeatureCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_ICreateMcpFeatureCollectionCommandMutation_CreateMcpFeatureCollection_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateMcpFeatureCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var createMcpFeatureCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + createMcpFeatureCollectionErrors.Add(Deserialize_NonNullableICreateMcpFeatureCollectionErrorData(child)); + } + + return createMcpFeatureCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMcpFeatureCollectionErrorData Deserialize_NonNullableICreateMcpFeatureCollectionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteMcpFeatureCollectionByIdCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public DeleteMcpFeatureCollectionByIdCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new DeleteMcpFeatureCollectionByIdCommandMutationResultInfo(Deserialize_NonNullableIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteMcpFeatureCollectionById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteMcpFeatureCollectionByIdPayloadData Deserialize_NonNullableIDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeleteMcpFeatureCollectionByIdPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteMcpFeatureCollectionByIdPayloadData(typename, mcpFeatureCollection: Deserialize_IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), errors: Deserialize_IDeleteMcpFeatureCollectionByIdErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_IDeleteMcpFeatureCollectionByIdCommandMutation_DeleteMcpFeatureCollectionById_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteMcpFeatureCollectionByIdErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var deleteMcpFeatureCollectionByIdErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + deleteMcpFeatureCollectionByIdErrors.Add(Deserialize_NonNullableIDeleteMcpFeatureCollectionByIdErrorData(child)); + } + + return deleteMcpFeatureCollectionByIdErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteMcpFeatureCollectionByIdErrorData Deserialize_NonNullableIDeleteMcpFeatureCollectionByIdErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), mcpFeatureCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollectionId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMcpFeatureCollectionCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public ListMcpFeatureCollectionCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListMcpFeatureCollectionCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, mcpFeatureCollections: Deserialize_IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollections"))); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsConnectionData? Deserialize_IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiMcpFeatureCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsConnectionData(typename, edges: Deserialize_IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var apiMcpFeatureCollectionsEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + apiMcpFeatureCollectionsEdges.Add(Deserialize_NonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges(child)); + } + + return apiMcpFeatureCollectionsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsEdgeData Deserialize_NonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiMcpFeatureCollectionsEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData Deserialize_NonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListMcpFeatureCollectionCommandQuery_Node_McpFeatureCollections_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public PublishMcpFeatureCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new PublishMcpFeatureCollectionCommandMutationResultInfo(Deserialize_NonNullableIPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishMcpFeatureCollection"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionPayloadData Deserialize_NonNullableIPublishMcpFeatureCollectionCommandMutation_PublishMcpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishMcpFeatureCollectionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IPublishMcpFeatureCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPublishMcpFeatureCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var publishMcpFeatureCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishMcpFeatureCollectionErrors.Add(Deserialize_NonNullableIPublishMcpFeatureCollectionErrorData(child)); + } + + return publishMcpFeatureCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IPublishMcpFeatureCollectionErrorData Deserialize_NonNullableIPublishMcpFeatureCollectionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionNotFoundErrorData(typename, mcpFeatureCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("McpFeatureCollectionVersionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionNotFoundErrorData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), mcpFeatureCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollectionId"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishMcpFeatureCollectionCommandSubscriptionBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public PublishMcpFeatureCollectionCommandSubscriptionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); + _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new PublishMcpFeatureCollectionCommandSubscriptionResultInfo(Deserialize_NonNullableIMcpFeatureCollectionVersionPublishResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onMcpFeatureCollectionVersionPublishingUpdate"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionPublishResultData Deserialize_NonNullableIMcpFeatureCollectionVersionPublishResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionVersionPublishFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionPublishFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIMcpFeatureCollectionVersionPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionVersionPublishSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionPublishSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); + } + + if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); + } + + if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionVersionPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionVersionPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionVersionPublishErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionVersionPublishErrorData(child)); + } + + return mcpFeatureCollectionVersionPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionPublishErrorData Deserialize_NonNullableIMcpFeatureCollectionVersionPublishErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData(typename, mcpFeatureCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), entities: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntitys.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationPrompt", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationTool", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntityErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); + } + + if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _directiveLocationParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); + } + + if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadMcpFeatureCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public UploadMcpFeatureCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new UploadMcpFeatureCollectionCommandMutationResultInfo(Deserialize_NonNullableIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadMcpFeatureCollection"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UploadMcpFeatureCollectionPayloadData Deserialize_NonNullableIUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UploadMcpFeatureCollectionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadMcpFeatureCollectionPayloadData(typename, mcpFeatureCollectionVersion: Deserialize_IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollectionVersion")), errors: Deserialize_IUploadMcpFeatureCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData? Deserialize_IUploadMcpFeatureCollectionCommandMutation_UploadMcpFeatureCollection_McpFeatureCollectionVersion(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadMcpFeatureCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var uploadMcpFeatureCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + uploadMcpFeatureCollectionErrors.Add(Deserialize_NonNullableIUploadMcpFeatureCollectionErrorData(child)); + } + + return uploadMcpFeatureCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadMcpFeatureCollectionErrorData Deserialize_NonNullableIUploadMcpFeatureCollectionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionNotFoundErrorData(typename, mcpFeatureCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidMcpFeatureCollectionArchiveError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidMcpFeatureCollectionArchiveErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public ValidateMcpFeatureCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ValidateMcpFeatureCollectionCommandMutationResultInfo(Deserialize_NonNullableIValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateMcpFeatureCollection"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionPayloadData Deserialize_NonNullableIValidateMcpFeatureCollectionCommandMutation_ValidateMcpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ValidateMcpFeatureCollectionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IValidateMcpFeatureCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateMcpFeatureCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var validateMcpFeatureCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + validateMcpFeatureCollectionErrors.Add(Deserialize_NonNullableIValidateMcpFeatureCollectionErrorData(child)); + } + + return validateMcpFeatureCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateMcpFeatureCollectionErrorData Deserialize_NonNullableIValidateMcpFeatureCollectionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionNotFoundErrorData(typename, mcpFeatureCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateMcpFeatureCollectionCommandSubscriptionBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public ValidateMcpFeatureCollectionCommandSubscriptionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ValidateMcpFeatureCollectionCommandSubscriptionResultInfo(Deserialize_NonNullableIMcpFeatureCollectionVersionValidationResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onMcpFeatureCollectionVersionValidationUpdate"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionValidationResultData Deserialize_NonNullableIMcpFeatureCollectionVersionValidationResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionVersionValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIMcpFeatureCollectionVersionValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionVersionValidationSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionVersionValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionVersionValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionVersionValidationErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionVersionValidationErrorData(child)); + } + + return mcpFeatureCollectionVersionValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionVersionValidationErrorData Deserialize_NonNullableIMcpFeatureCollectionVersionValidationErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationArchiveError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationArchiveErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData(typename, mcpFeatureCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), entities: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntitys.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationPrompt", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationTool", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntityErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateMockSchemaBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uRLParser; + public CreateMockSchemaBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + _uRLParser = serializerResolver.GetLeafValueParser("URL") ?? throw new global::System.ArgumentException("No serializer for type `URL` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreateMockSchemaResultInfo(Deserialize_NonNullableICreateMockSchema_CreateMockSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createMockSchema"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData Deserialize_NonNullableICreateMockSchema_CreateMockSchema(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CreateMockSchemaPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaPayloadData(typename, mockSchema: Deserialize_ICreateMockSchema_CreateMockSchema_MockSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mockSchema")), errors: Deserialize_ICreateMockSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? Deserialize_ICreateMockSchema_CreateMockSchema_MockSchema(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), createdBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdBy")), modifiedAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedAt")), modifiedBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedBy")), downstreamUrl: Deserialize_NonNullableUri(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downstreamUrl")), url: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "url"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Uri Deserialize_NonNullableUri(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _uRLParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateMockSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var createMockSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + createMockSchemaErrors.Add(Deserialize_NonNullableICreateMockSchemaErrorData(child)); + } + + return createMockSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateMockSchemaErrorData Deserialize_NonNullableICreateMockSchemaErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("MockSchemaNonUniqueNameError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNonUniqueNameErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename); + } + + if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListMockCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uRLParser; + public ListMockCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + _uRLParser = serializerResolver.GetLeafValueParser("URL") ?? throw new global::System.ArgumentException("No serializer for type `URL` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListMockCommandQueryResultInfo(Deserialize_IListMockCommandQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IListMockCommandQuery_ApiById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, mockSchemas: Deserialize_IListMockCommandQuery_ApiById_MockSchemas(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mockSchemas"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? Deserialize_IListMockCommandQuery_ApiById_MockSchemas(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchemasConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData(typename, edges: Deserialize_IListMockCommandQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListMockCommandQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mockSchemasEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mockSchemasEdges.Add(Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges(child)); + } + + return mockSchemasEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchemasEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), createdBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdBy")), modifiedAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedAt")), modifiedBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedBy")), downstreamUrl: Deserialize_NonNullableUri(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downstreamUrl")), url: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "url"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Uri Deserialize_NonNullableUri(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _uRLParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListMockCommandQuery_ApiById_MockSchemas_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateMockSchemaBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uRLParser; + public UpdateMockSchemaBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + _uRLParser = serializerResolver.GetLeafValueParser("URL") ?? throw new global::System.ArgumentException("No serializer for type `URL` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new UpdateMockSchemaResultInfo(Deserialize_NonNullableIUpdateMockSchema_UpdateMockSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "updateMockSchema"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData Deserialize_NonNullableIUpdateMockSchema_UpdateMockSchema(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UpdateMockSchemaPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaPayloadData(typename, mockSchema: Deserialize_IUpdateMockSchema_UpdateMockSchema_MockSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mockSchema")), errors: Deserialize_IUpdateMockSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? Deserialize_IUpdateMockSchema_UpdateMockSchema_MockSchema(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), createdBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdBy")), modifiedAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedAt")), modifiedBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedBy")), downstreamUrl: Deserialize_NonNullableUri(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downstreamUrl")), url: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "url"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Uri Deserialize_NonNullableUri(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _uRLParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUpdateMockSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var updateMockSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + updateMockSchemaErrors.Add(Deserialize_NonNullableIUpdateMockSchemaErrorData(child)); + } + + return updateMockSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateMockSchemaErrorData Deserialize_NonNullableIUpdateMockSchemaErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchemaNonUniqueNameError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNonUniqueNameErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("MockSchemaNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename); + } + + if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateOpenApiCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public CreateOpenApiCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreateOpenApiCollectionCommandMutationResultInfo(Deserialize_NonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createOpenApiCollection"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData Deserialize_NonNullableICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CreateOpenApiCollectionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionPayloadData(typename, openApiCollection: Deserialize_ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), errors: Deserialize_ICreateOpenApiCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_ICreateOpenApiCollectionCommandMutation_CreateOpenApiCollection_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateOpenApiCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var createOpenApiCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + createOpenApiCollectionErrors.Add(Deserialize_NonNullableICreateOpenApiCollectionErrorData(child)); + } + + return createOpenApiCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateOpenApiCollectionErrorData Deserialize_NonNullableICreateOpenApiCollectionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class DeleteOpenApiCollectionByIdCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public DeleteOpenApiCollectionByIdCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new DeleteOpenApiCollectionByIdCommandMutationResultInfo(Deserialize_NonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deleteOpenApiCollectionById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData Deserialize_NonNullableIDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeleteOpenApiCollectionByIdPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdPayloadData(typename, openApiCollection: Deserialize_IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), errors: Deserialize_IDeleteOpenApiCollectionByIdErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IDeleteOpenApiCollectionByIdCommandMutation_DeleteOpenApiCollectionById_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IDeleteOpenApiCollectionByIdErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var deleteOpenApiCollectionByIdErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + deleteOpenApiCollectionByIdErrors.Add(Deserialize_NonNullableIDeleteOpenApiCollectionByIdErrorData(child)); + } + + return deleteOpenApiCollectionByIdErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeleteOpenApiCollectionByIdErrorData Deserialize_NonNullableIDeleteOpenApiCollectionByIdErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListOpenApiCollectionCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public ListOpenApiCollectionCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListOpenApiCollectionCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, openApiCollections: Deserialize_IListOpenApiCollectionCommandQuery_Node_OpenApiCollections(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollections"))); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? Deserialize_IListOpenApiCollectionCommandQuery_Node_OpenApiCollections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiOpenApiCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData(typename, edges: Deserialize_IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListOpenApiCollectionCommandQuery_Node_OpenApiCollections_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var apiOpenApiCollectionsEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + apiOpenApiCollectionsEdges.Add(Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges(child)); + } + + return apiOpenApiCollectionsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiOpenApiCollectionsEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListOpenApiCollectionCommandQuery_Node_OpenApiCollections_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public PublishOpenApiCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new PublishOpenApiCollectionCommandMutationResultInfo(Deserialize_NonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishOpenApiCollection"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData Deserialize_NonNullableIPublishOpenApiCollectionCommandMutation_PublishOpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishOpenApiCollectionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IPublishOpenApiCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPublishOpenApiCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var publishOpenApiCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishOpenApiCollectionErrors.Add(Deserialize_NonNullableIPublishOpenApiCollectionErrorData(child)); + } + + return publishOpenApiCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IPublishOpenApiCollectionErrorData Deserialize_NonNullableIPublishOpenApiCollectionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("OpenApiCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData(typename, openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("OpenApiCollectionVersionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionNotFoundErrorData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishOpenApiCollectionCommandSubscriptionBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public PublishOpenApiCollectionCommandSubscriptionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); + _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new PublishOpenApiCollectionCommandSubscriptionResultInfo(Deserialize_NonNullableIOpenApiCollectionVersionPublishResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onOpenApiCollectionVersionPublishingUpdate"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishResultData Deserialize_NonNullableIOpenApiCollectionVersionPublishResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionVersionPublishFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionPublishFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIOpenApiCollectionVersionPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionVersionPublishSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionPublishSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); + } + + if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); + } + + if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionVersionPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionVersionPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionVersionPublishErrors.Add(Deserialize_NonNullableIOpenApiCollectionVersionPublishErrorData(child)); + } + + return openApiCollectionVersionPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionPublishErrorData Deserialize_NonNullableIOpenApiCollectionVersionPublishErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); + } + + if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); + } + + if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _directiveLocationParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData(typename, mcpFeatureCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), entities: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntitys.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationPrompt", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationTool", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntityErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadOpenApiCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public UploadOpenApiCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new UploadOpenApiCollectionCommandMutationResultInfo(Deserialize_NonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadOpenApiCollection"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData Deserialize_NonNullableIUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UploadOpenApiCollectionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionPayloadData(typename, openApiCollectionVersion: Deserialize_IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionVersion")), errors: Deserialize_IUploadOpenApiCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData? Deserialize_IUploadOpenApiCollectionCommandMutation_UploadOpenApiCollection_OpenApiCollectionVersion(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadOpenApiCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var uploadOpenApiCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + uploadOpenApiCollectionErrors.Add(Deserialize_NonNullableIUploadOpenApiCollectionErrorData(child)); + } + + return uploadOpenApiCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadOpenApiCollectionErrorData Deserialize_NonNullableIUploadOpenApiCollectionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData(typename, openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidOpenApiCollectionArchiveError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidOpenApiCollectionArchiveErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public ValidateOpenApiCollectionCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ValidateOpenApiCollectionCommandMutationResultInfo(Deserialize_NonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateOpenApiCollection"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData Deserialize_NonNullableIValidateOpenApiCollectionCommandMutation_ValidateOpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ValidateOpenApiCollectionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IValidateOpenApiCollectionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateOpenApiCollectionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var validateOpenApiCollectionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + validateOpenApiCollectionErrors.Add(Deserialize_NonNullableIValidateOpenApiCollectionErrorData(child)); + } + + return validateOpenApiCollectionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateOpenApiCollectionErrorData Deserialize_NonNullableIValidateOpenApiCollectionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("OpenApiCollectionNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionNotFoundErrorData(typename, openApiCollectionId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollectionId")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateOpenApiCollectionCommandSubscriptionBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public ValidateOpenApiCollectionCommandSubscriptionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ValidateOpenApiCollectionCommandSubscriptionResultInfo(Deserialize_NonNullableIOpenApiCollectionVersionValidationResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onOpenApiCollectionVersionValidationUpdate"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationResultData Deserialize_NonNullableIOpenApiCollectionVersionValidationResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionVersionValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableIOpenApiCollectionVersionValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionVersionValidationSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionVersionValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionVersionValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionVersionValidationErrors.Add(Deserialize_NonNullableIOpenApiCollectionVersionValidationErrorData(child)); + } + + return openApiCollectionVersionValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionVersionValidationErrorData Deserialize_NonNullableIOpenApiCollectionVersionValidationErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationArchiveError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationArchiveErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); + } + + if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreatePersonalAccessTokenCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + public CreatePersonalAccessTokenCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreatePersonalAccessTokenCommandMutationResultInfo(Deserialize_NonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createPersonalAccessToken"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData Deserialize_NonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CreatePersonalAccessTokenPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenPayloadData(typename, result: Deserialize_ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "result")), errors: Deserialize_ICreatePersonalAccessTokenErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData? Deserialize_ICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersonalAccessTokenWithSecret", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData(typename, token: Deserialize_NonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "token")), secret: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "secret"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData Deserialize_NonNullableICreatePersonalAccessTokenCommandMutation_CreatePersonalAccessToken_Result_Token(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), description: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "description")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), expiresAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "expiresAt"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreatePersonalAccessTokenErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var createPersonalAccessTokenErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + createPersonalAccessTokenErrors.Add(Deserialize_NonNullableICreatePersonalAccessTokenErrorData(child)); + } + + return createPersonalAccessTokenErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICreatePersonalAccessTokenErrorData Deserialize_NonNullableICreatePersonalAccessTokenErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListPersonalAccessTokenCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + public ListPersonalAccessTokenCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListPersonalAccessTokenCommandQueryResultInfo(Deserialize_IListPersonalAccessTokenCommandQuery_Me(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "me"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Deserialize_IListPersonalAccessTokenCommandQuery_Me(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData(typename, personalAccessTokens: Deserialize_IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personalAccessTokens"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData? Deserialize_IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersonalAccessTokensConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData(typename, edges: Deserialize_IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var personalAccessTokensEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + personalAccessTokensEdges.Add(Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges(child)); + } + + return personalAccessTokensEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensEdgeData Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersonalAccessTokensEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), description: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "description")), expiresAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "expiresAt")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListPersonalAccessTokenCommandQuery_Me_PersonalAccessTokens_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class RevokePersonalAccessTokenCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + public RevokePersonalAccessTokenCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new RevokePersonalAccessTokenCommandMutationResultInfo(Deserialize_NonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "revokePersonalAccessToken"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData Deserialize_NonNullableIRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("RevokePersonalAccessTokenPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenPayloadData(typename, personalAccessToken: Deserialize_IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personalAccessToken")), errors: Deserialize_IRevokePersonalAccessTokenErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? Deserialize_IRevokePersonalAccessTokenCommandMutation_RevokePersonalAccessToken_PersonalAccessToken(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersonalAccessToken", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), description: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "description")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), expiresAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "expiresAt"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IRevokePersonalAccessTokenErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var revokePersonalAccessTokenErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + revokePersonalAccessTokenErrors.Add(Deserialize_NonNullableIRevokePersonalAccessTokenErrorData(child)); + } + + return revokePersonalAccessTokenErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IRevokePersonalAccessTokenErrorData Deserialize_NonNullableIRevokePersonalAccessTokenErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("PersonalAccessTokenNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PublishSchemaVersionBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public PublishSchemaVersionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new PublishSchemaVersionResultInfo(Deserialize_NonNullableIPublishSchemaVersion_PublishSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishSchema"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData Deserialize_NonNullableIPublishSchemaVersion_PublishSchema(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishSchemaPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IPublishSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPublishSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var publishSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishSchemaErrors.Add(Deserialize_NonNullableIPublishSchemaErrorData(child)); + } + + return publishSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IPublishSchemaErrorData Deserialize_NonNullableIPublishSchemaErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("SchemaNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionPublishUpdatedBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public OnSchemaVersionPublishUpdatedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); + _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new OnSchemaVersionPublishUpdatedResultInfo(Deserialize_NonNullableISchemaVersionPublishResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onSchemaVersionPublishingUpdate"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishResultData Deserialize_NonNullableISchemaVersionPublishResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); + } + + if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); + } + + if (typename?.Equals("SchemaVersionPublishFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionPublishFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableISchemaVersionPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("SchemaVersionPublishSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionPublishSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaVersionPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaVersionPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaVersionPublishErrors.Add(Deserialize_NonNullableISchemaVersionPublishErrorData(child)); + } + + return schemaVersionPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionPublishErrorData Deserialize_NonNullableISchemaVersionPublishErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); + } + + if (typename?.Equals("SchemaVersionChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData(typename, changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData(typename, mcpFeatureCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), entities: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntitys.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationPrompt", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationTool", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntityErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); + } + + if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); + } + + if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _directiveLocationParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UploadSchemaBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public UploadSchemaBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new UploadSchemaResultInfo(Deserialize_NonNullableIUploadSchema_UploadSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "uploadSchema"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData Deserialize_NonNullableIUploadSchema_UploadSchema(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UploadSchemaPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaPayloadData(typename, schemaVersion: Deserialize_IUploadSchema_UploadSchema_SchemaVersion(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaVersion")), errors: Deserialize_IUploadSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? Deserialize_IUploadSchema_UploadSchema_SchemaVersion(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("SchemaVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUploadSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var uploadSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + uploadSchemaErrors.Add(Deserialize_NonNullableIUploadSchemaErrorData(child)); + } + + return uploadSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUploadSchemaErrorData Deserialize_NonNullableIUploadSchemaErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("DuplicatedTagError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DuplicatedTagErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateSchemaVersionBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public ValidateSchemaVersionBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ValidateSchemaVersionResultInfo(Deserialize_NonNullableIValidateSchemaVersion_ValidateSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateSchema"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData Deserialize_NonNullableIValidateSchemaVersion_ValidateSchema(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ValidateSchemaPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaPayloadData(typename, id: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), errors: Deserialize_IValidateSchemaErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateSchemaErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var validateSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + validateSchemaErrors.Add(Deserialize_NonNullableIValidateSchemaErrorData(child)); + } + + return validateSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateSchemaErrorData Deserialize_NonNullableIValidateSchemaErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("SchemaNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); + } + + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnSchemaVersionValidationUpdatedBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public OnSchemaVersionValidationUpdatedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); + _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new OnSchemaVersionValidationUpdatedResultInfo(Deserialize_NonNullableISchemaVersionValidationResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onSchemaVersionValidationUpdate"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationResultData Deserialize_NonNullableISchemaVersionValidationResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("SchemaVersionValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), errors: Deserialize_NonNullableISchemaVersionValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("SchemaVersionValidationSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaVersionValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaVersionValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaVersionValidationErrors.Add(Deserialize_NonNullableISchemaVersionValidationErrorData(child)); + } + + return schemaVersionValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaVersionValidationErrorData Deserialize_NonNullableISchemaVersionValidationErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename); + } + + if (typename?.Equals("SchemaVersionChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData(typename, changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData(typename, mcpFeatureCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), entities: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntitys.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationPrompt", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationTool", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntityErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); + } + + if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); + } + + if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _directiveLocationParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class UpdateStagesBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public UpdateStagesBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new UpdateStagesResultInfo(Deserialize_NonNullableIUpdateStages_UpdateStages(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "updateStages"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData Deserialize_NonNullableIUpdateStages_UpdateStages(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UpdateStagesPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesPayloadData(typename, api: Deserialize_IUpdateStages_UpdateStages_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), errors: Deserialize_IUpdateStagesErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_IUpdateStages_UpdateStages_Api(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, stages: Deserialize_NonNullableIUpdateStages_UpdateStages_Api_StagesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stages"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Api_StagesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var stages = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + stages.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages(child)); + } + + return stages; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), displayName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "displayName")), conditions: Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "conditions"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var stageConditions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + stageConditions.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(child)); + } + + return stageConditions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("AfterStageCondition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.AfterStageConditionData(typename, afterStage: Deserialize_IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "afterStage"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IUpdateStagesErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var updateStagesErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + updateStagesErrors.Add(Deserialize_NonNullableIUpdateStagesErrorData(child)); + } + + return updateStagesErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUpdateStagesErrorData Deserialize_NonNullableIUpdateStagesErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("StagesHavePublishedDependenciesError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StagesHavePublishedDependenciesErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), stages: Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_StagesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stages"))); + } + + if (typename?.Equals("StageValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_StagesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var stages = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + stages.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages(child)); + } + + return stages; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), publishedSchema: Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedSchema")), publishedClients: Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClientsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedClients"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData? Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedSchemaVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData(typename, version: Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "version"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedSchema_Version(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("SchemaVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClientsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClients = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishedClients.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients(child)); + } + + return publishedClients; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientData Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedClient", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientData(typename, client: Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), publishedVersions: Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedVersions"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishedClientVersions.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableIUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, version: Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "version"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Deserialize_IUpdateStages_UpdateStages_Errors_Stages_PublishedClients_PublishedVersions_Version(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListStagesQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public ListStagesQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListStagesQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, stages: Deserialize_NonNullableIListStagesQuery_Node_StagesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stages"))); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIListStagesQuery_Node_StagesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var stages = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + stages.Add(Deserialize_NonNullableIListStagesQuery_Node_Stages(child)); + } + + return stages; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData Deserialize_NonNullableIListStagesQuery_Node_Stages(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), displayName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "displayName")), conditions: Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "conditions"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_ConditionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var stageConditions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + stageConditions.Add(Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(child)); + } + + return stageConditions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IStageConditionData Deserialize_NonNullableIUpdateStages_UpdateStages_Api_Stages_Conditions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("AfterStageCondition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.AfterStageConditionData(typename, afterStage: Deserialize_IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "afterStage"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_IUpdateStages_UpdateStages_Api_Stages_Conditions_AfterStage(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CreateWorkspaceCommandMutationBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public CreateWorkspaceCommandMutationBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CreateWorkspaceCommandMutationResultInfo(Deserialize_NonNullableICreateWorkspaceCommandMutation_CreateWorkspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createWorkspace"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData Deserialize_NonNullableICreateWorkspaceCommandMutation_CreateWorkspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CreateWorkspacePayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspacePayloadData(typename, workspace: Deserialize_ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), errors: Deserialize_ICreateWorkspaceErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateWorkspaceCommandMutation_CreateWorkspace_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), personal: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personal"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateWorkspaceErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var createWorkspaceErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + createWorkspaceErrors.Add(Deserialize_NonNullableICreateWorkspaceErrorData(child)); + } + + return createWorkspaceErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICreateWorkspaceErrorData Deserialize_NonNullableICreateWorkspaceErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ListWorkspaceCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + public ListWorkspaceCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ListWorkspaceCommandQueryResultInfo(Deserialize_IListWorkspaceCommandQuery_Me(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "me"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Deserialize_IListWorkspaceCommandQuery_Me(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData(typename, workspaces: Deserialize_IListWorkspaceCommandQuery_Me_Workspaces(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaces"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? Deserialize_IListWorkspaceCommandQuery_Me_Workspaces(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("WorkspacesConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData(typename, edges: Deserialize_IListWorkspaceCommandQuery_Me_Workspaces_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IListWorkspaceCommandQuery_Me_Workspaces_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var workspacesEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + workspacesEdges.Add(Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges(child)); + } + + return workspacesEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("WorkspacesEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), personal: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personal"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIListWorkspaceCommandQuery_Me_Workspaces_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SetDefaultWorkspaceCommand_SelectWorkspace_QueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + public SetDefaultWorkspaceCommand_SelectWorkspace_QueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultInfo(Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "me"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData? Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Viewer", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ViewerData(typename, workspaces: Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaces"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("WorkspacesConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData(typename, edges: Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var workspacesEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + workspacesEdges.Add(Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges(child)); + } + + return workspacesEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("WorkspacesEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), personal: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personal"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISetDefaultWorkspaceCommand_SelectWorkspace_Query_Me_Workspaces_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ShowWorkspaceCommandQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public ShowWorkspaceCommandQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ShowWorkspaceCommandQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), personal: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "personal"))); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectApiPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _versionParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public SelectApiPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _versionParser = serializerResolver.GetLeafValueParser("Version") ?? throw new global::System.ArgumentException("No serializer for type `Version` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new SelectApiPromptQueryResultInfo(Deserialize_ISelectApiPromptQuery_WorkspaceById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspaceById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ISelectApiPromptQuery_WorkspaceById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, apis: Deserialize_ISelectApiPromptQuery_WorkspaceById_Apis(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apis"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? Deserialize_ISelectApiPromptQuery_WorkspaceById_Apis(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApisConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData(typename, edges: Deserialize_ISelectApiPromptQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectApiPromptQuery_WorkspaceById_Apis_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var apisEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + apisEdges.Add(Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges(child)); + } + + return apisEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApisEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApisEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), workspace: Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "workspace")), settings: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "settings"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Deserialize_ICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Workspace(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiSettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData(typename, schemaRegistry: Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "schemaRegistry"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData Deserialize_NonNullableICreateApiCommandMutation_PushWorkspaceChanges_Changes_Result_Settings_SchemaRegistry(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("SchemaRegistrySettings", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData(typename, treatDangerousAsBreaking: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "treatDangerousAsBreaking")), allowBreakingSchemaChanges: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "allowBreakingSchemaChanges"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectApiPromptQuery_WorkspaceById_Apis_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class PageClientVersionDetailQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + public PageClientVersionDetailQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new PageClientVersionDetailQueryResultInfo(Deserialize_INodeData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.INodeData? Deserialize_INodeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename); + } + + if (typename?.Equals("ApiDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiDocumentData(typename); + } + + if (typename?.Equals("ApiKey", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData(typename); + } + + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, versions: Deserialize_IPageClientVersionDetailQuery_Node_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); + } + + if (typename?.Equals("ClientChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientChangeLogData(typename); + } + + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename); + } + + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename); + } + + if (typename?.Equals("CoordinateClientUsageMetrics", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CoordinateClientUsageMetricsData(typename); + } + + if (typename?.Equals("Environment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData(typename); + } + + if (typename?.Equals("FusionConfigurationChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationChangeLogData(typename); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename); + } + + if (typename?.Equals("GraphQLDirectiveArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLDirectiveDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLDirectiveDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLEnumValueDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLEnumValueDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInputObjectTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInputObjectTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLInterfaceTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLInterfaceTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldArgumentDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldArgumentDefinitionData(typename); + } + + if (typename?.Equals("GraphQLObjectFieldDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLObjectFieldDefinitionData(typename); + } + + if (typename?.Equals("GraphQLScalarTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLScalarTypeDefinitionData(typename); + } + + if (typename?.Equals("GraphQLUnionTypeDefinition", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLUnionTypeDefinitionData(typename); + } + + if (typename?.Equals("Group", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GroupData(typename); + } + + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename); + } + + if (typename?.Equals("McpFeatureCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionChangeLogData(typename); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename); + } + + if (typename?.Equals("McpFeatureCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData(typename); + } + + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename); + } + + if (typename?.Equals("OpenApiCollectionChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionChangeLogData(typename); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename); + } + + if (typename?.Equals("OpenApiCollectionVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData(typename); + } + + if (typename?.Equals("Organization", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationData(typename); + } + + if (typename?.Equals("OrganizationMember", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OrganizationMemberData(typename); + } + + if (typename?.Equals("SchemaChangeLog", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeLogData(typename); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename); + } + + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename); + } + + if (typename?.Equals("User", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserData(typename); + } + + if (typename?.Equals("Workspace", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData(typename); + } + + if (typename?.Equals("WorkspaceDocument", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceDocumentData(typename); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_IPageClientVersionDetailQuery_Node_Versions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, pageInfo: Deserialize_NonNullableIPageClientVersionDetailQuery_Node_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo")), edges: Deserialize_IPageClientVersionDetailQuery_Node_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableIPageClientVersionDetailQuery_Node_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IPageClientVersionDetailQuery_Node_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientVersionEdges.Add(Deserialize_NonNullableIPageClientVersionDetailQuery_Node_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableIPageClientVersionDetailQuery_Node_Versions_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishedClientVersions.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectClientPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + public SelectClientPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new SelectClientPromptQueryResultInfo(Deserialize_ISelectClientPromptQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISelectClientPromptQuery_ApiById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, clients: Deserialize_ISelectClientPromptQuery_ApiById_Clients(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "clients"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? Deserialize_ISelectClientPromptQuery_ApiById_Clients(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientsConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData(typename, edges: Deserialize_ISelectClientPromptQuery_ApiById_Clients_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectClientPromptQuery_ApiById_Clients_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var clientsEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientsEdges.Add(Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_Edges(child)); + } + + return clientsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientsEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), api: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "api")), versions: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "versions"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Api(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), path: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData(typename, edges: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var clientVersionEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientVersionEdges.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(child)); + } + + return clientVersionEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersionEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), tag: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "tag")), publishedTo: Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "publishedTo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedToNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var publishedClientVersions = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + publishedClientVersions.Add(Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(child)); + } + + return publishedClientVersions; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PublishedClientVersion", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PublishedClientVersionData(typename, stage: Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "stage"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Deserialize_ICreateClientCommandMutation_CreateClient_Client_Versions_Edges_Node_PublishedTo_Stage(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Stage", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageData(typename, name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableICreateClientCommandMutation_CreateClient_Client_Versions_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectClientPromptQuery_ApiById_Clients_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class BeginFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public BeginFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new BeginFusionConfigurationPublishResultInfo(Deserialize_NonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "beginFusionConfigurationPublish"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData Deserialize_NonNullableIBeginFusionConfigurationPublish_BeginFusionConfigurationPublish(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("BeginFusionConfigurationPublishPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishPayloadData(typename, requestId: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "requestId")), errors: Deserialize_IBeginFusionConfigurationPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _iDParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IBeginFusionConfigurationPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var beginFusionConfigurationPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + beginFusionConfigurationPublishErrors.Add(Deserialize_NonNullableIBeginFusionConfigurationPublishErrorData(child)); + } + + return beginFusionConfigurationPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IBeginFusionConfigurationPublishErrorData Deserialize_NonNullableIBeginFusionConfigurationPublishErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ApiNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), apiId: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiId"))); + } + + if (typename?.Equals("StageNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StageNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("SubgraphInvalidError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SubgraphInvalidErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class OnFusionConfigurationPublishingTaskChangedBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _processingStateParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _schemaChangeSeverityParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _directiveLocationParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + public OnFusionConfigurationPublishingTaskChangedBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _processingStateParser = serializerResolver.GetLeafValueParser("ProcessingState") ?? throw new global::System.ArgumentException("No serializer for type `ProcessingState` found."); + _schemaChangeSeverityParser = serializerResolver.GetLeafValueParser("SchemaChangeSeverity") ?? throw new global::System.ArgumentException("No serializer for type `SchemaChangeSeverity` found."); + _directiveLocationParser = serializerResolver.GetLeafValueParser("DirectiveLocation") ?? throw new global::System.ArgumentException("No serializer for type `DirectiveLocation` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new OnFusionConfigurationPublishingTaskChangedResultInfo(Deserialize_NonNullableIFusionConfigurationPublishingResultData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "onFusionConfigurationPublishingTaskChanged"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingResultData Deserialize_NonNullableIFusionConfigurationPublishingResultData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("FusionConfigurationPublishingFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationPublishingFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), failed: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "failed")), errors: Deserialize_NonNullableIFusionConfigurationPublishingErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("FusionConfigurationPublishingSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationPublishingSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), success: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "success"))); + } + + if (typename?.Equals("FusionConfigurationValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationValidationFailedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), failed: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "failed")), errors: Deserialize_NonNullableIFusionConfigurationValidationErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("FusionConfigurationValidationSuccess", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationValidationSuccessData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), success: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "success")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("OperationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskApproved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskApprovedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("ProcessingTaskIsQueued", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsQueuedData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), queued: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queued")), queuePosition: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queuePosition"))); + } + + if (typename?.Equals("ProcessingTaskIsReady", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTaskIsReadyData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), ready: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "ready"))); + } + + if (typename?.Equals("ValidationInProgress", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidationInProgressData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state"))); + } + + if (typename?.Equals("WaitForApproval", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.WaitForApprovalData(typename, state: Deserialize_NonNullableProcessingState(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "state")), deployment: Deserialize_IDeploymentData(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployment"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.ProcessingState Deserialize_NonNullableProcessingState(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _processingStateParser.Parse(obj.Value.GetString()!); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationPublishingErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationPublishingErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + fusionConfigurationPublishingErrors.Add(Deserialize_NonNullableIFusionConfigurationPublishingErrorData(child)); + } + + return fusionConfigurationPublishingErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationPublishingErrorData Deserialize_NonNullableIFusionConfigurationPublishingErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ConcurrentOperationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ConcurrentOperationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("ProcessingTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ProcessingTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("ReadyTimeoutError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ReadyTimeoutErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var graphQLSchemaErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + graphQLSchemaErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(child)); + } + + return graphQLSchemaErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("GraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.GraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationValidationErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationValidationErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + fusionConfigurationValidationErrors.Add(Deserialize_NonNullableIFusionConfigurationValidationErrorData(child)); + } + + return fusionConfigurationValidationErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationValidationErrorData Deserialize_NonNullableIFusionConfigurationValidationErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaVersionChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionChangeViolationErrorData(typename, changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("UnexpectedProcessingError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnexpectedProcessingErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(child)); + } + + return mcpFeatureCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationCollectionData(typename, mcpFeatureCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollection")), entities: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_McpFeatureCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntitys.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(child)); + } + + return mcpFeatureCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationPrompt", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationPromptData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationTool", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationToolData(typename, errors: Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationEntityErrors.Add(Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(child)); + } + + return mcpFeatureCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionValidationEntityErrorData Deserialize_NonNullableIMcpFeatureCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mcpFeatureCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(child)); + } + + return mcpFeatureCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations_1(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Int32 Deserialize_NonNullableInt32(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _intParser.Parse(obj.Value.GetInt32()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationCollections = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationCollections.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(child)); + } + + return openApiCollectionValidationCollections; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationCollectionData(typename, openApiCollection: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollection")), entities: Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "entities"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_OpenApiCollection(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntitys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntitys.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityData(child)); + } + + return openApiCollectionValidationEntitys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityData Deserialize_NonNullableIOpenApiCollectionValidationEntityData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationEndpoint", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEndpointData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), httpMethod: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "httpMethod")), route: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "route"))); + } + + if (typename?.Equals("OpenApiCollectionValidationModel", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationModelData(typename, errors: Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionValidationEntityErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationEntityErrors.Add(Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(child)); + } + + return openApiCollectionValidationEntityErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionValidationEntityErrorData Deserialize_NonNullableIOpenApiCollectionValidationEntityErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorData(typename, code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + if (typename?.Equals("OpenApiCollectionValidationEntityValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationEntityValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var openApiCollectionValidationDocumentErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionValidationDocumentErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(child)); + } + + return openApiCollectionValidationDocumentErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationDocumentErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationDocumentErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Client", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryValidationFaileds = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryValidationFaileds.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(child)); + } + + return persistedQueryValidationFaileds; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationFailed", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationFailedData(typename, deployedTags: Deserialize_NonNullableStringNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deployedTags")), message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), hash: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hash")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableStringNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var @strings = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + @strings.Add(Deserialize_NonNullableString(child)); + } + + return @strings; + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var persistedQueryErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(child)); + } + + return persistedQueryErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), code: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "code")), path: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "path")), locations: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "locations"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_LocationsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var persistedQueryErrorLocations = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + persistedQueryErrorLocations.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(child)); + } + + return persistedQueryErrorLocations; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Queries_Errors_Locations(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryErrorLocation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryErrorLocationData(typename, column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaChangeLogEntrys = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaChangeLogEntrys.Add(Deserialize_NonNullableISchemaChangeLogEntryData(child)); + } + + return schemaChangeLogEntrys; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaChangeLogEntryData Deserialize_NonNullableISchemaChangeLogEntryData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DirectiveModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InputObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InterfaceModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ObjectModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ObjectModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ScalarModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ScalarModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("TypeSystemMemberAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("TypeSystemMemberModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity"))); + } + + if (typename?.Equals("TypeSystemMemberRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeSystemMemberRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("UnionModifiedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionModifiedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity Deserialize_NonNullableSchemaChangeSeverity(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _schemaChangeSeverityParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIDirectiveChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var directiveChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + directiveChanges.Add(Deserialize_NonNullableIDirectiveChangeData(child)); + } + + return directiveChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDirectiveChangeData Deserialize_NonNullableIDirectiveChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("DirectiveLocationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + if (typename?.Equals("DirectiveLocationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DirectiveLocationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), location: Deserialize_NonNullableDirectiveLocation(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "location"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var argumentChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + argumentChanges.Add(Deserialize_NonNullableIArgumentChangeData(child)); + } + + return argumentChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IArgumentChangeData Deserialize_NonNullableIArgumentChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation Deserialize_NonNullableDirectiveLocation(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _directiveLocationParser.Parse(obj.Value.GetString()!); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumChanges.Add(Deserialize_NonNullableIEnumChangeData(child)); + } + + return enumChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumChangeData Deserialize_NonNullableIEnumChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("EnumValueAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + if (typename?.Equals("EnumValueChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), changes: Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("EnumValueRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.EnumValueRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIEnumValueChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var enumValueChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + enumValueChanges.Add(Deserialize_NonNullableIEnumValueChangeData(child)); + } + + return enumValueChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IEnumValueChangeData Deserialize_NonNullableIEnumValueChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputObjectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputObjectChanges.Add(Deserialize_NonNullableIInputObjectChangeData(child)); + } + + return inputObjectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputObjectChangeData Deserialize_NonNullableIInputObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var inputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + inputFieldChanges.Add(Deserialize_NonNullableIInputFieldChangeData(child)); + } + + return inputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInputFieldChangeData Deserialize_NonNullableIInputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIInterfaceChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var interfaceChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + interfaceChanges.Add(Deserialize_NonNullableIInterfaceChangeData(child)); + } + + return interfaceChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IInterfaceChangeData Deserialize_NonNullableIInterfaceChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("PossibleTypeAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("PossibleTypeRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PossibleTypeRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var outputFieldChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + outputFieldChanges.Add(Deserialize_NonNullableIOutputFieldChangeData(child)); + } + + return outputFieldChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOutputFieldChangeData Deserialize_NonNullableIOutputFieldChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ArgumentAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("ArgumentChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), changes: Deserialize_NonNullableIArgumentChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("ArgumentRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ArgumentRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("DeprecatedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DeprecatedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), deprecationReason: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "deprecationReason"))); + } + + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("TypeChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.TypeChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), oldType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "oldType")), newType: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "newType"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIObjectChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var objectChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + objectChanges.Add(Deserialize_NonNullableIObjectChangeData(child)); + } + + return objectChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IObjectChangeData Deserialize_NonNullableIObjectChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("FieldAddedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldAddedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("FieldRemovedChange", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FieldRemovedChangeData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName"))); + } + + if (typename?.Equals("InterfaceImplementationAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("InterfaceImplementationRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InterfaceImplementationRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), interfaceName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "interfaceName"))); + } + + if (typename?.Equals("OutputFieldChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OutputFieldChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), coordinate: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "coordinate")), fieldName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "fieldName")), changes: Deserialize_NonNullableIOutputFieldChangeDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var scalarChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + scalarChanges.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(child)); + } + + return scalarChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IScalarChangeData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Changes_Changes_5(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIUnionChangeDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var unionChanges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + unionChanges.Add(Deserialize_NonNullableIUnionChangeData(child)); + } + + return unionChanges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IUnionChangeData Deserialize_NonNullableIUnionChangeData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("DescriptionChanged", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.DescriptionChangedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), old: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "old")), @new: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "new"))); + } + + if (typename?.Equals("UnionMemberAdded", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberAddedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + if (typename?.Equals("UnionMemberRemoved", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnionMemberRemovedData(typename, severity: Deserialize_NonNullableSchemaChangeSeverity(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "severity")), typeName: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "typeName"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deserialize_IDeploymentData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ClientDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ClientDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("FusionConfigurationDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationDeploymentData(typename, errors: Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("McpFeatureCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionDeploymentData(typename, errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("SchemaDeployment", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaDeploymentData(typename, errors: Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_ErrorsNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var clientDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + clientDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(child)); + } + + return clientDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IClientDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIFusionConfigurationDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var fusionConfigurationDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + fusionConfigurationDeploymentErrors.Add(Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(child)); + } + + return fusionConfigurationDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IFusionConfigurationDeploymentErrorData Deserialize_NonNullableIFusionConfigurationDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var mcpFeatureCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mcpFeatureCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(child)); + } + + return mcpFeatureCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IMcpFeatureCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_2(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3NonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var openApiCollectionDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + openApiCollectionDeploymentErrors.Add(Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(child)); + } + + return openApiCollectionDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IOpenApiCollectionDeploymentErrorData Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_3(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList Deserialize_NonNullableISchemaDeploymentErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var schemaDeploymentErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + schemaDeploymentErrors.Add(Deserialize_NonNullableISchemaDeploymentErrorData(child)); + } + + return schemaDeploymentErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ISchemaDeploymentErrorData Deserialize_NonNullableISchemaDeploymentErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PersistedQueryValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PersistedQueryValidationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), client: Deserialize_IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_Client(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "client")), queries: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Errors_QueriesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "queries"))); + } + + if (typename?.Equals("SchemaChangeViolationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaChangeViolationErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), changes: Deserialize_NonNullableISchemaChangeLogEntryDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "changes"))); + } + + if (typename?.Equals("OperationsAreNotAllowedError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OperationsAreNotAllowedErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("SchemaVersionSyntaxError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionSyntaxErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), column: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "column")), position: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "position")), line: Deserialize_NonNullableInt32(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "line"))); + } + + if (typename?.Equals("InvalidGraphQLSchemaError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidGraphQLSchemaErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message")), errors: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_ErrorsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + if (typename?.Equals("OpenApiCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_CollectionsNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + if (typename?.Equals("McpFeatureCollectionValidationError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionValidationErrorData(typename, collections: Deserialize_NonNullableIOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_1NonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "collections"))); + } + + throw new global::System.NotSupportedException(); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CancelFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public CancelFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CancelFusionConfigurationPublishResultInfo(Deserialize_NonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cancelFusionConfigurationComposition"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData Deserialize_NonNullableICancelFusionConfigurationPublish_CancelFusionConfigurationComposition(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CancelFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationCompositionPayloadData(typename, errors: Deserialize_ICancelFusionConfigurationCompositionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICancelFusionConfigurationCompositionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var cancelFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + cancelFusionConfigurationCompositionErrors.Add(Deserialize_NonNullableICancelFusionConfigurationCompositionErrorData(child)); + } + + return cancelFusionConfigurationCompositionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICancelFusionConfigurationCompositionErrorData Deserialize_NonNullableICancelFusionConfigurationCompositionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("FusionConfigurationRequestNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class CommitFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public CommitFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new CommitFusionConfigurationPublishResultInfo(Deserialize_NonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "commitFusionConfigurationPublish"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData Deserialize_NonNullableICommitFusionConfigurationPublish_CommitFusionConfigurationPublish(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("CommitFusionConfigurationPublishPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishPayloadData(typename, errors: Deserialize_ICommitFusionConfigurationPublishErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ICommitFusionConfigurationPublishErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var commitFusionConfigurationPublishErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + commitFusionConfigurationPublishErrors.Add(Deserialize_NonNullableICommitFusionConfigurationPublishErrorData(child)); + } + + return commitFusionConfigurationPublishErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ICommitFusionConfigurationPublishErrorData Deserialize_NonNullableICommitFusionConfigurationPublishErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("FusionConfigurationRequestNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class StartFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public StartFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new StartFusionConfigurationPublishResultInfo(Deserialize_NonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startFusionConfigurationComposition"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData Deserialize_NonNullableIStartFusionConfigurationPublish_StartFusionConfigurationComposition(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("StartFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationCompositionPayloadData(typename, errors: Deserialize_IStartFusionConfigurationCompositionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IStartFusionConfigurationCompositionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var startFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + startFusionConfigurationCompositionErrors.Add(Deserialize_NonNullableIStartFusionConfigurationCompositionErrorData(child)); + } + + return startFusionConfigurationCompositionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IStartFusionConfigurationCompositionErrorData Deserialize_NonNullableIStartFusionConfigurationCompositionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("FusionConfigurationRequestNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ValidateFusionConfigurationPublishBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uploadParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + public ValidateFusionConfigurationPublishBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _uploadParser = serializerResolver.GetLeafValueParser("Upload") ?? throw new global::System.ArgumentException("No serializer for type `Upload` found."); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new ValidateFusionConfigurationPublishResultInfo(Deserialize_NonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "validateFusionConfigurationComposition"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData Deserialize_NonNullableIValidateFusionConfigurationPublish_ValidateFusionConfigurationComposition(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ValidateFusionConfigurationCompositionPayload", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationCompositionPayloadData(typename, errors: Deserialize_IValidateFusionConfigurationCompositionErrorDataNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "errors"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_IValidateFusionConfigurationCompositionErrorDataNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var validateFusionConfigurationCompositionErrors = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + validateFusionConfigurationCompositionErrors.Add(Deserialize_NonNullableIValidateFusionConfigurationCompositionErrorData(child)); + } + + return validateFusionConfigurationCompositionErrors; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.IValidateFusionConfigurationCompositionErrorData Deserialize_NonNullableIValidateFusionConfigurationCompositionErrorData(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UnauthorizedOperation", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UnauthorizedOperationData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("FusionConfigurationRequestNotFoundError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.FusionConfigurationRequestNotFoundErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + if (typename?.Equals("InvalidProcessingStateTransitionError", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.InvalidProcessingStateTransitionErrorData(typename, message: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "message"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMcpFeatureCollectionPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public SelectMcpFeatureCollectionPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new SelectMcpFeatureCollectionPromptQueryResultInfo(Deserialize_ISelectMcpFeatureCollectionPromptQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISelectMcpFeatureCollectionPromptQuery_ApiById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, mcpFeatureCollections: Deserialize_ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mcpFeatureCollections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsConnectionData? Deserialize_ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiMcpFeatureCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsConnectionData(typename, edges: Deserialize_ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var apiMcpFeatureCollectionsEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + apiMcpFeatureCollectionsEdges.Add(Deserialize_NonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges(child)); + } + + return apiMcpFeatureCollectionsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsEdgeData Deserialize_NonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiMcpFeatureCollectionsEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData Deserialize_NonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("McpFeatureCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectMcpFeatureCollectionPromptQuery_ApiById_McpFeatureCollections_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectMockSchemaPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _dateTimeParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _uRLParser; + public SelectMockSchemaPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + _dateTimeParser = serializerResolver.GetLeafValueParser("DateTime") ?? throw new global::System.ArgumentException("No serializer for type `DateTime` found."); + _uRLParser = serializerResolver.GetLeafValueParser("URL") ?? throw new global::System.ArgumentException("No serializer for type `URL` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new SelectMockSchemaPromptQueryResultInfo(Deserialize_ISelectMockSchemaPromptQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISelectMockSchemaPromptQuery_ApiById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, mockSchemas: Deserialize_ISelectMockSchemaPromptQuery_ApiById_MockSchemas(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "mockSchemas"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? Deserialize_ISelectMockSchemaPromptQuery_ApiById_MockSchemas(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchemasConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData(typename, edges: Deserialize_ISelectMockSchemaPromptQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectMockSchemaPromptQuery_ApiById_MockSchemas_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var mockSchemasEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + mockSchemasEdges.Add(Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges(child)); + } + + return mockSchemasEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchemasEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("MockSchema", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name")), createdAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdAt")), createdBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "createdBy")), modifiedAt: Deserialize_NonNullableDateTimeOffset(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedAt")), modifiedBy: Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "modifiedBy")), downstreamUrl: Deserialize_NonNullableUri(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "downstreamUrl")), url: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "url"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.DateTimeOffset Deserialize_NonNullableDateTimeOffset(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _dateTimeParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_CreatedBy(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData Deserialize_NonNullableICreateMockSchema_CreateMockSchema_MockSchema_ModifiedBy(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("UserInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData(typename, username: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "username"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Uri Deserialize_NonNullableUri(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _uRLParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectMockSchemaPromptQuery_ApiById_MockSchemas_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class SelectOpenApiCollectionPromptQueryBuilder : global::StrawberryShake.OperationResultBuilder + { + private readonly global::StrawberryShake.Serialization.ILeafValueParser _iDParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _stringParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _intParser; + private readonly global::StrawberryShake.Serialization.ILeafValueParser _booleanParser; + public SelectOpenApiCollectionPromptQueryBuilder(global::StrawberryShake.IOperationResultDataFactory resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) + { + ResultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); + _iDParser = serializerResolver.GetLeafValueParser("ID") ?? throw new global::System.ArgumentException("No serializer for type `ID` found."); + _stringParser = serializerResolver.GetLeafValueParser("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found."); + _intParser = serializerResolver.GetLeafValueParser("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found."); + _booleanParser = serializerResolver.GetLeafValueParser("Boolean") ?? throw new global::System.ArgumentException("No serializer for type `Boolean` found."); + } + + protected override global::StrawberryShake.IOperationResultDataFactory ResultDataFactory { get; } + + protected override global::StrawberryShake.IOperationResultDataInfo BuildData(global::System.Text.Json.JsonElement obj) + { + return new SelectOpenApiCollectionPromptQueryResultInfo(Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "apiById"))); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("Api", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiData(typename, openApiCollections: Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "openApiCollections"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiOpenApiCollectionsConnection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData(typename, edges: Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_EdgesNonNullableArray(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "edges")), pageInfo: Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "pageInfo"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Collections.Generic.IReadOnlyList? Deserialize_ISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_EdgesNonNullableArray(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + var apiOpenApiCollectionsEdges = new global::System.Collections.Generic.List(); + foreach (global::System.Text.Json.JsonElement child in obj.Value.EnumerateArray()) + { + apiOpenApiCollectionsEdges.Add(Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges(child)); + } + + return apiOpenApiCollectionsEdges; + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("ApiOpenApiCollectionsEdge", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsEdgeData(typename, cursor: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "cursor")), node: Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "node"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.String Deserialize_NonNullableString(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_Edges_Node(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("OpenApiCollection", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData(typename, id: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "id")), name: Deserialize_NonNullableString(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "name"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData Deserialize_NonNullableISelectOpenApiCollectionPromptQuery_ApiById_OpenApiCollections_PageInfo(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + var typename = obj.Value.GetProperty("__typename").GetString(); + if (typename?.Equals("PageInfo", global::System.StringComparison.Ordinal) ?? false) + { + return new global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData(typename, hasPreviousPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasPreviousPage")), hasNextPage: Deserialize_NonNullableBoolean(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "hasNextPage")), endCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "endCursor")), startCursor: Deserialize_String(global::StrawberryShake.Json.JsonElementExtensions.GetPropertyOrNull(obj, "startCursor"))); + } + + throw new global::System.NotSupportedException(); + } + + private global::System.Boolean Deserialize_NonNullableBoolean(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + throw new global::System.ArgumentNullException(); + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + throw new global::System.ArgumentNullException(); + } + + return _booleanParser.Parse(obj.Value.GetBoolean()!); + } + + private global::System.String? Deserialize_String(global::System.Text.Json.JsonElement? obj) + { + if (!obj.HasValue) + { + return null; + } + + if (obj.Value.ValueKind == global::System.Text.Json.JsonValueKind.Null) + { + return null; + } + + return _stringParser.Parse(obj.Value.GetString()!); + } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateApiKeyPayloadData + { + public CreateApiKeyPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData? result = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Result = result; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData? Result { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiKeyWithSecretData + { + public ApiKeyWithSecretData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? key = default !, global::System.String? secret = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Key = key; + Secret = secret; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? Key { get; init; } + public global::System.String? Secret { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMockSchemaErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateClientErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadFusionSubgraphErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IBeginFusionConfigurationPublishErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadSchemaErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiByIdErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateOpenApiCollectionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateMcpFeatureCollectionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateApiSettingsErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateSchemaErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateStagesErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishSchemaErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateApiKeyForApiErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiNotFoundErrorData : ICreateMockSchemaErrorData, ICreateClientErrorData, IUploadFusionSubgraphErrorData, ICreateApiKeyErrorData, IBeginFusionConfigurationPublishErrorData, IUploadSchemaErrorData, IDeleteApiByIdErrorData, ICreateOpenApiCollectionErrorData, ICreateMcpFeatureCollectionErrorData, IUpdateApiSettingsErrorData, IValidateSchemaErrorData, IUpdateStagesErrorData, IPublishSchemaErrorData, ICreateApiKeyForApiErrorData, IErrorData + { + public ApiNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? apiId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + ApiId = apiId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? ApiId { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISetActiveWorkspaceErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRenameWorkspaceErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRemoveWorkspaceErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record WorkspaceNotFoundData : ICreateApiKeyErrorData, ISetActiveWorkspaceErrorData, IRenameWorkspaceErrorData, IRemoveWorkspaceErrorData, IErrorData + { + public WorkspaceNotFoundData(global::System.String __typename, global::System.String? message = default !, global::System.String? workspaceId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + WorkspaceId = workspaceId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? WorkspaceId { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersonalWorkspaceNotSupportedErrorData : ICreateApiKeyErrorData, ICreateApiKeyForApiErrorData, IErrorData + { + public PersonalWorkspaceNotSupportedErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreatePersonalAccessTokenErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateThemeSettingsErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateMockSchemaErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdatePreferencesErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUpdateFeatureFlagsErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateWorkspaceErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidationErrorData : ICreateMockSchemaErrorData, ICreateApiKeyErrorData, ICreatePersonalAccessTokenErrorData, IUpdateThemeSettingsErrorData, IUpdateMockSchemaErrorData, IRenameWorkspaceErrorData, IUpdatePreferencesErrorData, IUpdateFeatureFlagsErrorData, IRemoveWorkspaceErrorData, ICreateApiKeyForApiErrorData, ICreateWorkspaceErrorData, IErrorData + { + public ValidationErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishMcpFeatureCollectionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPollClientVersionValidationRequestErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICreateAccountErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMockSchemaByIdErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadClientErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateOpenApiCollectionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelDeploymentErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStartFusionConfigurationCompositionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadMcpFeatureCollectionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPollClientVersionPublishRequestErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPollSchemaVersionValidationRequestErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPollSchemaVersionPublishRequestErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICommitFusionConfigurationPublishErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IApproveDeploymentErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateMcpFeatureCollectionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IEnsureTunnelSessionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IRevokePersonalAccessTokenErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateClientErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteOpenApiCollectionByIdErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteMcpFeatureCollectionByIdErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnpublishClientErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUploadOpenApiCollectionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IValidateFusionConfigurationCompositionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ICancelFusionConfigurationCompositionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPushWorkspaceChangesErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteClientByIdErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishOpenApiCollectionErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeleteApiKeyErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPublishClientErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IPushDocumentChangesErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UnauthorizedOperationData : ICreateMockSchemaErrorData, IPublishMcpFeatureCollectionErrorData, IPollClientVersionValidationRequestErrorData, ICreateAccountErrorData, ICreateClientErrorData, IUploadFusionSubgraphErrorData, IDeleteMockSchemaByIdErrorData, IUploadClientErrorData, IValidateOpenApiCollectionErrorData, ICreateApiKeyErrorData, IBeginFusionConfigurationPublishErrorData, ICancelDeploymentErrorData, IStartFusionConfigurationCompositionErrorData, IUploadMcpFeatureCollectionErrorData, IUploadSchemaErrorData, IPollClientVersionPublishRequestErrorData, IDeleteApiByIdErrorData, IPollSchemaVersionValidationRequestErrorData, IPollSchemaVersionPublishRequestErrorData, ICreatePersonalAccessTokenErrorData, ICommitFusionConfigurationPublishErrorData, IApproveDeploymentErrorData, IValidateMcpFeatureCollectionErrorData, IEnsureTunnelSessionErrorData, IUpdateThemeSettingsErrorData, IUpdateMockSchemaErrorData, IRevokePersonalAccessTokenErrorData, IValidateClientErrorData, IDeleteOpenApiCollectionByIdErrorData, IDeleteMcpFeatureCollectionByIdErrorData, IUnpublishClientErrorData, ICreateOpenApiCollectionErrorData, IUploadOpenApiCollectionErrorData, ISetActiveWorkspaceErrorData, IValidateFusionConfigurationCompositionErrorData, ICancelFusionConfigurationCompositionErrorData, IRenameWorkspaceErrorData, IPushWorkspaceChangesErrorData, IDeleteClientByIdErrorData, IPublishOpenApiCollectionErrorData, ICreateMcpFeatureCollectionErrorData, IUpdateApiSettingsErrorData, IValidateSchemaErrorData, IUpdatePreferencesErrorData, IDeleteApiKeyErrorData, IPublishClientErrorData, IPublishSchemaErrorData, IUpdateFeatureFlagsErrorData, IRemoveWorkspaceErrorData, IPushDocumentChangesErrorData, ICreateApiKeyForApiErrorData, ICreateWorkspaceErrorData, IErrorData + { + public UnauthorizedOperationData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record RoleNotFoundErrorData : ICreateApiKeyErrorData, IErrorData + { + public RoleNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? roleId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + RoleId = roleId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? RoleId { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IAuthorizationEventLogPrincipalData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IAuthorizationEventLogSubjectData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface INodeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiKeyData : IAuthorizationEventLogPrincipalData, IAuthorizationEventLogSubjectData, INodeData + { + public ApiKeyData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspace = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Name = name; + Workspace = workspace; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.String? Name { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Workspace { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidationErrorPropertyData + { + public ValidationErrorPropertyData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IAuthorizationEventLogResourceData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IAuthorizationEventLogRealmData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record WorkspaceData : IAuthorizationEventLogResourceData, IAuthorizationEventLogRealmData, INodeData + { + public WorkspaceData(global::System.String __typename, global::System.String? name = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData? apiKeys = default !, global::System.String? id = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? apis = default !, global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData? environments = default !, global::System.Boolean? personal = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Name = name; + ApiKeys = apiKeys; + Id = id; + Apis = apis; + Environments = environments; + Personal = personal; + } + + public global::System.String __typename { get; init; } + public global::System.String? Name { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData? ApiKeys { get; init; } + public global::System.String? Id { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? Apis { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData? Environments { get; init; } + public global::System.Boolean? Personal { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteApiKeyPayloadData + { + public DeleteApiKeyPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? apiKey = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + ApiKey = apiKey; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? ApiKey { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiKeyNotFoundErrorData : IDeleteApiKeyErrorData, IErrorData + { + public ApiKeyNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? apiKeyId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + ApiKeyId = apiKeyId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? ApiKeyId { get; init; } + } + + ///A connection to a list of items. + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiKeysConnectionData + { + public ApiKeysConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } + ///A list of edges. + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + ///Information to aid in pagination. + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + + ///An edge in a connection. + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiKeysEdgeData + { + public ApiKeysEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } + ///A cursor for use in pagination. + public global::System.String? Cursor { get; init; } + ///The item at the end of the edge. + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? Node { get; init; } + } + + ///Information about pagination in a connection. + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PageInfoData + { + public PageInfoData(global::System.String __typename, global::System.Boolean? hasPreviousPage = default !, global::System.Boolean? hasNextPage = default !, global::System.String? endCursor = default !, global::System.String? startCursor = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + HasPreviousPage = hasPreviousPage; + HasNextPage = hasNextPage; + EndCursor = endCursor; + StartCursor = startCursor; + } + + public global::System.String __typename { get; init; } + ///Indicates whether more edges exist prior the set defined by the clients arguments. + public global::System.Boolean? HasPreviousPage { get; init; } + ///Indicates whether more edges exist following the set defined by the clients arguments. + public global::System.Boolean? HasNextPage { get; init; } + ///When paginating forwards, the cursor to continue. + public global::System.String? EndCursor { get; init; } + ///When paginating backwards, the cursor to continue. + public global::System.String? StartCursor { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PushWorkspaceChangesPayloadData + { + public PushWorkspaceChangesPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? changes = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Changes = changes; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record WorkspaceChangePayloadData + { + public WorkspaceChangePayloadData(global::System.String __typename, global::System.String? referenceId = default !, global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? error = default !, global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? result = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + ReferenceId = referenceId; + Error = error; + Result = result; + } + + public global::System.String __typename { get; init; } + public global::System.String? ReferenceId { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? Error { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? Result { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ChangeStructureInvalidData : IPushWorkspaceChangesErrorData, IPushDocumentChangesErrorData, IErrorData + { + public ChangeStructureInvalidData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IWorkspaceChangeErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ChangeValidationFailedData : IWorkspaceChangeErrorData, IErrorData + { + public ChangeValidationFailedData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record HasBeenChangedConflictData : IWorkspaceChangeErrorData, IErrorData + { + public HasBeenChangedConflictData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record HasBeenDeletedConflictData : IWorkspaceChangeErrorData, IErrorData + { + public HasBeenDeletedConflictData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record IdentifierCollisionConflictData : IWorkspaceChangeErrorData, IErrorData + { + public IdentifierCollisionConflictData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UnexpectedErrorOnChangeData : IWorkspaceChangeErrorData, IErrorData + { + public UnexpectedErrorOnChangeData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record WorkspaceNotFoundForChangeData : IWorkspaceChangeErrorData, IErrorData + { + public WorkspaceNotFoundForChangeData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IWorkspaceChangeResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiDocumentData : IWorkspaceChangeResultData, INodeData + { + public ApiDocumentData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IApiKeyReferenceData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiData : IAuthorizationEventLogResourceData, IWorkspaceChangeResultData, IApiKeyReferenceData, INodeData + { + public ApiData(global::System.String __typename, global::System.String? name = default !, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? path = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspace = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData? settings = default !, global::System.String? version = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? clients = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsConnectionData? mcpFeatureCollections = default !, global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? mockSchemas = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? openApiCollections = default !, global::System.Collections.Generic.IReadOnlyList? stages = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Name = name; + Id = id; + Path = path; + Workspace = workspace; + Settings = settings; + Version = version; + Clients = clients; + McpFeatureCollections = mcpFeatureCollections; + MockSchemas = mockSchemas; + OpenApiCollections = openApiCollections; + Stages = stages; + } + + public global::System.String __typename { get; init; } + public global::System.String? Name { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Path { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Workspace { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiSettingsData? Settings { get; init; } + public global::System.String? Version { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientsConnectionData? Clients { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiMcpFeatureCollectionsConnectionData? McpFeatureCollections { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemasConnectionData? MockSchemas { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiOpenApiCollectionsConnectionData? OpenApiCollections { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Stages { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record WorkspaceDocumentData : IWorkspaceChangeResultData, INodeData + { + public WorkspaceDocumentData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record EnvironmentData : IWorkspaceChangeResultData, INodeData + { + public EnvironmentData(global::System.String __typename, global::System.String? name = default !, global::System.String? id = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspace = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Name = name; + Id = id; + Workspace = workspace; + } + + public global::System.String __typename { get; init; } + public global::System.String? Name { get; init; } + public global::System.String? Id { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Workspace { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiSettingsData + { + public ApiSettingsData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData? schemaRegistry = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + SchemaRegistry = schemaRegistry; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData? SchemaRegistry { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaRegistrySettingsData + { + public SchemaRegistrySettingsData(global::System.String __typename, global::System.Boolean? treatDangerousAsBreaking = default !, global::System.Boolean? allowBreakingSchemaChanges = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + TreatDangerousAsBreaking = treatDangerousAsBreaking; + AllowBreakingSchemaChanges = allowBreakingSchemaChanges; + } + + public global::System.String __typename { get; init; } + public global::System.Boolean? TreatDangerousAsBreaking { get; init; } + public global::System.Boolean? AllowBreakingSchemaChanges { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientData : INodeData + { + public ClientData(global::System.String __typename, global::System.String? name = default !, global::System.String? id = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? api = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? versions = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Name = name; + Id = id; + Api = api; + Versions = versions; + } + + public global::System.String __typename { get; init; } + public global::System.String? Name { get; init; } + public global::System.String? Id { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Api { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Versions { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStageChangeLogData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientChangeLogData : IStageChangeLogData, INodeData + { + public ClientChangeLogData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDeploymentData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientDeploymentData : INodeData, IDeploymentData + { + public ClientDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientVersionData : INodeData + { + public ClientVersionData(global::System.String __typename, global::System.String? id = default !, global::System.DateTimeOffset? createdAt = default !, global::System.String? tag = default !, global::System.Collections.Generic.IReadOnlyList? publishedTo = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + CreatedAt = createdAt; + Tag = tag; + PublishedTo = publishedTo; + Client = client; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.DateTimeOffset? CreatedAt { get; init; } + public global::System.String? Tag { get; init; } + public global::System.Collections.Generic.IReadOnlyList? PublishedTo { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CoordinateClientUsageMetricsData : INodeData + { + public CoordinateClientUsageMetricsData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionConfigurationChangeLogData : IStageChangeLogData, INodeData + { + public FusionConfigurationChangeLogData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionConfigurationDeploymentData : INodeData, IDeploymentData + { + public FusionConfigurationDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IGraphQLTypeSystemMemberData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IGraphQLInputValueDefinitionData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLDirectiveArgumentDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLInputValueDefinitionData + { + public GraphQLDirectiveArgumentDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLDirectiveDefinitionData : INodeData, IGraphQLTypeSystemMemberData + { + public GraphQLDirectiveDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLEnumTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData + { + public GraphQLEnumTypeDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLEnumValueDefinitionData : INodeData, IGraphQLTypeSystemMemberData + { + public GraphQLEnumValueDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLInputObjectFieldDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLInputValueDefinitionData + { + public GraphQLInputObjectFieldDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLInputObjectTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData + { + public GraphQLInputObjectTypeDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IGraphQLOutputFieldArgumentDefinitionData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLInterfaceFieldArgumentDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLInputValueDefinitionData, IGraphQLOutputFieldArgumentDefinitionData + { + public GraphQLInterfaceFieldArgumentDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IGraphQLOutputFieldDefinitionData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLInterfaceFieldDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLOutputFieldDefinitionData + { + public GraphQLInterfaceFieldDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLInterfaceTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData + { + public GraphQLInterfaceTypeDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLObjectFieldArgumentDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLInputValueDefinitionData, IGraphQLOutputFieldArgumentDefinitionData + { + public GraphQLObjectFieldArgumentDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLObjectFieldDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLOutputFieldDefinitionData + { + public GraphQLObjectFieldDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLScalarTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData + { + public GraphQLScalarTypeDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLUnionTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData + { + public GraphQLUnionTypeDefinitionData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GroupData : IAuthorizationEventLogPrincipalData, INodeData + { + public GroupData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionData : INodeData + { + public McpFeatureCollectionData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Name = name; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.String? Name { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionChangeLogData : IStageChangeLogData, INodeData + { + public McpFeatureCollectionChangeLogData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionDeploymentData : INodeData, IDeploymentData + { + public McpFeatureCollectionDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionVersionData : INodeData + { + public McpFeatureCollectionVersionData(global::System.String __typename, global::System.String? id = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionData : INodeData + { + public OpenApiCollectionData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Name = name; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.String? Name { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionChangeLogData : IStageChangeLogData, INodeData + { + public OpenApiCollectionChangeLogData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionDeploymentData : INodeData, IDeploymentData + { + public OpenApiCollectionDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionVersionData : INodeData + { + public OpenApiCollectionVersionData(global::System.String __typename, global::System.String? id = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OrganizationData : IAuthorizationEventLogResourceData, IAuthorizationEventLogRealmData, INodeData + { + public OrganizationData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OrganizationMemberData : IAuthorizationEventLogPrincipalData, INodeData + { + public OrganizationMemberData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaChangeLogData : IStageChangeLogData, INodeData + { + public SchemaChangeLogData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaDeploymentData : INodeData, IDeploymentData + { + public SchemaDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record StageData : INodeData + { + public StageData(global::System.String __typename, global::System.String? name = default !, global::System.String? id = default !, global::System.String? displayName = default !, global::System.Collections.Generic.IReadOnlyList? conditions = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData? publishedSchema = default !, global::System.Collections.Generic.IReadOnlyList? publishedClients = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Name = name; + Id = id; + DisplayName = displayName; + Conditions = conditions; + PublishedSchema = publishedSchema; + PublishedClients = publishedClients; + } + + public global::System.String __typename { get; init; } + public global::System.String? Name { get; init; } + public global::System.String? Id { get; init; } + public global::System.String? DisplayName { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Conditions { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData? PublishedSchema { get; init; } + public global::System.Collections.Generic.IReadOnlyList? PublishedClients { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UserData : IAuthorizationEventLogRealmData, IAuthorizationEventLogSubjectData, INodeData + { + public UserData(global::System.String __typename) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + } + + public global::System.String __typename { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteApiByIdPayloadData + { + public DeleteApiByIdPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? api = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Api = api; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Api { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiDeletionFailedErrorData : IDeleteApiByIdErrorData, IErrorData + { + public ApiDeletionFailedErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record MockSchemasConnectionData - { - public MockSchemasConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApisConnectionData + { + public ApisConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record MockSchemasEdgeData - { - public MockSchemasEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApisEdgeData + { + public ApisEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? Node { get; init; } - } - - ///Information about pagination in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PageInfoData - { - public PageInfoData(global::System.String __typename, global::System.Boolean? hasPreviousPage = default !, global::System.Boolean? hasNextPage = default !, global::System.String? endCursor = default !, global::System.String? startCursor = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - HasPreviousPage = hasPreviousPage; - HasNextPage = hasNextPage; - EndCursor = endCursor; - StartCursor = startCursor; - } - - public global::System.String __typename { get; init; } - ///Indicates whether more edges exist prior the set defined by the clients arguments. - public global::System.Boolean? HasPreviousPage { get; init; } - ///Indicates whether more edges exist following the set defined by the clients arguments. - public global::System.Boolean? HasNextPage { get; init; } - ///When paginating forwards, the cursor to continue. - public global::System.String? EndCursor { get; init; } - ///When paginating backwards, the cursor to continue. - public global::System.String? StartCursor { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiDocumentData : IWorkspaceChangeResultData, INodeData - { - public ApiDocumentData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IAuthorizationEventLogSubjectData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiKeyData : IAuthorizationEventLogPrincipalData, IAuthorizationEventLogSubjectData, INodeData - { - public ApiKeyData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspace = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Name = name; - Workspace = workspace; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.String? Name { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Workspace { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientData : INodeData - { - public ClientData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? api = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? versions = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Name = name; - Api = api; - Versions = versions; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.String? Name { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Api { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionConnectionData? Versions { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStageChangeLogData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientChangeLogData : IStageChangeLogData, INodeData - { - public ClientChangeLogData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDeploymentData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientDeploymentData : INodeData, IDeploymentData - { - public ClientDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientVersionData : INodeData - { - public ClientVersionData(global::System.String __typename, global::System.String? id = default !, global::System.DateTimeOffset? createdAt = default !, global::System.String? tag = default !, global::System.Collections.Generic.IReadOnlyList? publishedTo = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - CreatedAt = createdAt; - Tag = tag; - PublishedTo = publishedTo; - Client = client; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.DateTimeOffset? CreatedAt { get; init; } - public global::System.String? Tag { get; init; } - public global::System.Collections.Generic.IReadOnlyList? PublishedTo { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CoordinateClientUsageMetricsData : INodeData - { - public CoordinateClientUsageMetricsData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record EnvironmentData : IWorkspaceChangeResultData, INodeData - { - public EnvironmentData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspace = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Name = name; - Workspace = workspace; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.String? Name { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Workspace { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionConfigurationChangeLogData : IStageChangeLogData, INodeData - { - public FusionConfigurationChangeLogData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionConfigurationDeploymentData : INodeData, IDeploymentData - { - public FusionConfigurationDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IGraphQLTypeSystemMemberData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IGraphQLInputValueDefinitionData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLDirectiveArgumentDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLInputValueDefinitionData - { - public GraphQLDirectiveArgumentDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLDirectiveDefinitionData : INodeData, IGraphQLTypeSystemMemberData - { - public GraphQLDirectiveDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLEnumTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData - { - public GraphQLEnumTypeDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLEnumValueDefinitionData : INodeData, IGraphQLTypeSystemMemberData - { - public GraphQLEnumValueDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLInputObjectFieldDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLInputValueDefinitionData - { - public GraphQLInputObjectFieldDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLInputObjectTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData - { - public GraphQLInputObjectTypeDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IGraphQLOutputFieldArgumentDefinitionData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLInterfaceFieldArgumentDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLInputValueDefinitionData, IGraphQLOutputFieldArgumentDefinitionData - { - public GraphQLInterfaceFieldArgumentDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IGraphQLOutputFieldDefinitionData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLInterfaceFieldDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLOutputFieldDefinitionData - { - public GraphQLInterfaceFieldDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLInterfaceTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData - { - public GraphQLInterfaceTypeDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLObjectFieldArgumentDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLInputValueDefinitionData, IGraphQLOutputFieldArgumentDefinitionData - { - public GraphQLObjectFieldArgumentDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLObjectFieldDefinitionData : INodeData, IGraphQLTypeSystemMemberData, IGraphQLOutputFieldDefinitionData - { - public GraphQLObjectFieldDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLScalarTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData - { - public GraphQLScalarTypeDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLUnionTypeDefinitionData : INodeData, IGraphQLTypeSystemMemberData - { - public GraphQLUnionTypeDefinitionData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GroupData : IAuthorizationEventLogPrincipalData, INodeData - { - public GroupData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionData : INodeData - { - public OpenApiCollectionData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Name = name; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.String? Name { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionChangeLogData : IStageChangeLogData, INodeData - { - public OpenApiCollectionChangeLogData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionDeploymentData : INodeData, IDeploymentData - { - public OpenApiCollectionDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionVersionData : INodeData - { - public OpenApiCollectionVersionData(global::System.String __typename, global::System.String? id = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IAuthorizationEventLogRealmData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OrganizationData : IAuthorizationEventLogResourceData, IAuthorizationEventLogRealmData, INodeData - { - public OrganizationData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OrganizationMemberData : IAuthorizationEventLogPrincipalData, INodeData - { - public OrganizationMemberData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaChangeLogData : IStageChangeLogData, INodeData - { - public SchemaChangeLogData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaDeploymentData : INodeData, IDeploymentData - { - public SchemaDeploymentData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record StageData : INodeData - { - public StageData(global::System.String __typename, global::System.String? name = default !, global::System.String? id = default !, global::System.String? displayName = default !, global::System.Collections.Generic.IReadOnlyList? conditions = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData? publishedSchema = default !, global::System.Collections.Generic.IReadOnlyList? publishedClients = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Name = name; - Id = id; - DisplayName = displayName; - Conditions = conditions; - PublishedSchema = publishedSchema; - PublishedClients = publishedClients; - } - - public global::System.String __typename { get; init; } - public global::System.String? Name { get; init; } - public global::System.String? Id { get; init; } - public global::System.String? DisplayName { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Conditions { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.PublishedSchemaVersionData? PublishedSchema { get; init; } - public global::System.Collections.Generic.IReadOnlyList? PublishedClients { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UserData : IAuthorizationEventLogRealmData, IAuthorizationEventLogSubjectData, INodeData - { - public UserData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record WorkspaceData : IAuthorizationEventLogResourceData, IAuthorizationEventLogRealmData, INodeData - { - public WorkspaceData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? apis = default !, global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData? environments = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData? apiKeys = default !, global::System.Boolean? personal = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Name = name; - Apis = apis; - Environments = environments; - ApiKeys = apiKeys; - Personal = personal; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.String? Name { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApisConnectionData? Apis { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentsConnectionData? Environments { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeysConnectionData? ApiKeys { get; init; } - public global::System.Boolean? Personal { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record WorkspaceDocumentData : IWorkspaceChangeResultData, INodeData - { - public WorkspaceDocumentData(global::System.String __typename) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - } - - public global::System.String __typename { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UpdateApiSettingsPayloadData + { + public UpdateApiSettingsPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? api = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Api = api; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Api { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateClientPayloadData + { + public CreateClientPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Client = client; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientVersionConnectionData - { - public ClientVersionConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientVersionConnectionData + { + public ClientVersionConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientVersionEdgeData - { - public ClientVersionEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientVersionEdgeData + { + public ClientVersionEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Node { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishedClientVersionData - { - public PublishedClientVersionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.StageData? stage = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? version = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Stage = stage; - Version = version; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Stage { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Version { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UnpublishClientPayloadData - { - public UnpublishClientPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? clientVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - ClientVersion = clientVersion; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? ClientVersion { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record StageNotFoundErrorData : IValidateOpenApiCollectionErrorData, IBeginFusionConfigurationPublishErrorData, IValidateClientErrorData, IUnpublishClientErrorData, IPublishOpenApiCollectionErrorData, IValidateSchemaErrorData, IUpdateStagesErrorData, IPublishClientErrorData, IPublishSchemaErrorData, IErrorData - { - public StageNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? name = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Name = name; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? Name { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientNotFoundErrorData : IUploadClientErrorData, IValidateClientErrorData, IUnpublishClientErrorData, IDeleteClientByIdErrorData, IPublishClientErrorData, IErrorData - { - public ClientNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? clientId = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - ClientId = clientId; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? ClientId { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientVersionNotFoundErrorData : IUnpublishClientErrorData, IPublishClientErrorData, IErrorData - { - public ClientVersionNotFoundErrorData(global::System.String __typename, global::System.String? tag = default !, global::System.String? message = default !, global::System.String? clientId = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Tag = tag; - Message = message; - ClientId = clientId; - } - - public global::System.String __typename { get; init; } - public global::System.String? Tag { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? ClientId { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UploadClientPayloadData - { - public UploadClientPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? clientVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - ClientVersion = clientVersion; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? ClientVersion { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InvalidPersistedQueryErrorData : IUploadClientErrorData, IErrorData - { - public InvalidPersistedQueryErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidateClientPayloadData - { - public ValidateClientPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionValidationResultData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientVersionValidationFailedData : IClientVersionValidationResultData - { - public ClientVersionValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientVersionValidationSuccessData : IClientVersionValidationResultData - { - public ClientVersionValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionValidationResultData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionPublishResultData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionPublishResultData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationPublishingResultData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionPublishResultData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionValidationResultData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OperationInProgressData : ISchemaVersionValidationResultData, ISchemaVersionPublishResultData, IClientVersionValidationResultData, IClientVersionPublishResultData, IFusionConfigurationPublishingResultData, IOpenApiCollectionVersionPublishResultData, IOpenApiCollectionVersionValidationResultData - { - public OperationInProgressData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidationInProgressData : IFusionConfigurationPublishingResultData, IClientVersionValidationResultData, ISchemaVersionValidationResultData, IOpenApiCollectionVersionValidationResultData - { - public ValidationInProgressData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaDeploymentErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientDeploymentErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationDeploymentErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IClientVersionValidationErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaVersionValidationErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFusionConfigurationValidationErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersistedQueryValidationErrorData : ISchemaDeploymentErrorData, IClientDeploymentErrorData, IFusionConfigurationDeploymentErrorData, IClientVersionPublishErrorData, IClientVersionValidationErrorData, ISchemaVersionPublishErrorData, ISchemaVersionValidationErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData - { - public PersistedQueryValidationErrorData(global::System.String __typename, global::System.String? message = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !, global::System.Collections.Generic.IReadOnlyList? queries = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Client = client; - Queries = queries; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Queries { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionVersionValidationErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ProcessingTimeoutErrorData : ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IClientVersionValidationErrorData, IClientVersionPublishErrorData, IFusionConfigurationPublishingErrorData, IOpenApiCollectionVersionPublishErrorData, IOpenApiCollectionVersionValidationErrorData, IProcessingErrorData - { - public ProcessingTimeoutErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ReadyTimeoutErrorData : IClientVersionPublishErrorData, IClientVersionValidationErrorData, ISchemaVersionPublishErrorData, ISchemaVersionValidationErrorData, IFusionConfigurationPublishingErrorData, IOpenApiCollectionVersionPublishErrorData, IOpenApiCollectionVersionValidationErrorData, IProcessingErrorData - { - public ReadyTimeoutErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UnexpectedProcessingErrorData : ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IClientVersionValidationErrorData, IClientVersionPublishErrorData, IFusionConfigurationPublishingErrorData, IFusionConfigurationValidationErrorData, IOpenApiCollectionVersionPublishErrorData, IOpenApiCollectionVersionValidationErrorData, IProcessingErrorData - { - public UnexpectedProcessingErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersistedQueryValidationFailedData - { - public PersistedQueryValidationFailedData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? deployedTags = default !, global::System.String? message = default !, global::System.String? hash = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - DeployedTags = deployedTags; - Message = message; - Hash = hash; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? DeployedTags { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? Hash { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersistedQueryErrorData - { - public PersistedQueryErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? code = default !, global::System.String? path = default !, global::System.Collections.Generic.IReadOnlyList? locations = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Code = code; - Path = path; - Locations = locations; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? Code { get; init; } - public global::System.String? Path { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersistedQueryErrorLocationData - { - public PersistedQueryErrorLocationData(global::System.String __typename, global::System.Int32? column = default !, global::System.Int32? line = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Column = column; - Line = line; - } - - public global::System.String __typename { get; init; } - public global::System.Int32? Column { get; init; } - public global::System.Int32? Line { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DeleteClientByIdPayloadData - { - public DeleteClientByIdPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Client = client; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishClientPayloadData - { - public PublishClientPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientVersionPublishFailedData : IClientVersionPublishResultData - { - public ClientVersionPublishFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientVersionPublishSuccessData : IClientVersionPublishResultData - { - public ClientVersionPublishSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ProcessingTaskApprovedData : ISchemaVersionPublishResultData, IClientVersionPublishResultData, IFusionConfigurationPublishingResultData, IOpenApiCollectionVersionPublishResultData - { - public ProcessingTaskApprovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ProcessingTaskIsQueuedData : IFusionConfigurationPublishingResultData, IClientVersionPublishResultData, ISchemaVersionPublishResultData, IOpenApiCollectionVersionPublishResultData - { - public ProcessingTaskIsQueuedData(global::System.String __typename, global::System.String? queued = default !, global::System.Int32? queuePosition = default !, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Queued = queued; - QueuePosition = queuePosition; - State = state; - } - - public global::System.String __typename { get; init; } - ///The name of the current Object type at runtime. - public global::System.String? Queued { get; init; } - public global::System.Int32? QueuePosition { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ProcessingTaskIsReadyData : IFusionConfigurationPublishingResultData, IClientVersionPublishResultData, ISchemaVersionPublishResultData, IOpenApiCollectionVersionPublishResultData - { - public ProcessingTaskIsReadyData(global::System.String __typename, global::System.String? ready = default !, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Ready = ready; - State = state; - } - - public global::System.String __typename { get; init; } - ///The name of the current Object type at runtime. - public global::System.String? Ready { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record WaitForApprovalData : ISchemaVersionPublishResultData, IClientVersionPublishResultData, IFusionConfigurationPublishingResultData, IOpenApiCollectionVersionPublishResultData - { - public WaitForApprovalData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? deployment = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Deployment = deployment; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deployment { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaChangeViolationErrorData : ISchemaDeploymentErrorData, IFusionConfigurationDeploymentErrorData - { - public SchemaChangeViolationErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InvalidGraphQLSchemaErrorData : ISchemaDeploymentErrorData, IFusionConfigurationDeploymentErrorData, ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IFusionConfigurationPublishingErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData - { - public InvalidGraphQLSchemaErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionDeploymentErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionValidationErrorData : ISchemaDeploymentErrorData, IOpenApiCollectionDeploymentErrorData, IFusionConfigurationDeploymentErrorData, IOpenApiCollectionVersionPublishErrorData, IOpenApiCollectionVersionValidationErrorData, ISchemaVersionPublishErrorData, ISchemaVersionValidationErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData - { - public OpenApiCollectionValidationErrorData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? collections = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Collections = collections; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Collections { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OperationsAreNotAllowedErrorData : ISchemaDeploymentErrorData, ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IProcessingErrorData - { - public OperationsAreNotAllowedErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaVersionSyntaxErrorData : ISchemaDeploymentErrorData, ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IProcessingErrorData - { - public SchemaVersionSyntaxErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Int32? column = default !, global::System.Int32? position = default !, global::System.Int32? line = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Column = column; - Position = position; - Line = line; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.Int32? Column { get; init; } - public global::System.Int32? Position { get; init; } - public global::System.Int32? Line { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaChangeLogEntryData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DirectiveModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public DirectiveModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record EnumModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public EnumModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InputObjectModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public InputObjectModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InterfaceModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public InterfaceModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ObjectModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public ObjectModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ScalarModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public ScalarModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record TypeSystemMemberAddedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public TypeSystemMemberAddedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record TypeSystemMemberModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public TypeSystemMemberModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record TypeSystemMemberRemovedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public TypeSystemMemberRemovedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UnionModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData - { - public UnionModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record GraphQLSchemaErrorData - { - public GraphQLSchemaErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? code = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Code = code; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? Code { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionValidationCollectionData - { - public OpenApiCollectionValidationCollectionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? openApiCollection = default !, global::System.Collections.Generic.IReadOnlyList? entities = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - OpenApiCollection = openApiCollection; - Entities = entities; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? OpenApiCollection { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Entities { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface ISchemaMemberChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IDirectiveChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOutputFieldChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IFieldChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ArgumentAddedData : ISchemaMemberChangeData, IDirectiveChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData - { - public ArgumentAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? name = default !, global::System.String? typeName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.String? Name { get; init; } - public global::System.String? TypeName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ArgumentChangedData : ISchemaMemberChangeData, IDirectiveChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData - { - public ArgumentChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? name = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Name = name; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.String? Name { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ArgumentRemovedData : ISchemaMemberChangeData, IDirectiveChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData - { - public ArgumentRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? name = default !, global::System.String? typeName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Name = name; - TypeName = typeName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.String? Name { get; init; } - public global::System.String? TypeName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IEnumChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IObjectChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IEnumValueChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IUnionChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInterfaceChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IArgumentChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IScalarChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInputFieldChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IInputObjectChangeData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DescriptionChangedData : IEnumChangeData, IObjectChangeData, IEnumValueChangeData, IUnionChangeData, IInterfaceChangeData, ISchemaMemberChangeData, IArgumentChangeData, IDirectiveChangeData, IScalarChangeData, IInputFieldChangeData, IInputObjectChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData - { - public DescriptionChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? old = default !, global::System.String? @new = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Old = old; - New = @new; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Old { get; init; } - public global::System.String? New { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DirectiveLocationAddedData : ISchemaMemberChangeData, IDirectiveChangeData, ISchemaChangeData - { - public DirectiveLocationAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation? location = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Location = location; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation? Location { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DirectiveLocationRemovedData : ISchemaMemberChangeData, IDirectiveChangeData, ISchemaChangeData - { - public DirectiveLocationRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation? location = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Location = location; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation? Location { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record EnumValueAddedData : IEnumChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public EnumValueAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record EnumValueChangedData : IEnumChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public EnumValueChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record EnumValueRemovedData : IEnumChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public EnumValueRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FieldAddedChangeData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, IInputObjectChangeData, ISchemaChangeData - { - public FieldAddedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? typeName = default !, global::System.String? fieldName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.String? TypeName { get; init; } - public global::System.String? FieldName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FieldRemovedChangeData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, IInputObjectChangeData, ISchemaChangeData - { - public FieldRemovedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? typeName = default !, global::System.String? fieldName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - TypeName = typeName; - FieldName = fieldName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.String? TypeName { get; init; } - public global::System.String? FieldName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InputFieldChangedData : ISchemaMemberChangeData, IInputObjectChangeData, ISchemaChangeData - { - public InputFieldChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? fieldName = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.String? FieldName { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InterfaceImplementationAddedData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public InterfaceImplementationAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? interfaceName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - InterfaceName = interfaceName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? InterfaceName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InterfaceImplementationRemovedData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public InterfaceImplementationRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? interfaceName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - InterfaceName = interfaceName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? InterfaceName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OutputFieldChangedData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public OutputFieldChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? fieldName = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - Coordinate = coordinate; - FieldName = fieldName; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? Coordinate { get; init; } - public global::System.String? FieldName { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PossibleTypeAddedData : IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public PossibleTypeAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? typeName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - TypeName = typeName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? TypeName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PossibleTypeRemovedData : IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public PossibleTypeRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? typeName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - TypeName = typeName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? TypeName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UnionMemberAddedData : IUnionChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public UnionMemberAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? typeName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - TypeName = typeName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? TypeName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UnionMemberRemovedData : IUnionChangeData, ISchemaMemberChangeData, ISchemaChangeData - { - public UnionMemberRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? typeName = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - TypeName = typeName; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? TypeName { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionValidationEntityData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionValidationEndpointData : IOpenApiCollectionValidationEntityData - { - public OpenApiCollectionValidationEndpointData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !, global::System.String? httpMethod = default !, global::System.String? route = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - HttpMethod = httpMethod; - Route = route; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - public global::System.String? HttpMethod { get; init; } - public global::System.String? Route { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionValidationModelData : IOpenApiCollectionValidationEntityData - { - public OpenApiCollectionValidationModelData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !, global::System.String? name = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - Name = name; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - public global::System.String? Name { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DeprecatedChangeData : IEnumValueChangeData, IArgumentChangeData, IInputFieldChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData - { - public DeprecatedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? deprecationReason = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - DeprecationReason = deprecationReason; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? DeprecationReason { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record TypeChangedData : IArgumentChangeData, IInputFieldChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData - { - public TypeChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? oldType = default !, global::System.String? newType = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Severity = severity; - OldType = oldType; - NewType = newType; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } - public global::System.String? OldType { get; init; } - public global::System.String? NewType { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IOpenApiCollectionValidationEntityErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionValidationDocumentErrorData : IOpenApiCollectionValidationEntityErrorData - { - public OpenApiCollectionValidationDocumentErrorData(global::System.String __typename, global::System.String? code = default !, global::System.String? message = default !, global::System.String? path = default !, global::System.Collections.Generic.IReadOnlyList? locations = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Code = code; - Message = message; - Path = path; - Locations = locations; - } - - public global::System.String __typename { get; init; } - public global::System.String? Code { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? Path { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Locations { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionValidationEntityValidationErrorData : IOpenApiCollectionValidationEntityErrorData - { - public OpenApiCollectionValidationEntityValidationErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionValidationDocumentErrorLocationData - { - public OpenApiCollectionValidationDocumentErrorLocationData(global::System.String __typename, global::System.Int32? column = default !, global::System.Int32? line = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Column = column; - Line = line; - } - - public global::System.String __typename { get; init; } - public global::System.Int32? Column { get; init; } - public global::System.Int32? Line { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishedClientVersionData + { + public PublishedClientVersionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.StageData? stage = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? version = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Stage = stage; + Version = version; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.StageData? Stage { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? Version { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteClientByIdPayloadData + { + public DeleteClientByIdPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Client = client; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientNotFoundErrorData : IUploadClientErrorData, IValidateClientErrorData, IUnpublishClientErrorData, IDeleteClientByIdErrorData, IPublishClientErrorData, IErrorData + { + public ClientNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? clientId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + ClientId = clientId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? ClientId { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientsConnectionData - { - public ClientsConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientsConnectionData + { + public ClientsConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ClientsEdgeData - { - public ClientsEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientsEdgeData + { + public ClientsEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Node { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateClientPayloadData - { - public CreateClientPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Client = client; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiSettingsData - { - public ApiSettingsData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData? schemaRegistry = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - SchemaRegistry = schemaRegistry; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.SchemaRegistrySettingsData? SchemaRegistry { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaRegistrySettingsData - { - public SchemaRegistrySettingsData(global::System.String __typename, global::System.Boolean? treatDangerousAsBreaking = default !, global::System.Boolean? allowBreakingSchemaChanges = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - TreatDangerousAsBreaking = treatDangerousAsBreaking; - AllowBreakingSchemaChanges = allowBreakingSchemaChanges; - } - - public global::System.String __typename { get; init; } - public global::System.Boolean? TreatDangerousAsBreaking { get; init; } - public global::System.Boolean? AllowBreakingSchemaChanges { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DeleteApiByIdPayloadData - { - public DeleteApiByIdPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? api = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Api = api; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Api { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiDeletionFailedErrorData : IDeleteApiByIdErrorData, IErrorData - { - public ApiDeletionFailedErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishClientPayloadData + { + public PublishClientPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record StageNotFoundErrorData : IPublishMcpFeatureCollectionErrorData, IValidateOpenApiCollectionErrorData, IBeginFusionConfigurationPublishErrorData, IValidateMcpFeatureCollectionErrorData, IValidateClientErrorData, IUnpublishClientErrorData, IPublishOpenApiCollectionErrorData, IValidateSchemaErrorData, IUpdateStagesErrorData, IPublishClientErrorData, IPublishSchemaErrorData, IErrorData + { + public StageNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? name = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Name = name; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? Name { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientVersionNotFoundErrorData : IUnpublishClientErrorData, IPublishClientErrorData, IErrorData + { + public ClientVersionNotFoundErrorData(global::System.String __typename, global::System.String? tag = default !, global::System.String? message = default !, global::System.String? clientId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Tag = tag; + Message = message; + ClientId = clientId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Tag { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? ClientId { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionPublishResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientVersionPublishFailedData : IClientVersionPublishResultData + { + public ClientVersionPublishFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientVersionPublishSuccessData : IClientVersionPublishResultData + { + public ClientVersionPublishSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionValidationResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionPublishResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionValidationResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationPublishingResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionPublishResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionValidationResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionPublishResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionValidationResultData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OperationInProgressData : ISchemaVersionValidationResultData, ISchemaVersionPublishResultData, IClientVersionValidationResultData, IClientVersionPublishResultData, IFusionConfigurationPublishingResultData, IOpenApiCollectionVersionPublishResultData, IOpenApiCollectionVersionValidationResultData, IMcpFeatureCollectionVersionPublishResultData, IMcpFeatureCollectionVersionValidationResultData + { + public OperationInProgressData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ProcessingTaskApprovedData : ISchemaVersionPublishResultData, IClientVersionPublishResultData, IFusionConfigurationPublishingResultData, IOpenApiCollectionVersionPublishResultData, IMcpFeatureCollectionVersionPublishResultData + { + public ProcessingTaskApprovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ProcessingTaskIsQueuedData : IFusionConfigurationPublishingResultData, IClientVersionPublishResultData, ISchemaVersionPublishResultData, IOpenApiCollectionVersionPublishResultData, IMcpFeatureCollectionVersionPublishResultData + { + public ProcessingTaskIsQueuedData(global::System.String __typename, global::System.String? queued = default !, global::System.Int32? queuePosition = default !, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Queued = queued; + QueuePosition = queuePosition; + State = state; + } + + public global::System.String __typename { get; init; } + ///The name of the current Object type at runtime. + public global::System.String? Queued { get; init; } + public global::System.Int32? QueuePosition { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ProcessingTaskIsReadyData : IFusionConfigurationPublishingResultData, IClientVersionPublishResultData, ISchemaVersionPublishResultData, IOpenApiCollectionVersionPublishResultData, IMcpFeatureCollectionVersionPublishResultData + { + public ProcessingTaskIsReadyData(global::System.String __typename, global::System.String? ready = default !, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Ready = ready; + State = state; + } + + public global::System.String __typename { get; init; } + ///The name of the current Object type at runtime. + public global::System.String? Ready { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record WaitForApprovalData : ISchemaVersionPublishResultData, IClientVersionPublishResultData, IFusionConfigurationPublishingResultData, IOpenApiCollectionVersionPublishResultData, IMcpFeatureCollectionVersionPublishResultData + { + public WaitForApprovalData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? deployment = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Deployment = deployment; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.IDeploymentData? Deployment { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionPublishErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionPublishErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationPublishingErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionPublishErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionPublishErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IProcessingErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ConcurrentOperationErrorData : IUploadFusionSubgraphErrorData, IUploadClientErrorData, IUploadMcpFeatureCollectionErrorData, IUploadSchemaErrorData, IUnpublishClientErrorData, IUploadOpenApiCollectionErrorData, IErrorData, ISchemaVersionPublishErrorData, IClientVersionPublishErrorData, IFusionConfigurationPublishingErrorData, IOpenApiCollectionVersionPublishErrorData, IMcpFeatureCollectionVersionPublishErrorData, IProcessingErrorData + { + public ConcurrentOperationErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaDeploymentErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientDeploymentErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationDeploymentErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IClientVersionValidationErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaVersionValidationErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFusionConfigurationValidationErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersistedQueryValidationErrorData : ISchemaDeploymentErrorData, IClientDeploymentErrorData, IFusionConfigurationDeploymentErrorData, IClientVersionPublishErrorData, IClientVersionValidationErrorData, ISchemaVersionPublishErrorData, ISchemaVersionValidationErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData + { + public PersistedQueryValidationErrorData(global::System.String __typename, global::System.String? message = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !, global::System.Collections.Generic.IReadOnlyList? queries = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Client = client; + Queries = queries; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Queries { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionVersionValidationErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionVersionValidationErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ProcessingTimeoutErrorData : ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IClientVersionValidationErrorData, IClientVersionPublishErrorData, IFusionConfigurationPublishingErrorData, IOpenApiCollectionVersionPublishErrorData, IOpenApiCollectionVersionValidationErrorData, IMcpFeatureCollectionVersionPublishErrorData, IMcpFeatureCollectionVersionValidationErrorData, IProcessingErrorData + { + public ProcessingTimeoutErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ReadyTimeoutErrorData : IClientVersionPublishErrorData, IClientVersionValidationErrorData, ISchemaVersionPublishErrorData, ISchemaVersionValidationErrorData, IFusionConfigurationPublishingErrorData, IOpenApiCollectionVersionPublishErrorData, IOpenApiCollectionVersionValidationErrorData, IMcpFeatureCollectionVersionPublishErrorData, IMcpFeatureCollectionVersionValidationErrorData, IProcessingErrorData + { + public ReadyTimeoutErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UnexpectedProcessingErrorData : ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IClientVersionValidationErrorData, IClientVersionPublishErrorData, IFusionConfigurationPublishingErrorData, IFusionConfigurationValidationErrorData, IOpenApiCollectionVersionPublishErrorData, IOpenApiCollectionVersionValidationErrorData, IMcpFeatureCollectionVersionPublishErrorData, IMcpFeatureCollectionVersionValidationErrorData, IProcessingErrorData + { + public UnexpectedProcessingErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersistedQueryValidationFailedData + { + public PersistedQueryValidationFailedData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? deployedTags = default !, global::System.String? message = default !, global::System.String? hash = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + DeployedTags = deployedTags; + Message = message; + Hash = hash; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? DeployedTags { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? Hash { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaChangeViolationErrorData : ISchemaDeploymentErrorData, IFusionConfigurationDeploymentErrorData + { + public SchemaChangeViolationErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InvalidGraphQLSchemaErrorData : ISchemaDeploymentErrorData, IFusionConfigurationDeploymentErrorData, ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IFusionConfigurationPublishingErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData + { + public InvalidGraphQLSchemaErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionDeploymentErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionValidationErrorData : ISchemaDeploymentErrorData, IOpenApiCollectionDeploymentErrorData, IFusionConfigurationDeploymentErrorData, IOpenApiCollectionVersionPublishErrorData, IOpenApiCollectionVersionValidationErrorData, ISchemaVersionPublishErrorData, ISchemaVersionValidationErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData + { + public OpenApiCollectionValidationErrorData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? collections = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Collections = collections; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Collections { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionDeploymentErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionValidationErrorData : ISchemaDeploymentErrorData, IMcpFeatureCollectionDeploymentErrorData, IFusionConfigurationDeploymentErrorData, IMcpFeatureCollectionVersionPublishErrorData, IMcpFeatureCollectionVersionValidationErrorData, ISchemaVersionPublishErrorData, ISchemaVersionValidationErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData + { + public McpFeatureCollectionValidationErrorData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? collections = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Collections = collections; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Collections { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OperationsAreNotAllowedErrorData : ISchemaDeploymentErrorData, ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IProcessingErrorData + { + public OperationsAreNotAllowedErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaVersionSyntaxErrorData : ISchemaDeploymentErrorData, ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IProcessingErrorData + { + public SchemaVersionSyntaxErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Int32? column = default !, global::System.Int32? position = default !, global::System.Int32? line = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Column = column; + Position = position; + Line = line; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.Int32? Column { get; init; } + public global::System.Int32? Position { get; init; } + public global::System.Int32? Line { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersistedQueryErrorData + { + public PersistedQueryErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? code = default !, global::System.String? path = default !, global::System.Collections.Generic.IReadOnlyList? locations = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Code = code; + Path = path; + Locations = locations; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? Code { get; init; } + public global::System.String? Path { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaChangeLogEntryData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DirectiveModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public DirectiveModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record EnumModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public EnumModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InputObjectModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public InputObjectModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InterfaceModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public InterfaceModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ObjectModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public ObjectModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ScalarModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public ScalarModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record TypeSystemMemberAddedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public TypeSystemMemberAddedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record TypeSystemMemberModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public TypeSystemMemberModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record TypeSystemMemberRemovedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public TypeSystemMemberRemovedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UnionModifiedChangeData : ISchemaChangeLogEntryData, ISchemaChangeData + { + public UnionModifiedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record GraphQLSchemaErrorData + { + public GraphQLSchemaErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? code = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Code = code; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? Code { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionValidationCollectionData + { + public OpenApiCollectionValidationCollectionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? openApiCollection = default !, global::System.Collections.Generic.IReadOnlyList? entities = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + OpenApiCollection = openApiCollection; + Entities = entities; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? OpenApiCollection { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Entities { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionValidationCollectionData + { + public McpFeatureCollectionValidationCollectionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? mcpFeatureCollection = default !, global::System.Collections.Generic.IReadOnlyList? entities = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + McpFeatureCollection = mcpFeatureCollection; + Entities = entities; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? McpFeatureCollection { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Entities { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersistedQueryErrorLocationData + { + public PersistedQueryErrorLocationData(global::System.String __typename, global::System.Int32? column = default !, global::System.Int32? line = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Column = column; + Line = line; + } + + public global::System.String __typename { get; init; } + public global::System.Int32? Column { get; init; } + public global::System.Int32? Line { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface ISchemaMemberChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IDirectiveChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOutputFieldChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IFieldChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ArgumentAddedData : ISchemaMemberChangeData, IDirectiveChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData + { + public ArgumentAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? name = default !, global::System.String? typeName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.String? Name { get; init; } + public global::System.String? TypeName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ArgumentChangedData : ISchemaMemberChangeData, IDirectiveChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData + { + public ArgumentChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? name = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Name = name; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.String? Name { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ArgumentRemovedData : ISchemaMemberChangeData, IDirectiveChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData + { + public ArgumentRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? name = default !, global::System.String? typeName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Name = name; + TypeName = typeName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.String? Name { get; init; } + public global::System.String? TypeName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IEnumChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IObjectChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IEnumValueChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IUnionChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInterfaceChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IArgumentChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IScalarChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInputFieldChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IInputObjectChangeData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DescriptionChangedData : IEnumChangeData, IObjectChangeData, IEnumValueChangeData, IUnionChangeData, IInterfaceChangeData, ISchemaMemberChangeData, IArgumentChangeData, IDirectiveChangeData, IScalarChangeData, IInputFieldChangeData, IInputObjectChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData + { + public DescriptionChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? old = default !, global::System.String? @new = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Old = old; + New = @new; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Old { get; init; } + public global::System.String? New { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DirectiveLocationAddedData : ISchemaMemberChangeData, IDirectiveChangeData, ISchemaChangeData + { + public DirectiveLocationAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation? location = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Location = location; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation? Location { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DirectiveLocationRemovedData : ISchemaMemberChangeData, IDirectiveChangeData, ISchemaChangeData + { + public DirectiveLocationRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation? location = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Location = location; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.DirectiveLocation? Location { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record EnumValueAddedData : IEnumChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public EnumValueAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record EnumValueChangedData : IEnumChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public EnumValueChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record EnumValueRemovedData : IEnumChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public EnumValueRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FieldAddedChangeData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, IInputObjectChangeData, ISchemaChangeData + { + public FieldAddedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? typeName = default !, global::System.String? fieldName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.String? TypeName { get; init; } + public global::System.String? FieldName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FieldRemovedChangeData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, IInputObjectChangeData, ISchemaChangeData + { + public FieldRemovedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? typeName = default !, global::System.String? fieldName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + TypeName = typeName; + FieldName = fieldName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.String? TypeName { get; init; } + public global::System.String? FieldName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InputFieldChangedData : ISchemaMemberChangeData, IInputObjectChangeData, ISchemaChangeData + { + public InputFieldChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? fieldName = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.String? FieldName { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InterfaceImplementationAddedData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public InterfaceImplementationAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? interfaceName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + InterfaceName = interfaceName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? InterfaceName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InterfaceImplementationRemovedData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public InterfaceImplementationRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? interfaceName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + InterfaceName = interfaceName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? InterfaceName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OutputFieldChangedData : IObjectChangeData, IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public OutputFieldChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? coordinate = default !, global::System.String? fieldName = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + Coordinate = coordinate; + FieldName = fieldName; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? Coordinate { get; init; } + public global::System.String? FieldName { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PossibleTypeAddedData : IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public PossibleTypeAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? typeName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + TypeName = typeName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? TypeName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PossibleTypeRemovedData : IInterfaceChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public PossibleTypeRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? typeName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + TypeName = typeName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? TypeName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UnionMemberAddedData : IUnionChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public UnionMemberAddedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? typeName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + TypeName = typeName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? TypeName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UnionMemberRemovedData : IUnionChangeData, ISchemaMemberChangeData, ISchemaChangeData + { + public UnionMemberRemovedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? typeName = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + TypeName = typeName; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? TypeName { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionValidationEntityData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionValidationEndpointData : IOpenApiCollectionValidationEntityData + { + public OpenApiCollectionValidationEndpointData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !, global::System.String? httpMethod = default !, global::System.String? route = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + HttpMethod = httpMethod; + Route = route; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + public global::System.String? HttpMethod { get; init; } + public global::System.String? Route { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionValidationModelData : IOpenApiCollectionValidationEntityData + { + public OpenApiCollectionValidationModelData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !, global::System.String? name = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + Name = name; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + public global::System.String? Name { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionValidationEntityData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionValidationPromptData : IMcpFeatureCollectionValidationEntityData + { + public McpFeatureCollectionValidationPromptData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !, global::System.String? name = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + Name = name; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + public global::System.String? Name { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionValidationToolData : IMcpFeatureCollectionValidationEntityData + { + public McpFeatureCollectionValidationToolData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !, global::System.String? name = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + Name = name; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + public global::System.String? Name { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeprecatedChangeData : IEnumValueChangeData, IArgumentChangeData, IInputFieldChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData + { + public DeprecatedChangeData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? deprecationReason = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + DeprecationReason = deprecationReason; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? DeprecationReason { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record TypeChangedData : IArgumentChangeData, IInputFieldChangeData, IOutputFieldChangeData, IFieldChangeData, ISchemaChangeData + { + public TypeChangedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? severity = default !, global::System.String? oldType = default !, global::System.String? newType = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Severity = severity; + OldType = oldType; + NewType = newType; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.SchemaChangeSeverity? Severity { get; init; } + public global::System.String? OldType { get; init; } + public global::System.String? NewType { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IOpenApiCollectionValidationEntityErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionValidationDocumentErrorData : IOpenApiCollectionValidationEntityErrorData + { + public OpenApiCollectionValidationDocumentErrorData(global::System.String __typename, global::System.String? code = default !, global::System.String? message = default !, global::System.String? path = default !, global::System.Collections.Generic.IReadOnlyList? locations = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String __typename { get; init; } + public global::System.String? Code { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? Path { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionValidationEntityValidationErrorData : IOpenApiCollectionValidationEntityErrorData + { + public OpenApiCollectionValidationEntityValidationErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IMcpFeatureCollectionValidationEntityErrorData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionValidationDocumentErrorData : IMcpFeatureCollectionValidationEntityErrorData + { + public McpFeatureCollectionValidationDocumentErrorData(global::System.String __typename, global::System.String? code = default !, global::System.String? message = default !, global::System.String? path = default !, global::System.Collections.Generic.IReadOnlyList? locations = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Code = code; + Message = message; + Path = path; + Locations = locations; + } + + public global::System.String __typename { get; init; } + public global::System.String? Code { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? Path { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Locations { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionValidationEntityValidationErrorData : IMcpFeatureCollectionValidationEntityErrorData + { + public McpFeatureCollectionValidationEntityValidationErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionValidationDocumentErrorLocationData + { + public OpenApiCollectionValidationDocumentErrorLocationData(global::System.String __typename, global::System.Int32? column = default !, global::System.Int32? line = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Column = column; + Line = line; + } + + public global::System.String __typename { get; init; } + public global::System.Int32? Column { get; init; } + public global::System.Int32? Line { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionValidationDocumentErrorLocationData + { + public McpFeatureCollectionValidationDocumentErrorLocationData(global::System.String __typename, global::System.Int32? column = default !, global::System.Int32? line = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Column = column; + Line = line; + } + + public global::System.String __typename { get; init; } + public global::System.Int32? Column { get; init; } + public global::System.Int32? Line { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UnpublishClientPayloadData + { + public UnpublishClientPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? clientVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + ClientVersion = clientVersion; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? ClientVersion { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadClientPayloadData + { + public UploadClientPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? clientVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + ClientVersion = clientVersion; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientVersionData? ClientVersion { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InvalidPersistedQueryErrorData : IUploadClientErrorData, IErrorData + { + public InvalidPersistedQueryErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DuplicatedTagErrorData : IUploadFusionSubgraphErrorData, IUploadClientErrorData, IUploadMcpFeatureCollectionErrorData, IUploadSchemaErrorData, IUploadOpenApiCollectionErrorData, IErrorData + { + public DuplicatedTagErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateClientPayloadData + { + public ValidateClientPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientVersionValidationFailedData : IClientVersionValidationResultData + { + public ClientVersionValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ClientVersionValidationSuccessData : IClientVersionValidationResultData + { + public ClientVersionValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidationInProgressData : IFusionConfigurationPublishingResultData, IClientVersionValidationResultData, ISchemaVersionValidationResultData, IOpenApiCollectionVersionValidationResultData, IMcpFeatureCollectionVersionValidationResultData + { + public ValidationInProgressData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApisConnectionData - { - public ApisConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record EnvironmentsConnectionData + { + public EnvironmentsConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApisEdgeData - { - public ApisEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record EnvironmentsEdgeData + { + public EnvironmentsEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Node { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UpdateApiSettingsPayloadData - { - public UpdateApiSettingsPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? api = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Api = api; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Api { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PushWorkspaceChangesPayloadData - { - public PushWorkspaceChangesPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? changes = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Changes = changes; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record WorkspaceChangePayloadData - { - public WorkspaceChangePayloadData(global::System.String __typename, global::System.String? referenceId = default !, global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? error = default !, global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? result = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - ReferenceId = referenceId; - Error = error; - Result = result; - } - - public global::System.String __typename { get; init; } - public global::System.String? ReferenceId { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeErrorData? Error { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.IWorkspaceChangeResultData? Result { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ChangeStructureInvalidData : IPushWorkspaceChangesErrorData, IPushDocumentChangesErrorData, IErrorData - { - public ChangeStructureInvalidData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IWorkspaceChangeErrorData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ChangeValidationFailedData : IWorkspaceChangeErrorData, IErrorData - { - public ChangeValidationFailedData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record HasBeenChangedConflictData : IWorkspaceChangeErrorData, IErrorData - { - public HasBeenChangedConflictData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record HasBeenDeletedConflictData : IWorkspaceChangeErrorData, IErrorData - { - public HasBeenDeletedConflictData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record IdentifierCollisionConflictData : IWorkspaceChangeErrorData, IErrorData - { - public IdentifierCollisionConflictData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UnexpectedErrorOnChangeData : IWorkspaceChangeErrorData, IErrorData - { - public UnexpectedErrorOnChangeData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record WorkspaceNotFoundForChangeData : IWorkspaceChangeErrorData, IErrorData - { - public WorkspaceNotFoundForChangeData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UpdateStagesPayloadData - { - public UpdateStagesPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? api = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Api = api; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Api { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record StagesHavePublishedDependenciesErrorData : IUpdateStagesErrorData, IErrorData - { - public StagesHavePublishedDependenciesErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Collections.Generic.IReadOnlyList? stages = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - Stages = stages; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Stages { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record StageValidationErrorData : IUpdateStagesErrorData, IErrorData - { - public StageValidationErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial interface IStageConditionData - { - global::System.String __typename { get; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record AfterStageConditionData : IStageConditionData - { - public AfterStageConditionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.StageData? afterStage = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - AfterStage = afterStage; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.StageData? AfterStage { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishedSchemaVersionData - { - public PublishedSchemaVersionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? version = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Version = version; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? Version { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishedClientData - { - public PublishedClientData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !, global::System.Collections.Generic.IReadOnlyList? publishedVersions = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Client = client; - PublishedVersions = publishedVersions; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } - public global::System.Collections.Generic.IReadOnlyList? PublishedVersions { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaVersionData - { - public SchemaVersionData(global::System.String __typename, global::System.String? tag = default !, global::System.String? id = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Tag = tag; - Id = id; - } - - public global::System.String __typename { get; init; } - public global::System.String? Tag { get; init; } - public global::System.String? Id { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionConfigurationData + { + public FusionConfigurationData(global::System.String __typename, global::System.String? downloadUrl = default !, global::System.String? tag = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + DownloadUrl = downloadUrl; + Tag = tag; + } + + public global::System.String __typename { get; init; } + public global::System.String? DownloadUrl { get; init; } + public global::System.String? Tag { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadFusionSubgraphPayloadData + { + public UploadFusionSubgraphPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData? fusionSubgraphVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + FusionSubgraphVersion = fusionSubgraphVersion; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.FusionSubgraphVersionData? FusionSubgraphVersion { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionSubgraphVersionData + { + public FusionSubgraphVersionData(global::System.String __typename, global::System.String? id = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InvalidFusionSourceSchemaArchiveErrorData : IUploadFusionSubgraphErrorData, IErrorData + { + public InvalidFusionSourceSchemaArchiveErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateMcpFeatureCollectionPayloadData + { + public CreateMcpFeatureCollectionPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? mcpFeatureCollection = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + McpFeatureCollection = mcpFeatureCollection; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? McpFeatureCollection { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteMcpFeatureCollectionByIdPayloadData + { + public DeleteMcpFeatureCollectionByIdPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? mcpFeatureCollection = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + McpFeatureCollection = mcpFeatureCollection; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? McpFeatureCollection { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionNotFoundErrorData : IPublishMcpFeatureCollectionErrorData, IUploadMcpFeatureCollectionErrorData, IValidateMcpFeatureCollectionErrorData, IDeleteMcpFeatureCollectionByIdErrorData, IErrorData + { + public McpFeatureCollectionNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? mcpFeatureCollectionId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + McpFeatureCollectionId = mcpFeatureCollectionId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? McpFeatureCollectionId { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record EnvironmentsConnectionData - { - public EnvironmentsConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiMcpFeatureCollectionsConnectionData + { + public ApiMcpFeatureCollectionsConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record EnvironmentsEdgeData - { - public EnvironmentsEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiMcpFeatureCollectionsEdgeData + { + public ApiMcpFeatureCollectionsEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.EnvironmentData? Node { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishMcpFeatureCollectionPayloadData + { + public PublishMcpFeatureCollectionPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionVersionNotFoundErrorData : IPublishMcpFeatureCollectionErrorData, IErrorData + { + public McpFeatureCollectionVersionNotFoundErrorData(global::System.String __typename, global::System.String? tag = default !, global::System.String? message = default !, global::System.String? mcpFeatureCollectionId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Tag = tag; + Message = message; + McpFeatureCollectionId = mcpFeatureCollectionId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Tag { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? McpFeatureCollectionId { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionVersionPublishFailedData : IMcpFeatureCollectionVersionPublishResultData + { + public McpFeatureCollectionVersionPublishFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionVersionPublishSuccessData : IMcpFeatureCollectionVersionPublishResultData + { + public McpFeatureCollectionVersionPublishSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadMcpFeatureCollectionPayloadData + { + public UploadMcpFeatureCollectionPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData? mcpFeatureCollectionVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + McpFeatureCollectionVersion = mcpFeatureCollectionVersion; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.McpFeatureCollectionVersionData? McpFeatureCollectionVersion { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InvalidMcpFeatureCollectionArchiveErrorData : IUploadMcpFeatureCollectionErrorData, IErrorData + { + public InvalidMcpFeatureCollectionArchiveErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateMcpFeatureCollectionPayloadData + { + public ValidateMcpFeatureCollectionPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionVersionValidationFailedData : IMcpFeatureCollectionVersionValidationResultData + { + public McpFeatureCollectionVersionValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionVersionValidationSuccessData : IMcpFeatureCollectionVersionValidationResultData + { + public McpFeatureCollectionVersionValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record McpFeatureCollectionValidationArchiveErrorData : IMcpFeatureCollectionVersionValidationErrorData, IProcessingErrorData + { + public McpFeatureCollectionValidationArchiveErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateMockSchemaPayloadData + { + public CreateMockSchemaPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? mockSchema = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + MockSchema = mockSchema; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? MockSchema { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record MockSchemaData + { + public MockSchemaData(global::System.String __typename, global::System.String? id = default !, global::System.String? name = default !, global::System.DateTimeOffset? createdAt = default !, global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData? createdBy = default !, global::System.DateTimeOffset? modifiedAt = default !, global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData? modifiedBy = default !, global::System.Uri? downstreamUrl = default !, global::System.String? url = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Name = name; + CreatedAt = createdAt; + CreatedBy = createdBy; + ModifiedAt = modifiedAt; + ModifiedBy = modifiedBy; + DownstreamUrl = downstreamUrl; + Url = url; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.String? Name { get; init; } + public global::System.DateTimeOffset? CreatedAt { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData? CreatedBy { get; init; } + public global::System.DateTimeOffset? ModifiedAt { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.UserInfoData? ModifiedBy { get; init; } + public global::System.Uri? DownstreamUrl { get; init; } + public global::System.String? Url { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record MockSchemaNonUniqueNameErrorData : ICreateMockSchemaErrorData, IUpdateMockSchemaErrorData, IErrorData + { + public MockSchemaNonUniqueNameErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? name = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Name = name; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? Name { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UserInfoData : IAuthorizationEventLogPrincipalData + { + public UserInfoData(global::System.String __typename, global::System.String? username = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Username = username; + } + + public global::System.String __typename { get; init; } + public global::System.String? Username { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiKeysConnectionData - { - public ApiKeysConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record MockSchemasConnectionData + { + public MockSchemasConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiKeysEdgeData - { - public ApiKeysEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record MockSchemasEdgeData + { + public MockSchemasEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? Node { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateApiKeyPayloadData - { - public CreateApiKeyPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData? result = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Result = result; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyWithSecretData? Result { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiKeyWithSecretData - { - public ApiKeyWithSecretData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? key = default !, global::System.String? secret = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Key = key; - Secret = secret; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? Key { get; init; } - public global::System.String? Secret { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record WorkspaceNotFoundData : ICreateApiKeyErrorData, ISetActiveWorkspaceErrorData, IRenameWorkspaceErrorData, IRemoveWorkspaceErrorData, IErrorData - { - public WorkspaceNotFoundData(global::System.String __typename, global::System.String? message = default !, global::System.String? workspaceId = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - WorkspaceId = workspaceId; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? WorkspaceId { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersonalWorkspaceNotSupportedErrorData : ICreateApiKeyErrorData, ICreateApiKeyForApiErrorData, IErrorData - { - public PersonalWorkspaceNotSupportedErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record RoleNotFoundErrorData : ICreateApiKeyErrorData, IErrorData - { - public RoleNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? roleId = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - RoleId = roleId; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? RoleId { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidationErrorPropertyData - { - public ValidationErrorPropertyData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DeleteApiKeyPayloadData - { - public DeleteApiKeyPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? apiKey = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - ApiKey = apiKey; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.ApiKeyData? ApiKey { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiKeyNotFoundErrorData : IDeleteApiKeyErrorData, IErrorData - { - public ApiKeyNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? apiKeyId = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - ApiKeyId = apiKeyId; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? ApiKeyId { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ViewerData - { - public ViewerData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData? personalAccessTokens = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? workspaces = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - PersonalAccessTokens = personalAccessTokens; - Workspaces = workspaces; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData? PersonalAccessTokens { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? Workspaces { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UpdateMockSchemaPayloadData + { + public UpdateMockSchemaPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? mockSchema = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + MockSchema = mockSchema; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.MockSchemaData? MockSchema { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record MockSchemaNotFoundErrorData : IDeleteMockSchemaByIdErrorData, IUpdateMockSchemaErrorData, IErrorData + { + public MockSchemaNotFoundErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateOpenApiCollectionPayloadData + { + public CreateOpenApiCollectionPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? openApiCollection = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + OpenApiCollection = openApiCollection; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? OpenApiCollection { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record DeleteOpenApiCollectionByIdPayloadData + { + public DeleteOpenApiCollectionByIdPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? openApiCollection = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + OpenApiCollection = openApiCollection; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? OpenApiCollection { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionNotFoundErrorData : IValidateOpenApiCollectionErrorData, IDeleteOpenApiCollectionByIdErrorData, IUploadOpenApiCollectionErrorData, IPublishOpenApiCollectionErrorData, IErrorData + { + public OpenApiCollectionNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? openApiCollectionId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + OpenApiCollectionId = openApiCollectionId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? OpenApiCollectionId { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersonalAccessTokensConnectionData - { - public PersonalAccessTokensConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiOpenApiCollectionsConnectionData + { + public ApiOpenApiCollectionsConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersonalAccessTokensEdgeData - { - public PersonalAccessTokensEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ApiOpenApiCollectionsEdgeData + { + public ApiOpenApiCollectionsEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? Node { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersonalAccessTokenData - { - public PersonalAccessTokenData(global::System.String __typename, global::System.String? id = default !, global::System.String? description = default !, global::System.DateTimeOffset? expiresAt = default !, global::System.DateTimeOffset? createdAt = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Description = description; - ExpiresAt = expiresAt; - CreatedAt = createdAt; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.String? Description { get; init; } - public global::System.DateTimeOffset? ExpiresAt { get; init; } - public global::System.DateTimeOffset? CreatedAt { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreatePersonalAccessTokenPayloadData - { - public CreatePersonalAccessTokenPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData? result = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Result = result; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData? Result { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersonalAccessTokenWithSecretData - { - public PersonalAccessTokenWithSecretData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? token = default !, global::System.String? secret = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Token = token; - Secret = secret; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? Token { get; init; } - public global::System.String? Secret { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record RevokePersonalAccessTokenPayloadData - { - public RevokePersonalAccessTokenPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? personalAccessToken = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - PersonalAccessToken = personalAccessToken; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? PersonalAccessToken { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PersonalAccessTokenNotFoundErrorData : IRevokePersonalAccessTokenErrorData, IErrorData - { - public PersonalAccessTokenNotFoundErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UploadOpenApiCollectionPayloadData - { - public UploadOpenApiCollectionPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData? openApiCollectionVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - OpenApiCollectionVersion = openApiCollectionVersion; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData? OpenApiCollectionVersion { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionNotFoundErrorData : IValidateOpenApiCollectionErrorData, IDeleteOpenApiCollectionByIdErrorData, IUploadOpenApiCollectionErrorData, IPublishOpenApiCollectionErrorData, IErrorData - { - public OpenApiCollectionNotFoundErrorData(global::System.String __typename, global::System.String? openApiCollectionId = default !, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - OpenApiCollectionId = openApiCollectionId; - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? OpenApiCollectionId { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InvalidOpenApiCollectionArchiveErrorData : IUploadOpenApiCollectionErrorData, IErrorData - { - public InvalidOpenApiCollectionArchiveErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishOpenApiCollectionPayloadData + { + public PublishOpenApiCollectionPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionVersionNotFoundErrorData : IPublishOpenApiCollectionErrorData, IErrorData + { + public OpenApiCollectionVersionNotFoundErrorData(global::System.String __typename, global::System.String? tag = default !, global::System.String? message = default !, global::System.String? openApiCollectionId = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Tag = tag; + Message = message; + OpenApiCollectionId = openApiCollectionId; + } + + public global::System.String __typename { get; init; } + public global::System.String? Tag { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? OpenApiCollectionId { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionVersionPublishFailedData : IOpenApiCollectionVersionPublishResultData + { + public OpenApiCollectionVersionPublishFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionVersionPublishSuccessData : IOpenApiCollectionVersionPublishResultData + { + public OpenApiCollectionVersionPublishSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadOpenApiCollectionPayloadData + { + public UploadOpenApiCollectionPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData? openApiCollectionVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + OpenApiCollectionVersion = openApiCollectionVersion; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionVersionData? OpenApiCollectionVersion { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InvalidOpenApiCollectionArchiveErrorData : IUploadOpenApiCollectionErrorData, IErrorData + { + public InvalidOpenApiCollectionArchiveErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateOpenApiCollectionPayloadData + { + public ValidateOpenApiCollectionPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionVersionValidationFailedData : IOpenApiCollectionVersionValidationResultData + { + public OpenApiCollectionVersionValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionVersionValidationSuccessData : IOpenApiCollectionVersionValidationResultData + { + public OpenApiCollectionVersionValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record OpenApiCollectionValidationArchiveErrorData : IOpenApiCollectionVersionValidationErrorData, IProcessingErrorData + { + public OpenApiCollectionValidationArchiveErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreatePersonalAccessTokenPayloadData + { + public CreatePersonalAccessTokenPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData? result = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Result = result; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenWithSecretData? Result { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersonalAccessTokenWithSecretData + { + public PersonalAccessTokenWithSecretData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? token = default !, global::System.String? secret = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Token = token; + Secret = secret; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? Token { get; init; } + public global::System.String? Secret { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersonalAccessTokenData + { + public PersonalAccessTokenData(global::System.String __typename, global::System.String? id = default !, global::System.String? description = default !, global::System.DateTimeOffset? createdAt = default !, global::System.DateTimeOffset? expiresAt = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Description = description; + CreatedAt = createdAt; + ExpiresAt = expiresAt; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.String? Description { get; init; } + public global::System.DateTimeOffset? CreatedAt { get; init; } + public global::System.DateTimeOffset? ExpiresAt { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ViewerData + { + public ViewerData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData? personalAccessTokens = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? workspaces = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + PersonalAccessTokens = personalAccessTokens; + Workspaces = workspaces; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokensConnectionData? PersonalAccessTokens { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspacesConnectionData? Workspaces { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiOpenApiCollectionsConnectionData - { - public ApiOpenApiCollectionsConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersonalAccessTokensConnectionData + { + public PersonalAccessTokensConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ApiOpenApiCollectionsEdgeData - { - public ApiOpenApiCollectionsEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersonalAccessTokensEdgeData + { + public PersonalAccessTokensEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? Node { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishOpenApiCollectionPayloadData - { - public PublishOpenApiCollectionPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionVersionNotFoundErrorData : IPublishOpenApiCollectionErrorData, IErrorData - { - public OpenApiCollectionVersionNotFoundErrorData(global::System.String __typename, global::System.String? tag = default !, global::System.String? message = default !, global::System.String? openApiCollectionId = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Tag = tag; - Message = message; - OpenApiCollectionId = openApiCollectionId; - } - - public global::System.String __typename { get; init; } - public global::System.String? Tag { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? OpenApiCollectionId { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionVersionPublishFailedData : IOpenApiCollectionVersionPublishResultData - { - public OpenApiCollectionVersionPublishFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionVersionPublishSuccessData : IOpenApiCollectionVersionPublishResultData - { - public OpenApiCollectionVersionPublishSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidateOpenApiCollectionPayloadData - { - public ValidateOpenApiCollectionPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionVersionValidationFailedData : IOpenApiCollectionVersionValidationResultData - { - public OpenApiCollectionVersionValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionVersionValidationSuccessData : IOpenApiCollectionVersionValidationResultData - { - public OpenApiCollectionVersionValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record OpenApiCollectionValidationArchiveErrorData : IOpenApiCollectionVersionValidationErrorData, IProcessingErrorData - { - public OpenApiCollectionValidationArchiveErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateOpenApiCollectionPayloadData - { - public CreateOpenApiCollectionPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? openApiCollection = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - OpenApiCollection = openApiCollection; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? OpenApiCollection { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record DeleteOpenApiCollectionByIdPayloadData - { - public DeleteOpenApiCollectionByIdPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? openApiCollection = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - OpenApiCollection = openApiCollection; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.OpenApiCollectionData? OpenApiCollection { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CreateWorkspacePayloadData - { - public CreateWorkspacePayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspace = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Workspace = workspace; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Workspace { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record RevokePersonalAccessTokenPayloadData + { + public RevokePersonalAccessTokenPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? personalAccessToken = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + PersonalAccessToken = personalAccessToken; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.PersonalAccessTokenData? PersonalAccessToken { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PersonalAccessTokenNotFoundErrorData : IRevokePersonalAccessTokenErrorData, IErrorData + { + public PersonalAccessTokenNotFoundErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishSchemaPayloadData + { + public PublishSchemaPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaNotFoundErrorData : IValidateSchemaErrorData, IPublishSchemaErrorData, IErrorData + { + public SchemaNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? apiId = default !, global::System.String? tag = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + ApiId = apiId; + Tag = tag; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.String? ApiId { get; init; } + public global::System.String? Tag { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaVersionPublishFailedData : ISchemaVersionPublishResultData + { + public SchemaVersionPublishFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaVersionPublishSuccessData : ISchemaVersionPublishResultData + { + public SchemaVersionPublishSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaVersionChangeViolationErrorData : ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData + { + public SchemaVersionChangeViolationErrorData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UploadSchemaPayloadData + { + public UploadSchemaPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? schemaVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + SchemaVersion = schemaVersion; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? SchemaVersion { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaVersionData + { + public SchemaVersionData(global::System.String __typename, global::System.String? id = default !, global::System.String? tag = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Tag = tag; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.String? Tag { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateSchemaPayloadData + { + public ValidateSchemaPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Id = id; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? Id { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaVersionValidationFailedData : ISchemaVersionValidationResultData + { + public SchemaVersionValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SchemaVersionValidationSuccessData : ISchemaVersionValidationResultData + { + public SchemaVersionValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record UpdateStagesPayloadData + { + public UpdateStagesPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? api = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Api = api; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ApiData? Api { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record StagesHavePublishedDependenciesErrorData : IUpdateStagesErrorData, IErrorData + { + public StagesHavePublishedDependenciesErrorData(global::System.String __typename, global::System.String? message = default !, global::System.Collections.Generic.IReadOnlyList? stages = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + Stages = stages; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Stages { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record StageValidationErrorData : IUpdateStagesErrorData, IErrorData + { + public StageValidationErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial interface IStageConditionData + { + global::System.String __typename { get; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record AfterStageConditionData : IStageConditionData + { + public AfterStageConditionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.StageData? afterStage = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + AfterStage = afterStage; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.StageData? AfterStage { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishedSchemaVersionData + { + public PublishedSchemaVersionData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? version = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Version = version; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? Version { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record PublishedClientData + { + public PublishedClientData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? client = default !, global::System.Collections.Generic.IReadOnlyList? publishedVersions = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Client = client; + PublishedVersions = publishedVersions; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.ClientData? Client { get; init; } + public global::System.Collections.Generic.IReadOnlyList? PublishedVersions { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CreateWorkspacePayloadData + { + public CreateWorkspacePayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? workspace = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Workspace = workspace; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Workspace { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + ///A connection to a list of items. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record WorkspacesConnectionData - { - public WorkspacesConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Edges = edges; - PageInfo = pageInfo; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record WorkspacesConnectionData + { + public WorkspacesConnectionData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? edges = default !, global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? pageInfo = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Edges = edges; + PageInfo = pageInfo; + } + + public global::System.String __typename { get; init; } ///A list of edges. - public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Edges { get; init; } ///Information to aid in pagination. - public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } - } - + public global::ChilliCream.Nitro.CommandLine.Client.State.PageInfoData? PageInfo { get; init; } + } + ///An edge in a connection. - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record WorkspacesEdgeData - { - public WorkspacesEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? node = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Cursor = cursor; - Node = node; - } - - public global::System.String __typename { get; init; } + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record WorkspacesEdgeData + { + public WorkspacesEdgeData(global::System.String __typename, global::System.String? cursor = default !, global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? node = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Cursor = cursor; + Node = node; + } + + public global::System.String __typename { get; init; } ///A cursor for use in pagination. - public global::System.String? Cursor { get; init; } + public global::System.String? Cursor { get; init; } ///The item at the end of the edge. - public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Node { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record PublishSchemaPayloadData - { - public PublishSchemaPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaNotFoundErrorData : IValidateSchemaErrorData, IPublishSchemaErrorData, IErrorData - { - public SchemaNotFoundErrorData(global::System.String __typename, global::System.String? message = default !, global::System.String? apiId = default !, global::System.String? tag = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - ApiId = apiId; - Tag = tag; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - public global::System.String? ApiId { get; init; } - public global::System.String? Tag { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaVersionPublishFailedData : ISchemaVersionPublishResultData - { - public SchemaVersionPublishFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaVersionPublishSuccessData : ISchemaVersionPublishResultData - { - public SchemaVersionPublishSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaVersionChangeViolationErrorData : ISchemaVersionValidationErrorData, ISchemaVersionPublishErrorData, IFusionConfigurationValidationErrorData, IProcessingErrorData - { - public SchemaVersionChangeViolationErrorData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record UploadSchemaPayloadData - { - public UploadSchemaPayloadData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? schemaVersion = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - SchemaVersion = schemaVersion; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.State.SchemaVersionData? SchemaVersion { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidateSchemaPayloadData - { - public ValidateSchemaPayloadData(global::System.String __typename, global::System.String? id = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Id = id; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? Id { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaVersionValidationFailedData : ISchemaVersionValidationResultData - { - public SchemaVersionValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SchemaVersionValidationSuccessData : ISchemaVersionValidationResultData - { - public SchemaVersionValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CancelFusionConfigurationCompositionPayloadData - { - public CancelFusionConfigurationCompositionPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionConfigurationRequestNotFoundErrorData : IStartFusionConfigurationCompositionErrorData, ICommitFusionConfigurationPublishErrorData, IValidateFusionConfigurationCompositionErrorData, ICancelFusionConfigurationCompositionErrorData, IErrorData - { - public FusionConfigurationRequestNotFoundErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record InvalidProcessingStateTransitionErrorData : IBeginFusionConfigurationPublishErrorData, IStartFusionConfigurationCompositionErrorData, ICommitFusionConfigurationPublishErrorData, IValidateFusionConfigurationCompositionErrorData, ICancelFusionConfigurationCompositionErrorData, IErrorData - { - public InvalidProcessingStateTransitionErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record CommitFusionConfigurationPublishPayloadData - { - public CommitFusionConfigurationPublishPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record StartFusionConfigurationCompositionPayloadData - { - public StartFusionConfigurationCompositionPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record BeginFusionConfigurationPublishPayloadData - { - public BeginFusionConfigurationPublishPayloadData(global::System.String __typename, global::System.String? requestId = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - RequestId = requestId; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.String? RequestId { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record SubgraphInvalidErrorData : IBeginFusionConfigurationPublishErrorData, IErrorData - { - public SubgraphInvalidErrorData(global::System.String __typename, global::System.String? message = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Message = message; - } - - public global::System.String __typename { get; init; } - public global::System.String? Message { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionConfigurationPublishingFailedData : IFusionConfigurationPublishingResultData - { - public FusionConfigurationPublishingFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.String? failed = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Failed = failed; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.State.WorkspaceData? Node { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record BeginFusionConfigurationPublishPayloadData + { + public BeginFusionConfigurationPublishPayloadData(global::System.String __typename, global::System.String? requestId = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + RequestId = requestId; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.String? RequestId { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record SubgraphInvalidErrorData : IBeginFusionConfigurationPublishErrorData, IErrorData + { + public SubgraphInvalidErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record InvalidProcessingStateTransitionErrorData : IBeginFusionConfigurationPublishErrorData, IStartFusionConfigurationCompositionErrorData, ICommitFusionConfigurationPublishErrorData, IValidateFusionConfigurationCompositionErrorData, ICancelFusionConfigurationCompositionErrorData, IErrorData + { + public InvalidProcessingStateTransitionErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionConfigurationPublishingFailedData : IFusionConfigurationPublishingResultData + { + public FusionConfigurationPublishingFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.String? failed = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Failed = failed; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } ///The name of the current Object type at runtime. - public global::System.String? Failed { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionConfigurationPublishingSuccessData : IFusionConfigurationPublishingResultData - { - public FusionConfigurationPublishingSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.String? success = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Success = success; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.String? Failed { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionConfigurationPublishingSuccessData : IFusionConfigurationPublishingResultData + { + public FusionConfigurationPublishingSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.String? success = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Success = success; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } ///The name of the current Object type at runtime. - public global::System.String? Success { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionConfigurationValidationFailedData : IFusionConfigurationPublishingResultData - { - public FusionConfigurationValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.String? failed = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Failed = failed; - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.String? Success { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionConfigurationValidationFailedData : IFusionConfigurationPublishingResultData + { + public FusionConfigurationValidationFailedData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.String? failed = default !, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Failed = failed; + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } ///The name of the current Object type at runtime. - public global::System.String? Failed { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record FusionConfigurationValidationSuccessData : IFusionConfigurationPublishingResultData - { - public FusionConfigurationValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.String? success = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - State = state; - Success = success; - Changes = changes; - } - - public global::System.String __typename { get; init; } - public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } + public global::System.String? Failed { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionConfigurationValidationSuccessData : IFusionConfigurationPublishingResultData + { + public FusionConfigurationValidationSuccessData(global::System.String __typename, global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? state = default !, global::System.String? success = default !, global::System.Collections.Generic.IReadOnlyList? changes = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + State = state; + Success = success; + Changes = changes; + } + + public global::System.String __typename { get; init; } + public global::ChilliCream.Nitro.CommandLine.Client.ProcessingState? State { get; init; } ///The name of the current Object type at runtime. - public global::System.String? Success { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial record ValidateFusionConfigurationCompositionPayloadData - { - public ValidateFusionConfigurationCompositionPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) - { - this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); - Errors = errors; - } - - public global::System.String __typename { get; init; } - public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } - } - - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public partial class ApiClientStoreAccessor : global::StrawberryShake.IStoreAccessor - { - public global::StrawberryShake.IOperationStore OperationStore => throw new global::System.NotSupportedException("OperationStore is not supported in store less mode"); - public global::StrawberryShake.IEntityStore EntityStore => throw new global::System.NotSupportedException("EntityStore is not supported in store less mode"); - public global::StrawberryShake.IEntityIdSerializer EntityIdSerializer => throw new global::System.NotSupportedException("EntityIdSerializer is not supported in store less mode"); - - public global::StrawberryShake.IOperationRequestFactory GetOperationRequestFactory(global::System.Type resultType) - { - throw new global::System.NotSupportedException("GetOperationRequestFactory is not supported in store less mode"); - } - - public global::StrawberryShake.IOperationResultDataFactory GetOperationResultDataFactory(global::System.Type resultType) - { - throw new global::System.NotSupportedException("GetOperationResultDataFactory is not supported in store less mode"); - } - } -} - -namespace Microsoft.Extensions.DependencyInjection -{ - [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] - public static partial class ApiClientServiceCollectionExtensions - { - public static global::StrawberryShake.IClientBuilder AddApiClient(this global::Microsoft.Extensions.DependencyInjection.IServiceCollection services, global::StrawberryShake.ExecutionStrategy strategy = global::StrawberryShake.ExecutionStrategy.NetworkOnly) - { - var serviceCollection = new global::Microsoft.Extensions.DependencyInjection.ServiceCollection(); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => - { - ConfigureClientDefault(sp, serviceCollection, strategy); - return new ClientServiceProvider(global::Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(serviceCollection)); - }); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => new global::ChilliCream.Nitro.CommandLine.Client.State.ApiClientStoreAccessor()); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); - return new global::StrawberryShake.ClientBuilder("ApiClient", services, serviceCollection); - } - - private static global::Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureClientDefault(global::System.IServiceProvider parentServices, global::Microsoft.Extensions.DependencyInjection.ServiceCollection services, global::StrawberryShake.ExecutionStrategy strategy = global::StrawberryShake.ExecutionStrategy.NetworkOnly) - { - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => - { - var clientFactory = global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(parentServices); - return new global::StrawberryShake.Transport.Http.HttpConnection(() => clientFactory.CreateClient("ApiClient")); - }); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, new global::StrawberryShake.Serialization.UrlSerializer("URL")); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, new global::StrawberryShake.Serialization.StringSerializer("Version")); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => new global::StrawberryShake.Serialization.SerializerResolver(global::System.Linq.Enumerable.Concat(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(parentServices), global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.FetchConfigurationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.FetchConfigurationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListMockCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListMockCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowClientCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowClientCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientVersionResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientVersionBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnClientVersionValidationUpdatedResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnClientVersionValidationUpdatedBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientVersionResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientVersionBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnClientVersionPublishUpdatedResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnClientVersionPublishUpdatedBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListClientCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListClientCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowApiCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowApiCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListApiCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListApiCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SetApiSettingsCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SetApiSettingsCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListStagesQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListStagesQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListEnvironmentCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListEnvironmentCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowEnvironmentCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowEnvironmentCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateEnvironmentCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateEnvironmentCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListApiKeyCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListApiKeyCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListPersonalAccessTokenCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListPersonalAccessTokenCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListOpenApiCollectionCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListOpenApiCollectionCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionCommandSubscriptionResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionCommandSubscriptionBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionCommandSubscriptionResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionCommandSubscriptionBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowWorkspaceCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowWorkspaceCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspaceCommandMutationResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspaceCommandMutationBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListWorkspaceCommandQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListWorkspaceCommandQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SetDefaultWorkspaceCommand_SelectWorkspace_QueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaVersionResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaVersionBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnSchemaVersionPublishUpdatedResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnSchemaVersionPublishUpdatedBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaVersionResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaVersionBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnSchemaVersionValidationUpdatedResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnSchemaVersionValidationUpdatedBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationPublishResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationPublishBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationPublishResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationPublishBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnFusionConfigurationPublishingTaskChangedResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnFusionConfigurationPublishingTaskChangedBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationPublishResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationPublishBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectMockSchemaPromptQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectMockSchemaPromptQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PageClientVersionDetailQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PageClientVersionDetailQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectClientPromptQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectClientPromptQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectApiPromptQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectApiPromptQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectOpenApiCollectionPromptQueryResultFactory>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectOpenApiCollectionPromptQueryBuilder>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); - global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); - return services; - } - - private sealed class ClientServiceProvider : System.IServiceProvider, System.IDisposable - { - private readonly System.IServiceProvider _provider; - public ClientServiceProvider(System.IServiceProvider provider) - { - _provider = provider; - } - - public object? GetService(System.Type serviceType) - { - return _provider.GetService(serviceType); - } - - public void Dispose() - { - if (_provider is System.IDisposable d) - { - d.Dispose(); - } - } - } - } + public global::System.String? Success { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Changes { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CancelFusionConfigurationCompositionPayloadData + { + public CancelFusionConfigurationCompositionPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record FusionConfigurationRequestNotFoundErrorData : IStartFusionConfigurationCompositionErrorData, ICommitFusionConfigurationPublishErrorData, IValidateFusionConfigurationCompositionErrorData, ICancelFusionConfigurationCompositionErrorData, IErrorData + { + public FusionConfigurationRequestNotFoundErrorData(global::System.String __typename, global::System.String? message = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Message = message; + } + + public global::System.String __typename { get; init; } + public global::System.String? Message { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record CommitFusionConfigurationPublishPayloadData + { + public CommitFusionConfigurationPublishPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record StartFusionConfigurationCompositionPayloadData + { + public StartFusionConfigurationCompositionPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial record ValidateFusionConfigurationCompositionPayloadData + { + public ValidateFusionConfigurationCompositionPayloadData(global::System.String __typename, global::System.Collections.Generic.IReadOnlyList? errors = default !) + { + this.__typename = __typename ?? throw new global::System.ArgumentNullException(nameof(__typename)); + Errors = errors; + } + + public global::System.String __typename { get; init; } + public global::System.Collections.Generic.IReadOnlyList? Errors { get; init; } + } + + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public partial class ApiClientStoreAccessor : global::StrawberryShake.IStoreAccessor + { + public global::StrawberryShake.IOperationStore OperationStore => throw new global::System.NotSupportedException("OperationStore is not supported in store less mode"); + public global::StrawberryShake.IEntityStore EntityStore => throw new global::System.NotSupportedException("EntityStore is not supported in store less mode"); + public global::StrawberryShake.IEntityIdSerializer EntityIdSerializer => throw new global::System.NotSupportedException("EntityIdSerializer is not supported in store less mode"); + + public global::StrawberryShake.IOperationRequestFactory GetOperationRequestFactory(global::System.Type resultType) + { + throw new global::System.NotSupportedException("GetOperationRequestFactory is not supported in store less mode"); + } + + public global::StrawberryShake.IOperationResultDataFactory GetOperationResultDataFactory(global::System.Type resultType) + { + throw new global::System.NotSupportedException("GetOperationResultDataFactory is not supported in store less mode"); + } + } +} + +namespace Microsoft.Extensions.DependencyInjection +{ + [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "15.1.8.0")] + public static partial class ApiClientServiceCollectionExtensions + { + public static global::StrawberryShake.IClientBuilder AddApiClient(this global::Microsoft.Extensions.DependencyInjection.IServiceCollection services, global::StrawberryShake.ExecutionStrategy strategy = global::StrawberryShake.ExecutionStrategy.NetworkOnly) + { + var serviceCollection = new global::Microsoft.Extensions.DependencyInjection.ServiceCollection(); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => + { + ConfigureClientDefault(sp, serviceCollection, strategy); + return new ClientServiceProvider(global::Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(serviceCollection)); + }); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => new global::ChilliCream.Nitro.CommandLine.Client.State.ApiClientStoreAccessor()); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp))); + return new global::StrawberryShake.ClientBuilder("ApiClient", services, serviceCollection); + } + + private static global::Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureClientDefault(global::System.IServiceProvider parentServices, global::Microsoft.Extensions.DependencyInjection.ServiceCollection services, global::StrawberryShake.ExecutionStrategy strategy = global::StrawberryShake.ExecutionStrategy.NetworkOnly) + { + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => + { + var clientFactory = global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(parentServices); + return new global::StrawberryShake.Transport.Http.HttpConnection(() => clientFactory.CreateClient("ApiClient")); + }); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, new global::StrawberryShake.Serialization.UrlSerializer("URL")); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, new global::StrawberryShake.Serialization.StringSerializer("Version")); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => new global::StrawberryShake.Serialization.SerializerResolver(global::System.Linq.Enumerable.Concat(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(parentServices), global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiKeyCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiKeyCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListApiKeyCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListApiKeyCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateApiCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteApiCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListApiCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListApiCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SetApiSettingsCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SetApiSettingsCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowApiCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowApiCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateClientCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteClientByIdCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListClientCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListClientCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientVersionResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishClientVersionBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnClientVersionPublishUpdatedResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnClientVersionPublishUpdatedBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowClientCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowClientCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UnpublishClientBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadClientBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientVersionResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateClientVersionBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnClientVersionValidationUpdatedResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnClientVersionValidationUpdatedBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateEnvironmentCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateEnvironmentCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListEnvironmentCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListEnvironmentCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowEnvironmentCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowEnvironmentCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.FetchConfigurationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.FetchConfigurationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadFusionSubgraphBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateMcpFeatureCollectionCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateMcpFeatureCollectionCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteMcpFeatureCollectionByIdCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteMcpFeatureCollectionByIdCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListMcpFeatureCollectionCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListMcpFeatureCollectionCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionCommandSubscriptionResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishMcpFeatureCollectionCommandSubscriptionBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadMcpFeatureCollectionCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadMcpFeatureCollectionCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionCommandSubscriptionResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateMcpFeatureCollectionCommandSubscriptionBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateMockSchemaBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListMockCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListMockCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UpdateMockSchemaBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateOpenApiCollectionCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.DeleteOpenApiCollectionByIdCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListOpenApiCollectionCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListOpenApiCollectionCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionCommandSubscriptionResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishOpenApiCollectionCommandSubscriptionBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadOpenApiCollectionCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionCommandSubscriptionResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateOpenApiCollectionCommandSubscriptionBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreatePersonalAccessTokenCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListPersonalAccessTokenCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListPersonalAccessTokenCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.RevokePersonalAccessTokenCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaVersionResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PublishSchemaVersionBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnSchemaVersionPublishUpdatedResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnSchemaVersionPublishUpdatedBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UploadSchemaBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaVersionResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateSchemaVersionBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnSchemaVersionValidationUpdatedResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnSchemaVersionValidationUpdatedBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.UpdateStagesBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListStagesQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListStagesQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspaceCommandMutationResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CreateWorkspaceCommandMutationBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListWorkspaceCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ListWorkspaceCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SetDefaultWorkspaceCommand_SelectWorkspace_QueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SetDefaultWorkspaceCommand_SelectWorkspace_QueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowWorkspaceCommandQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ShowWorkspaceCommandQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectApiPromptQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectApiPromptQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PageClientVersionDetailQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.PageClientVersionDetailQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectClientPromptQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectClientPromptQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.BeginFusionConfigurationPublishBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnFusionConfigurationPublishingTaskChangedResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.OnFusionConfigurationPublishingTaskChangedBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationPublishResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CancelFusionConfigurationPublishBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.CommitFusionConfigurationPublishBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationPublishResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.StartFusionConfigurationPublishBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationPublishResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.ValidateFusionConfigurationPublishBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectMcpFeatureCollectionPromptQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectMcpFeatureCollectionPromptQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectMockSchemaPromptQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectMockSchemaPromptQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectOpenApiCollectionPromptQueryResultFactory>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::ChilliCream.Nitro.CommandLine.Client.State.SelectOpenApiCollectionPromptQueryBuilder>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton>(services, sp => new global::StrawberryShake.StorelessOperationExecutor(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp), () => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService>(sp))); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton, global::StrawberryShake.Json.JsonResultPatcher>(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services); + global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(sp)); + return services; + } + + private sealed class ClientServiceProvider : System.IServiceProvider, System.IDisposable + { + private readonly System.IServiceProvider _provider; + public ClientServiceProvider(System.IServiceProvider provider) + { + _provider = provider; + } + + public object? GetService(System.Type serviceType) + { + return _provider.GetService(serviceType); + } + + public void Dispose() + { + if (_provider is System.IDisposable d) + { + d.Dispose(); + } + } + } + } } diff --git a/src/Nitro/CommandLine/src/CommandLine/Helpers/ConsoleHelpers.cs b/src/Nitro/CommandLine/src/CommandLine/Helpers/ConsoleHelpers.cs index 4fe21ab3931..f373f55cb8c 100644 --- a/src/Nitro/CommandLine/src/CommandLine/Helpers/ConsoleHelpers.cs +++ b/src/Nitro/CommandLine/src/CommandLine/Helpers/ConsoleHelpers.cs @@ -205,6 +205,67 @@ IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors } } + private static void PrintError(this IAnsiConsole console, IMcpFeatureCollectionValidationError error) + { + foreach (var collectionError in error.Collections) + { + var mcpFeatureCollection = collectionError.McpFeatureCollection; + + console.WarningLine( + $"There were errors in the MCP Feature Collection '{mcpFeatureCollection?.Name.AsHighlight()}' [dim](ID: {mcpFeatureCollection?.Id})[/]"); + + var node = new Tree(""); + foreach (var entity in collectionError.Entities) + { + var entityNode = node.AddNode(GetEntityNodeHeading(entity)); + + foreach (var entityError in entity.Errors) + { + if (entityError is + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationDocumentError + documentError) + { + var errorLocation = string.Empty; + if (documentError.Locations is { Count: > 0 } locations) + { + errorLocation = $"[grey]({locations[0].Line}:{locations[0].Column})[/]"; + } + + entityNode.AddNode($"{documentError.Message.EscapeMarkup()} {errorLocation}"); + } + else if (entityError is + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_Errors_McpFeatureCollectionValidationEntityValidationError + entityValidationError) + { + entityNode.AddNode(entityValidationError.Message.EscapeMarkup()); + } + else + { + entityNode.AddNode("Unknown error type"); + } + } + } + + console.Write(node); + } + + static string GetEntityNodeHeading( + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_1 + entity) + { + var heading = entity switch + { + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationPrompt prompt + => $"Prompt '{prompt.Name}'", + IOnClientVersionPublishUpdated_OnClientVersionPublishingUpdate_Deployment_Errors_Collections_Entities_McpFeatureCollectionValidationTool tool + => $"Tool '{tool.Name}'", + _ => "Unknown entity type" + }; + + return $"[red]{heading}[/]"; + } + } + private static void PrintError( this IAnsiConsole console, IInvalidGraphQLSchemaError error) @@ -232,6 +293,15 @@ private static void PrintInvalidOpenApiCollectionArchiveError(this IAnsiConsole + "Error received: " + message); } + private static void PrintInvalidMcpFeatureCollectionArchiveError(this IAnsiConsole console, string message) + { + console.WriteLine( + "The server received an invalid archive. " + + "This indicates a bug in the tooling. " + + "Please notify ChilliCream." + + "Error received: " + message); + } + private static void PrintMutationError(this IAnsiConsole ansiConsole, object error) { switch (error) @@ -316,6 +386,18 @@ private static void PrintMutationError(this IAnsiConsole ansiConsole, object err ansiConsole.PrintInvalidOpenApiCollectionArchiveError(err.Message); break; + case IMcpFeatureCollectionValidationError err: + ansiConsole.PrintError(err); + break; + + case IInvalidMcpFeatureCollectionArchiveError err: + ansiConsole.PrintInvalidMcpFeatureCollectionArchiveError(err.Message); + break; + + case IMcpFeatureCollectionValidationArchiveError err: + ansiConsole.PrintInvalidMcpFeatureCollectionArchiveError(err.Message); + break; + case IError err: ansiConsole.WriteLine(err.Message); break; diff --git a/src/Nitro/CommandLine/src/CommandLine/Nitro.CommandLine.csproj b/src/Nitro/CommandLine/src/CommandLine/Nitro.CommandLine.csproj index 626001bdad3..4132f6725d2 100644 --- a/src/Nitro/CommandLine/src/CommandLine/Nitro.CommandLine.csproj +++ b/src/Nitro/CommandLine/src/CommandLine/Nitro.CommandLine.csproj @@ -25,6 +25,8 @@ + + diff --git a/src/Nitro/CommandLine/src/CommandLine/Results/JsonResultFormatter.cs b/src/Nitro/CommandLine/src/CommandLine/Results/JsonResultFormatter.cs index 8b80ce1e475..e7c9156337d 100644 --- a/src/Nitro/CommandLine/src/CommandLine/Results/JsonResultFormatter.cs +++ b/src/Nitro/CommandLine/src/CommandLine/Results/JsonResultFormatter.cs @@ -1,5 +1,4 @@ using System.Text.Json; -using Spectre.Console.Json; namespace ChilliCream.Nitro.CommandLine.Results; @@ -23,6 +22,6 @@ private void FormatObjectResult(ObjectResult objectResult) var serializedObj = JsonSerializer.Serialize(obj, obj.GetType(), JsonSourceGenerationContext.Default); - console.Write(serializedObj); + console.WriteLine(serializedObj); } } diff --git a/src/Nitro/CommandLine/src/CommandLine/Results/JsonSourceGenerationContext.cs b/src/Nitro/CommandLine/src/CommandLine/Results/JsonSourceGenerationContext.cs index 1b33646c08d..b8c0348a70b 100644 --- a/src/Nitro/CommandLine/src/CommandLine/Results/JsonSourceGenerationContext.cs +++ b/src/Nitro/CommandLine/src/CommandLine/Results/JsonSourceGenerationContext.cs @@ -5,6 +5,7 @@ using ChilliCream.Nitro.CommandLine.Commands.Clients.Components; using ChilliCream.Nitro.CommandLine.Commands.Environments.Components; using ChilliCream.Nitro.CommandLine.Commands.Fusion.PublishCommand; +using ChilliCream.Nitro.CommandLine.Commands.Mcp.Components; using ChilliCream.Nitro.CommandLine.Commands.Mocks.Components; using ChilliCream.Nitro.CommandLine.Commands.OpenApi.Components; using ChilliCream.Nitro.CommandLine.Commands.PersonalAccessTokens; @@ -36,4 +37,6 @@ namespace ChilliCream.Nitro.CommandLine.Results; [JsonSerializable(typeof(PaginatedListResult))] [JsonSerializable(typeof(OpenApiCollectionDetailPrompt.OpenApiCollectionDetailPromptResult))] [JsonSerializable(typeof(PaginatedListResult))] +[JsonSerializable(typeof(McpFeatureCollectionDetailPrompt.McpFeatureCollectionDetailPromptResult))] +[JsonSerializable(typeof(PaginatedListResult))] internal partial class JsonSourceGenerationContext : JsonSerializerContext; diff --git a/src/Nitro/CommandLine/src/CommandLine/Results/OutputFormatOption.cs b/src/Nitro/CommandLine/src/CommandLine/Results/OutputFormatOption.cs index 742dc09daf0..f97393bb3ad 100644 --- a/src/Nitro/CommandLine/src/CommandLine/Results/OutputFormatOption.cs +++ b/src/Nitro/CommandLine/src/CommandLine/Results/OutputFormatOption.cs @@ -11,7 +11,7 @@ public OutputFormatOption() : base("--output") IsRequired = false; - this.FromAmong("json"); + ArgumentHelpName = "json"; this.DefaultFromEnvironmentValue("OUTPUT_FORMAT"); } diff --git a/src/Nitro/CommandLine/src/CommandLine/ThrowHelper.cs b/src/Nitro/CommandLine/src/CommandLine/ThrowHelper.cs index e92be854da1..9ad9d1787ab 100644 --- a/src/Nitro/CommandLine/src/CommandLine/ThrowHelper.cs +++ b/src/Nitro/CommandLine/src/CommandLine/ThrowHelper.cs @@ -24,6 +24,8 @@ public static Exception CouldNotSelectEdges() public static Exception NoOpenApiCollectionSelected() => Exit("You did not select an OpenAPI collection!"); + public static Exception NoMcpFeatureCollectionSelected() => Exit("You did not select an MCP Feature Collection!"); + public static Exception ThereWasAnIssueWithTheRequest(string? additional = null) => new ExitException( $"There was an issue with the request to the server.\n{additional ?? ""}"); diff --git a/src/Nitro/CommandLine/src/CommandLine/fragments.graphql b/src/Nitro/CommandLine/src/CommandLine/fragments.graphql index e0a02974b72..2536b79d3da 100644 --- a/src/Nitro/CommandLine/src/CommandLine/fragments.graphql +++ b/src/Nitro/CommandLine/src/CommandLine/fragments.graphql @@ -453,6 +453,7 @@ fragment WaitForApproval on WaitForApproval { ...InvalidGraphQLSchemaError ...PersistedQueryValidationError ...OpenApiCollectionValidationError + ...McpFeatureCollectionValidationError } } ... on ClientDeployment { @@ -466,6 +467,7 @@ fragment WaitForApproval on WaitForApproval { ...InvalidGraphQLSchemaError ...PersistedQueryValidationError ...OpenApiCollectionValidationError + ...McpFeatureCollectionValidationError } } ... on OpenApiCollectionDeployment { @@ -473,6 +475,11 @@ fragment WaitForApproval on WaitForApproval { ...OpenApiCollectionValidationError } } + ... on McpFeatureCollectionDeployment { + errors { + ...McpFeatureCollectionValidationError + } + } } } @@ -511,6 +518,7 @@ fragment FusionConfigurationValidationFailed on FusionConfigurationValidationFai ...SchemaVersionChangeViolationError ...InvalidGraphQLSchemaError ...OpenApiCollectionValidationError + ...McpFeatureCollectionValidationError } } fragment FusionConfigurationValidationSuccess on FusionConfigurationValidationSuccess { @@ -537,6 +545,7 @@ fragment SchemaVersionValidationFailed on SchemaVersionValidationFailed { ...SchemaVersionChangeViolationError ...OperationsAreNotAllowedError ...OpenApiCollectionValidationError + ...McpFeatureCollectionValidationError } } @@ -560,6 +569,7 @@ fragment SchemaVersionPublishFailed on SchemaVersionPublishFailed { ...UnexpectedProcessingError ...ProcessingTimeoutError ...OpenApiCollectionValidationError + ...McpFeatureCollectionValidationError } } @@ -773,3 +783,86 @@ fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchive fragment OpenApiCollectionValidationArchiveError on OpenApiCollectionValidationArchiveError { message } + +fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { + mcpFeatureCollectionId + ...Error +} + +fragment McpFeatureCollectionVersionNotFoundError on McpFeatureCollectionVersionNotFoundError { + tag + message + mcpFeatureCollectionId + ...Error +} + +fragment McpFeatureCollectionVersionValidationFailed on McpFeatureCollectionVersionValidationFailed { + state + errors { + ...ProcessingTimeoutError + ...UnexpectedProcessingError + ...McpFeatureCollectionValidationError + ...McpFeatureCollectionValidationArchiveError + } +} + +fragment McpFeatureCollectionVersionValidationSuccess on McpFeatureCollectionVersionValidationSuccess { + state +} + +fragment McpFeatureCollectionVersionPublishSuccess on McpFeatureCollectionVersionPublishSuccess { + state +} + +fragment McpFeatureCollectionVersionPublishFailed on McpFeatureCollectionVersionPublishFailed { + state + errors { + ...UnexpectedProcessingError + ...ProcessingTimeoutError + ...ConcurrentOperationError + ...McpFeatureCollectionValidationError + } +} + +fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { + collections { + mcpFeatureCollection { + id + name + } + entities { + errors { + ...McpFeatureCollectionValidationDocumentError + ...McpFeatureCollectionValidationEntityValidationError + } + ... on McpFeatureCollectionValidationPrompt { + name + } + ... on McpFeatureCollectionValidationTool { + name + } + } + } +} + +fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { + code + message + path + locations { + column + line + } +} + +fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { + message +} + +fragment InvalidMcpFeatureCollectionArchiveError on InvalidMcpFeatureCollectionArchiveError { + message +} + +fragment McpFeatureCollectionValidationArchiveError on McpFeatureCollectionValidationArchiveError { + message +} diff --git a/src/Nitro/CommandLine/src/CommandLine/persisted/operations.json b/src/Nitro/CommandLine/src/CommandLine/persisted/operations.json index eecced2708d..18f7d8440a0 100644 --- a/src/Nitro/CommandLine/src/CommandLine/persisted/operations.json +++ b/src/Nitro/CommandLine/src/CommandLine/persisted/operations.json @@ -1 +1 @@ -{"07c3c01d9752c92ac4dfe838c5ae069d":"mutation UploadClient($input: UploadClientInput!) { uploadClient(input: $input) { __typename clientVersion { __typename id } errors { __typename ... UnauthorizedOperation ... ClientNotFoundError ... DuplicatedTagError ... ConcurrentOperationError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error }","0941232cf9cd2c8d7f601407e9d64dbf":"query ShowApiCommandQuery($workspaceId: ID!) { node(id: $workspaceId) { __typename ... ApiDetailPrompt_Api } } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } }","147298b7a2e237b07f06e5a7c2b1ef84":"mutation RevokePersonalAccessTokenCommandMutation($input: RevokePersonalAccessTokenInput!) { revokePersonalAccessToken(input: $input) { __typename personalAccessToken { __typename ... RevokePersonalAccessTokenCommand_PersonalAccessToken } errors { __typename ... PersonalAccessTokenNotFoundError ... Error } } } fragment RevokePersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { id description ... PersonalAccessTokenDetailPrompt_PersonalAccessToken } fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { id description createdAt expiresAt } fragment PersonalAccessTokenNotFoundError on PersonalAccessTokenNotFoundError { __typename message ... Error } fragment Error on Error { message }","166ad390699c17f05b060ddcef1d7bea":"subscription OnSchemaVersionValidationUpdated($requestId: ID!) { onSchemaVersionValidationUpdate(requestId: $requestId) { __typename ... SchemaVersionValidationFailed ... SchemaVersionValidationSuccess ... OperationInProgress ... ValidationInProgress } } fragment SchemaVersionValidationFailed on SchemaVersionValidationFailed { state errors { __typename ... UnexpectedProcessingError ... ProcessingTimeoutError ... SchemaVersionSyntaxError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... SchemaVersionChangeViolationError ... OperationsAreNotAllowedError ... OpenApiCollectionValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { __typename changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment SchemaVersionValidationSuccess on SchemaVersionValidationSuccess { state changes { __typename ... SchemaChangeLogEntry } } fragment OperationInProgress on OperationInProgress { state } fragment ValidationInProgress on ValidationInProgress { state }","1764f051057ef08b61a865c8e104c057":"mutation SetApiSettingsCommandMutation($input: UpdateApiSettingsInput!) { updateApiSettings(input: $input) { __typename api { __typename ... SetApiSettingsCommandMutation_Api } errors { __typename ... ApiNotFoundError ... UnauthorizedOperation ... Error } } } fragment SetApiSettingsCommandMutation_Api on Api { name path ... SelectApiPrompt_Api } fragment SelectApiPrompt_Api on Api { id name path ... ApiDetailPrompt_Api } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment Error on Error { message } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","1781486920ef931abe7278a40b70d4cb":"mutation CreateClientCommandMutation($input: CreateClientInput!) { createClient(input: $input) { __typename client { __typename ... CreateClientCommandMutation_Client } errors { __typename ... Error ... ApiNotFoundError ... UnauthorizedOperation } } } fragment CreateClientCommandMutation_Client on Client { name id ... ClientDetailPrompt_Client } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","1b7ebd5e95b4f31767e0271f30d34242":"query ListMockCommandQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename mockSchemas(after: $after, first: $first) { __typename edges { __typename ... ListMockCommand_MockEdge } pageInfo { __typename ... PageInfo } } } } fragment ListMockCommand_MockEdge on MockSchemasEdge { cursor node { __typename ... ListMockCommand_Mock } } fragment ListMockCommand_Mock on MockSchema { id name ... MockSchemaDetailPrompt } fragment MockSchemaDetailPrompt on MockSchema { id name createdAt createdBy { __typename username } modifiedAt modifiedBy { __typename username } downstreamUrl url } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","202e2ae2330c6b4feffd8347e5769aba":"query ShowClientCommandQuery($clientId: ID!) { node(id: $clientId) { __typename ... ClientDetailPrompt_Client } } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } }","20f39ffae2a0c07009008b6836aba650":"mutation ValidateSchemaVersion($input: ValidateSchemaInput!) { validateSchema(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... ApiNotFoundError ... StageNotFoundError ... SchemaNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment SchemaNotFoundError on SchemaNotFoundError { message apiId tag ... Error }","250a3500a6feb1b9b5ce5d47a3a47053":"mutation PublishClientVersion($input: PublishClientInput!) { publishClient(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... ClientNotFoundError ... ClientVersionNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error } fragment ClientVersionNotFoundError on ClientVersionNotFoundError { tag message clientId ... Error }","2513a57b937300d59ac37db38e3592e5":"mutation StartFusionConfigurationPublish($input: StartFusionConfigurationCompositionInput!) { startFusionConfigurationComposition(input: $input) { __typename errors { __typename ... UnauthorizedOperation ... FusionConfigurationRequestNotFoundError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","300e84eb9429d49f38148115ee5a4681":"mutation BeginFusionConfigurationPublish($input: BeginFusionConfigurationPublishInput!) { beginFusionConfigurationPublish(input: $input) { __typename requestId errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... ApiNotFoundError ... SubgraphInvalidError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment SubgraphInvalidError on SubgraphInvalidError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","3097e85429305b83549a5845054a2148":"query FetchConfiguration($id: ID!, $stage: String!) { fusionConfigurationByApiId(id: $id, stage: $stage) { __typename downloadUrl tag } }","35993498c755e51178ea417965c3a164":"query ShowEnvironmentCommandQuery($workspaceId: ID!) { node(id: $workspaceId) { __typename ... EnvironmentDetailPrompt_Environment } } fragment EnvironmentDetailPrompt_Environment on Environment { id name workspace { __typename name } }","39e48feb517b1ca240cec144623126c8":"mutation CancelFusionConfigurationPublish($input: CancelFusionConfigurationCompositionInput!) { cancelFusionConfigurationComposition(input: $input) { __typename errors { __typename ... UnauthorizedOperation ... FusionConfigurationRequestNotFoundError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","3b4f426d4f45f7b8d9472110f137e869":"query DeleteApiCommandQuery($apiId: ID!) { node(id: $apiId) { __typename ... DeleteApiCommandQuery_Api } } fragment DeleteApiCommandQuery_Api on Api { name version workspace { __typename id } }","3b9dd305052255f2532cc87618161446":"mutation PublishOpenApiCollectionCommandMutation($input: PublishOpenApiCollectionInput!) { publishOpenApiCollection(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... OpenApiCollectionNotFoundError ... OpenApiCollectionVersionNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { openApiCollectionId ... Error } fragment OpenApiCollectionVersionNotFoundError on OpenApiCollectionVersionNotFoundError { tag message openApiCollectionId ... Error }","3e7c1fd788b6f07b00b9a4ca68aa6807":"subscription PublishOpenApiCollectionCommandSubscription($requestId: ID!) { onOpenApiCollectionVersionPublishingUpdate(requestId: $requestId) { __typename ... OpenApiCollectionVersionPublishFailed ... OpenApiCollectionVersionPublishSuccess ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved ... ProcessingTaskIsReady ... ProcessingTaskIsQueued } } fragment OpenApiCollectionVersionPublishFailed on OpenApiCollectionVersionPublishFailed { state errors { __typename ... UnexpectedProcessingError ... ProcessingTimeoutError ... ConcurrentOperationError ... OpenApiCollectionValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment OpenApiCollectionVersionPublishSuccess on OpenApiCollectionVersionPublishSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } } } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment ProcessingTaskApproved on ProcessingTaskApproved { state } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition }","4457adbf3d9f1a7ca591ced02a6e97c0":"query ListApiCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { workspaceById(workspaceId: $workspaceId) { __typename apis(after: $after, first: $first) { __typename edges { __typename ... ListApiCommand_ApiEdge } pageInfo { __typename ... PageInfo } } } } fragment ListApiCommand_ApiEdge on ApisEdge { cursor node { __typename ... ListApiCommand_Api } } fragment ListApiCommand_Api on Api { id name path ... ApiDetailPrompt_Api } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","46cc5ecdb98af795749ecb6f2d419092":"mutation CreatePersonalAccessTokenCommandMutation($input: CreatePersonalAccessTokenInput!) { createPersonalAccessToken(input: $input) { __typename result { __typename token { __typename ... CreatePersonalAccessTokenCommandMutation_PersonalAccessToken } secret } errors { __typename ... UnauthorizedOperation ... Error } } } fragment CreatePersonalAccessTokenCommandMutation_PersonalAccessToken on PersonalAccessToken { id ... PersonalAccessTokenDetailPrompt_PersonalAccessToken } fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { id description createdAt expiresAt } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message }","5758d2edb80ceb1aa05694485dfdaeed":"mutation CreateOpenApiCollectionCommandMutation($input: CreateOpenApiCollectionInput!) { createOpenApiCollection(input: $input) { __typename openApiCollection { __typename ... CreateOpenApiCollectionCommandMutation_OpenApiCollection } errors { __typename ... Error ... ApiNotFoundError ... UnauthorizedOperation } } } fragment CreateOpenApiCollectionCommandMutation_OpenApiCollection on OpenApiCollection { name id ... OpenApiCollectionDetailPrompt_OpenApiCollection } fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { id name } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","5d5c59c7c2e869cd8e37ec6a854f6d61":"query ListEnvironmentCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { workspaceById(workspaceId: $workspaceId) { __typename environments(after: $after, first: $first) { __typename edges { __typename ... ListEnvironmentCommand_EnvironmentEdge } pageInfo { __typename ... PageInfo } } } } fragment ListEnvironmentCommand_EnvironmentEdge on EnvironmentsEdge { cursor node { __typename ... ListEnvironmentCommand_Environment } } fragment ListEnvironmentCommand_Environment on Environment { id name ... EnvironmentDetailPrompt_Environment } fragment EnvironmentDetailPrompt_Environment on Environment { id name workspace { __typename name } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","66d4f44040a316fb6a0c2d1ba29de363":"mutation CreateApiCommandMutation($workspaceId: ID!, $path: [String!]!, $name: String!, $kind: ApiKind) { pushWorkspaceChanges(input: { changes: [ { api: { create: { name: $name, path: $path, referenceId: \u0022api\u0022, workspaceId: $workspaceId, kind: $kind } } } ] }) { __typename changes { __typename referenceId error { __typename ... Error } result { __typename ... CreateApiCommandMutation_Api } } errors { __typename ... Error } } } fragment Error on Error { message } fragment CreateApiCommandMutation_Api on Api { name ... ApiDetailPrompt_Api } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } }","6795a8c7e7e54136f9b2b563753a134e":"mutation ValidateFusionConfigurationPublish($input: ValidateFusionConfigurationCompositionInput!) { validateFusionConfigurationComposition(input: $input) { __typename errors { __typename ... UnauthorizedOperation ... FusionConfigurationRequestNotFoundError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","6ad8835f646dd18170a8670d303ed8ae":"mutation UploadFusionSubgraph($input: UploadFusionSubgraphInput!) { uploadFusionSubgraph(input: $input) { __typename fusionSubgraphVersion { __typename id } errors { __typename ... UnauthorizedOperation ... DuplicatedTagError ... ConcurrentOperationError ... InvalidFusionSourceSchemaArchiveError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment InvalidFusionSourceSchemaArchiveError on InvalidFusionSourceSchemaArchiveError { message }","6f2552b2efab37e84bf41e0fd2ef37e1":"mutation UploadSchema($input: UploadSchemaInput!) { uploadSchema(input: $input) { __typename schemaVersion { __typename id } errors { __typename ... UnauthorizedOperation ... DuplicatedTagError ... ConcurrentOperationError ... ApiNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error }","73d47ef547275fb8b3364106fa956029":"query ListApiKeyCommandQuery($workspaceId: ID!, $after: String, $first: Int) { workspaceById(workspaceId: $workspaceId) { __typename apiKeys(after: $after, first: $first) { __typename edges { __typename ... ListApiKeyCommand_ApiKeyEdge } pageInfo { __typename ... PageInfo } } } } fragment ListApiKeyCommand_ApiKeyEdge on ApiKeysEdge { cursor node { __typename ... ListApiKeyCommand_ApiKey } } fragment ListApiKeyCommand_ApiKey on ApiKey { id name ... ApiKeyDetailPrompt_ApiKey } fragment ApiKeyDetailPrompt_ApiKey on ApiKey { id name workspace { __typename name } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","7bba9b8a24c252e56c3a8f077ab6c62f":"subscription OnClientVersionValidationUpdated($requestId: ID!) { onClientVersionValidationUpdate(requestId: $requestId) { __typename ... ClientVersionValidationFailed ... ClientVersionValidationSuccess ... OperationInProgress ... ValidationInProgress } } fragment ClientVersionValidationFailed on ClientVersionValidationFailed { state errors { __typename ... PersistedQueryValidationError ... ProcessingTimeoutError ... UnexpectedProcessingError } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ClientVersionValidationSuccess on ClientVersionValidationSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment ValidationInProgress on ValidationInProgress { state }","7fec40ddb8a7c93a69817de82959f38a":"mutation UploadOpenApiCollectionCommandMutation($input: UploadOpenApiCollectionInput!) { uploadOpenApiCollection(input: $input) { __typename openApiCollectionVersion { __typename id } errors { __typename ... UnauthorizedOperation ... OpenApiCollectionNotFoundError ... InvalidOpenApiCollectionArchiveError ... DuplicatedTagError ... ConcurrentOperationError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { openApiCollectionId ... Error } fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchiveError { message } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error }","81090212b99490332c1b0614e4509b64":"query ListWorkspaceCommandQuery($after: String, $first: Int) { me { __typename workspaces(after: $after, first: $first) { __typename edges { __typename ... ListWorkspaceCommand_WorkspaceEdge } pageInfo { __typename ... PageInfo } } } } fragment ListWorkspaceCommand_WorkspaceEdge on WorkspacesEdge { cursor node { __typename ... ListWorkspaceCommand_Workspace } } fragment ListWorkspaceCommand_Workspace on Workspace { id name personal ... WorkspaceDetailPrompt_Workspace } fragment WorkspaceDetailPrompt_Workspace on Workspace { id name personal } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","8403a76012480cacf4ff791dfdf9ab03":"query ListPersonalAccessTokenCommandQuery($after: String, $first: Int) { me { __typename personalAccessTokens(after: $after, first: $first) { __typename edges { __typename ... ListPersonalAccessTokenCommand_PersonalAccessTokenEdge } pageInfo { __typename ... PageInfo } } } } fragment ListPersonalAccessTokenCommand_PersonalAccessTokenEdge on PersonalAccessTokensEdge { cursor node { __typename ... ListPersonalAccessTokenCommand_PersonalAccessToken } } fragment ListPersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { id description expiresAt createdAt ... PersonalAccessTokenDetailPrompt_PersonalAccessToken } fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { id description createdAt expiresAt } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","89d9fea06884980ce1721212dff781b9":"query SelectClientPromptQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename clients(after: $after, first: $first) { __typename edges { __typename ... SelectClientPrompt_ClientEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectClientPrompt_ClientEdge on ClientsEdge { cursor node { __typename ... SelectClientPrompt_Client } } fragment SelectClientPrompt_Client on Client { id name ... ClientDetailPrompt_Client } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","8e45bab85454282aa6a1f07c57c013a1":"query SelectMockSchemaPromptQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename mockSchemas(after: $after, first: $first) { __typename edges { __typename ... SelectMockCommand_MockEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectMockCommand_MockEdge on MockSchemasEdge { cursor node { __typename ... SelectMockCommand_Mock } } fragment SelectMockCommand_Mock on MockSchema { id name ... MockSchemaDetailPrompt } fragment MockSchemaDetailPrompt on MockSchema { id name createdAt createdBy { __typename username } modifiedAt modifiedBy { __typename username } downstreamUrl url } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","992b8ab9fd5e45569fda61f616659e1a":"mutation CreateApiKeyCommandMutation($input: CreateApiKeyInput!) { createApiKey(input: $input) { __typename result { __typename key { __typename ... CreateApiKeyCommandMutation_ApiKey } secret } errors { __typename ... ApiNotFoundError ... WorkspaceNotFound ... PersonalWorkspaceNotSupportedError ... ValidationError ... RoleNotFoundError ... Error } } } fragment CreateApiKeyCommandMutation_ApiKey on ApiKey { id ... ApiKeyDetailPrompt_ApiKey } fragment ApiKeyDetailPrompt_ApiKey on ApiKey { id name workspace { __typename name } } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment Error on Error { message } fragment WorkspaceNotFound on WorkspaceNotFound { __typename message workspaceId ... Error } fragment PersonalWorkspaceNotSupportedError on PersonalWorkspaceNotSupportedError { __typename message ... Error } fragment ValidationError on ValidationError { __typename message errors { __typename message } ... Error } fragment RoleNotFoundError on RoleNotFoundError { __typename message roleId ... Error }","9b074c531a248f96a09cb537bc195d0e":"subscription OnClientVersionPublishUpdated($requestId: ID!) { onClientVersionPublishingUpdate(requestId: $requestId) { __typename ... ClientVersionPublishFailed ... ClientVersionPublishSuccess ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved ... ProcessingTaskIsReady ... ProcessingTaskIsQueued } } fragment ClientVersionPublishFailed on ClientVersionPublishFailed { state errors { __typename ... UnexpectedProcessingError ... ProcessingTimeoutError ... ConcurrentOperationError ... PersistedQueryValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment ClientVersionPublishSuccess on ClientVersionPublishSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } } } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment ProcessingTaskApproved on ProcessingTaskApproved { state } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition }","a2a2d861eabc2d4a6f484b396c3e3c8e":"query ListClientCommandQuery($apiId: ID!, $after: String, $first: Int) { node(id: $apiId) { __typename ... on Api { clients(after: $after, first: $first) { __typename edges { __typename cursor node { __typename id name ... ClientDetailPrompt_Client } } pageInfo { __typename ... PageInfo } } } } } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","a50cce1fa951fcdc164e78c6f8726374":"mutation UpdateStages($input: UpdateStagesInput!) { updateStages(input: $input) { __typename api { __typename stages { __typename ... StageDetailPrompt_Stage } } errors { __typename ... ApiNotFoundError ... StageNotFoundError ... StagesHavePublishedDependenciesError ... on Error { message __typename } } } } fragment StageDetailPrompt_Stage on Stage { id name displayName conditions { __typename ... StageCondition } } fragment StageCondition on StageCondition { ... AfterStageCondition } fragment AfterStageCondition on AfterStageCondition { afterStage { __typename name } } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment StagesHavePublishedDependenciesError on StagesHavePublishedDependenciesError { __typename message stages { __typename name publishedSchema { __typename version { __typename tag } } publishedClients { __typename client { __typename name } publishedVersions { __typename version { __typename tag } } } } }","a99c8cea1f4c187c4b1a8f615aa22fac":"query SelectApiPromptQuery($workspaceId: ID!, $after: Version, $first: Int) { workspaceById(workspaceId: $workspaceId) { __typename apis(after: $after, first: $first) { __typename edges { __typename ... SelectApiPrompt_ApiEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectApiPrompt_ApiEdge on ApisEdge { cursor node { __typename ... SelectApiPrompt_Api } } fragment SelectApiPrompt_Api on Api { id name path ... ApiDetailPrompt_Api } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","b111cbd352fbdf127d499cd8d4f84433":"mutation UpdateMockSchema($mockSchemaId: ID!, $baseSchemaFile: Upload, $downstreamUrl: String, $extensionsSchemaFile: Upload, $name: String) { updateMockSchema(input: { id: $mockSchemaId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { __typename mockSchema { __typename id ... MockSchemaDetailPrompt } errors { __typename ... MockSchemaNotFoundError ... MockSchemaNonUniqueNameError } } } fragment MockSchemaDetailPrompt on MockSchema { id name createdAt createdBy { __typename username } modifiedAt modifiedBy { __typename username } downstreamUrl url } fragment MockSchemaNotFoundError on MockSchemaNotFoundError { __typename message ... Error } fragment Error on Error { message } fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { __typename message name ... Error }","b9c18dd6d50ba180b90f48a77b096216":"mutation CreateEnvironmentCommandMutation($workspaceId: ID!, $name: String!) { pushWorkspaceChanges(input: { changes: [ { environment: { create: { name: $name, referenceId: \u0022env\u0022, workspaceId: $workspaceId } } } ] }) { __typename changes { __typename referenceId error { __typename ... Error } result { __typename ... CreateEnvironmentCommandMutation_Environment } } errors { __typename ... Error } } } fragment Error on Error { message } fragment CreateEnvironmentCommandMutation_Environment on Environment { name ... EnvironmentDetailPrompt_Environment } fragment EnvironmentDetailPrompt_Environment on Environment { id name workspace { __typename name } }","bb47ed5730c7751c64b0f1fdcc3f0bf5":"query SetDefaultWorkspaceCommand_SelectWorkspace_Query($after: String, $first: Int) { me { __typename workspaces(after: $after, first: $first) { __typename edges { __typename cursor node { __typename ... SetDefaultWorkspaceCommand_Workspace } } pageInfo { __typename ... PageInfo } } } } fragment SetDefaultWorkspaceCommand_Workspace on Workspace { id name personal } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","c46bc0ec07d6718f937f666a59f957b0":"query ShowWorkspaceCommandQuery($workspaceId: ID!) { node(id: $workspaceId) { __typename ... WorkspaceDetailPrompt_Workspace } } fragment WorkspaceDetailPrompt_Workspace on Workspace { id name personal }","c6d62ca62c529e9795322ced95b5c1a8":"mutation UnpublishClient($input: UnpublishClientInput!) { unpublishClient(input: $input) { __typename clientVersion { __typename id client { __typename name } } errors { __typename ... ConcurrentOperationError ... StageNotFoundError ... ClientVersionNotFoundError ... UnauthorizedOperation ... ClientNotFoundError ... Error } } } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment ClientVersionNotFoundError on ClientVersionNotFoundError { tag message clientId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error }","c8d21a0bb621a01952ffb6224bbbfe0d":"mutation CreateWorkspaceCommandMutation($input: CreateWorkspaceInput!) { createWorkspace(input: $input) { __typename workspace { __typename id name ... WorkspaceDetailPrompt_Workspace } errors { __typename ... on UnauthorizedOperation { message } ... on ValidationError { message } ... on Error { message } } } } fragment WorkspaceDetailPrompt_Workspace on Workspace { id name personal }","cac7b1f4800fb9c9c07bed47c5bbd775":"query SelectOpenApiCollectionPromptQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename openApiCollections(after: $after, first: $first) { __typename edges { __typename ... SelectOpenApiCollectionPrompt_OpenApiCollectionEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectOpenApiCollectionPrompt_OpenApiCollectionEdge on ApiOpenApiCollectionsEdge { cursor node { __typename ... SelectOpenApiCollectionPrompt_OpenApiCollection } } fragment SelectOpenApiCollectionPrompt_OpenApiCollection on OpenApiCollection { id name ... OpenApiCollectionDetailPrompt_OpenApiCollection } fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { id name } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","cd98258e9a04da627abb631685b299df":"query ListOpenApiCollectionCommandQuery($apiId: ID!, $after: String, $first: Int) { node(id: $apiId) { __typename ... on Api { openApiCollections(first: $first, after: $after) { __typename edges { __typename ... ListOpenApiCollectionCommandQuery_OpenApiCollectionEdge } pageInfo { __typename ... PageInfo } } } } } fragment ListOpenApiCollectionCommandQuery_OpenApiCollectionEdge on ApiOpenApiCollectionsEdge { cursor node { __typename ... ListOpenApiCollectionCommandQuery_OpenApiCollection } } fragment ListOpenApiCollectionCommandQuery_OpenApiCollection on OpenApiCollection { id name ... OpenApiCollectionDetailPrompt_OpenApiCollection } fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { id name } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","d2cc1b6089c0354e5f8addda5f6d5b56":"query PageClientVersionDetailQuery($id: ID!, $after: String!) { node(id: $id) { __typename ... on Client { versions(first: 10, after: $after) { __typename pageInfo { __typename hasNextPage endCursor } edges { __typename ... ClientDetailPrompt_ClientVersionEdge } } } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } }","d38a43a7b864ae9c3d787807b5f5f460":"mutation PublishSchemaVersion($input: PublishSchemaInput!) { publishSchema(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... ApiNotFoundError ... StageNotFoundError ... SchemaNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment SchemaNotFoundError on SchemaNotFoundError { message apiId tag ... Error }","d9c3122efc6baad1e0bfd610a4503566":"mutation DeleteApiKeyCommandMutation($input: DeleteApiKeyInput!) { deleteApiKey(input: $input) { __typename apiKey { __typename ... DeleteApiKeyCommand_ApiKey } errors { __typename ... ApiKeyNotFoundError ... Error } } } fragment DeleteApiKeyCommand_ApiKey on ApiKey { id ... ApiKeyDetailPrompt_ApiKey } fragment ApiKeyDetailPrompt_ApiKey on ApiKey { id name workspace { __typename name } } fragment ApiKeyNotFoundError on ApiKeyNotFoundError { __typename message apiKeyId } fragment Error on Error { message }","dc1c3bda5bde62cf3e0b9afcaf32824e":"mutation CreateMockSchema($apiId: ID!, $baseSchemaFile: Upload!, $downstreamUrl: String!, $extensionsSchemaFile: Upload!, $name: String!) { createMockSchema(input: { apiId: $apiId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { __typename mockSchema { __typename id ... MockSchemaDetailPrompt } errors { __typename ... ApiNotFoundError ... MockSchemaNonUniqueNameError } } } fragment MockSchemaDetailPrompt on MockSchema { id name createdAt createdBy { __typename username } modifiedAt modifiedBy { __typename username } downstreamUrl url } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment Error on Error { message } fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { __typename message name ... Error }","dc969e65dffba08309fb25e19b221ead":"subscription OnSchemaVersionPublishUpdated($requestId: ID!) { onSchemaVersionPublishingUpdate(requestId: $requestId) { __typename ... SchemaVersionPublishFailed ... SchemaVersionPublishSuccess ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved ... ProcessingTaskIsReady ... ProcessingTaskIsQueued } } fragment SchemaVersionPublishFailed on SchemaVersionPublishFailed { __typename state errors { __typename ... ConcurrentOperationError ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaVersionChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... UnexpectedProcessingError ... ProcessingTimeoutError ... OpenApiCollectionValidationError } } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { __typename changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment SchemaVersionPublishSuccess on SchemaVersionPublishSuccess { __typename state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } } } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment ProcessingTaskApproved on ProcessingTaskApproved { state } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition }","dff3ece7aa10daff0067410c52faf6d7":"mutation DeleteApiCommandMutation($apiId: ID!) { deleteApiById(input: { apiId: $apiId }) { __typename api { __typename name ... ApiDetailPrompt_Api } errors { __typename ... Error } } } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } } fragment Error on Error { message }","e3e054b46fe9354a8fe15a8b0dea1624":"mutation ValidateOpenApiCollectionCommandMutation($input: ValidateOpenApiCollectionInput!) { validateOpenApiCollection(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... OpenApiCollectionNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { openApiCollectionId ... Error }","e6b146560b4bb683bc425f9dad615f5a":"subscription OnFusionConfigurationPublishingTaskChanged($requestId: ID!) { onFusionConfigurationPublishingTaskChanged(requestId: $requestId) { state __typename ... ProcessingTaskIsReady ... ProcessingTaskIsQueued ... FusionConfigurationPublishingSuccess ... FusionConfigurationPublishingFailed ... FusionConfigurationValidationSuccess ... FusionConfigurationValidationFailed ... ValidationInProgress ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved } } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition } fragment FusionConfigurationPublishingSuccess on FusionConfigurationPublishingSuccess { success: __typename } fragment FusionConfigurationPublishingFailed on FusionConfigurationPublishingFailed { failed: __typename errors { __typename message ... InvalidGraphQLSchemaError } } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment FusionConfigurationValidationSuccess on FusionConfigurationValidationSuccess { success: __typename changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment FusionConfigurationValidationFailed on FusionConfigurationValidationFailed { failed: __typename errors { __typename ... UnexpectedProcessingError ... PersistedQueryValidationError ... SchemaVersionChangeViolationError ... InvalidGraphQLSchemaError ... OpenApiCollectionValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { __typename changes { __typename ... SchemaChangeLogEntry } } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment ValidationInProgress on ValidationInProgress { state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } } } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment ProcessingTaskApproved on ProcessingTaskApproved { state }","e7828352aef7a0d78376c52b11a5f54e":"mutation DeleteOpenApiCollectionByIdCommandMutation($input: DeleteOpenApiCollectionByIdInput!) { deleteOpenApiCollectionById(input: $input) { __typename openApiCollection { __typename ... DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection } errors { __typename ... Error ... OpenApiCollectionNotFoundError ... UnauthorizedOperation } } } fragment DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection on OpenApiCollection { name id ... OpenApiCollectionDetailPrompt_OpenApiCollection } fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { id name } fragment Error on Error { message } fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { openApiCollectionId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","f230bc4d51fb6f5456e272f3aa163aff":"subscription ValidateOpenApiCollectionCommandSubscription($requestId: ID!) { onOpenApiCollectionVersionValidationUpdate(requestId: $requestId) { __typename ... OpenApiCollectionVersionValidationFailed ... OpenApiCollectionVersionValidationSuccess ... OperationInProgress ... ValidationInProgress } } fragment OpenApiCollectionVersionValidationFailed on OpenApiCollectionVersionValidationFailed { state errors { __typename ... ProcessingTimeoutError ... UnexpectedProcessingError ... OpenApiCollectionValidationError ... OpenApiCollectionValidationArchiveError } } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment OpenApiCollectionValidationArchiveError on OpenApiCollectionValidationArchiveError { message } fragment OpenApiCollectionVersionValidationSuccess on OpenApiCollectionVersionValidationSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment ValidationInProgress on ValidationInProgress { state }","f450cfe13d84ae3c3768bac9c9fbf8b4":"mutation DeleteClientByIdCommandMutation($input: DeleteClientByIdInput!) { deleteClientById(input: $input) { __typename client { __typename ... DeleteClientByIdCommandMutation_Client } errors { __typename ... Error ... ClientNotFoundError ... UnauthorizedOperation } } } fragment DeleteClientByIdCommandMutation_Client on Client { name id ... ClientDetailPrompt_Client } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } } fragment Error on Error { message } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","fc0b2ca98ba95caa6eadb2f1b725006f":"mutation ValidateClientVersion($input: ValidateClientInput!) { validateClient(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... ClientNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error }","fd942dedfe5e376385ae72436c97104a":"mutation CommitFusionConfigurationPublish($input: CommitFusionConfigurationPublishInput!) { commitFusionConfigurationPublish(input: $input) { __typename errors { __typename ... UnauthorizedOperation ... FusionConfigurationRequestNotFoundError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","ff9fd00b5a96ac47f6aa413a425337d9":"query ListStagesQuery($apiId: ID!) { node(id: $apiId) { __typename ... on Api { stages { __typename id name displayName ... StageDetailPrompt_Stage } } } } fragment StageDetailPrompt_Stage on Stage { id name displayName conditions { __typename ... StageCondition } } fragment StageCondition on StageCondition { ... AfterStageCondition } fragment AfterStageCondition on AfterStageCondition { afterStage { __typename name } }"} \ No newline at end of file +{"021d1bafc7178634565bd5543b9e55b7":"query SelectMcpFeatureCollectionPromptQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename mcpFeatureCollections(after: $after, first: $first) { __typename edges { __typename ... SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { cursor node { __typename ... SelectMcpFeatureCollectionPrompt_McpFeatureCollection } } fragment SelectMcpFeatureCollectionPrompt_McpFeatureCollection on McpFeatureCollection { id name ... McpFeatureCollectionDetailPrompt_McpFeatureCollection } fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { id name } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","07c3c01d9752c92ac4dfe838c5ae069d":"mutation UploadClient($input: UploadClientInput!) { uploadClient(input: $input) { __typename clientVersion { __typename id } errors { __typename ... UnauthorizedOperation ... ClientNotFoundError ... DuplicatedTagError ... ConcurrentOperationError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error }","0941232cf9cd2c8d7f601407e9d64dbf":"query ShowApiCommandQuery($workspaceId: ID!) { node(id: $workspaceId) { __typename ... ApiDetailPrompt_Api } } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } }","147298b7a2e237b07f06e5a7c2b1ef84":"mutation RevokePersonalAccessTokenCommandMutation($input: RevokePersonalAccessTokenInput!) { revokePersonalAccessToken(input: $input) { __typename personalAccessToken { __typename ... RevokePersonalAccessTokenCommand_PersonalAccessToken } errors { __typename ... PersonalAccessTokenNotFoundError ... Error } } } fragment RevokePersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { id description ... PersonalAccessTokenDetailPrompt_PersonalAccessToken } fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { id description createdAt expiresAt } fragment PersonalAccessTokenNotFoundError on PersonalAccessTokenNotFoundError { __typename message ... Error } fragment Error on Error { message }","1764f051057ef08b61a865c8e104c057":"mutation SetApiSettingsCommandMutation($input: UpdateApiSettingsInput!) { updateApiSettings(input: $input) { __typename api { __typename ... SetApiSettingsCommandMutation_Api } errors { __typename ... ApiNotFoundError ... UnauthorizedOperation ... Error } } } fragment SetApiSettingsCommandMutation_Api on Api { name path ... SelectApiPrompt_Api } fragment SelectApiPrompt_Api on Api { id name path ... ApiDetailPrompt_Api } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment Error on Error { message } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","1781486920ef931abe7278a40b70d4cb":"mutation CreateClientCommandMutation($input: CreateClientInput!) { createClient(input: $input) { __typename client { __typename ... CreateClientCommandMutation_Client } errors { __typename ... Error ... ApiNotFoundError ... UnauthorizedOperation } } } fragment CreateClientCommandMutation_Client on Client { name id ... ClientDetailPrompt_Client } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","17c73eb7d485a0bf03b77efc0d4b7ecd":"mutation ValidateMcpFeatureCollectionCommandMutation($input: ValidateMcpFeatureCollectionInput!) { validateMcpFeatureCollection(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... McpFeatureCollectionNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { mcpFeatureCollectionId ... Error }","1b7ebd5e95b4f31767e0271f30d34242":"query ListMockCommandQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename mockSchemas(after: $after, first: $first) { __typename edges { __typename ... ListMockCommand_MockEdge } pageInfo { __typename ... PageInfo } } } } fragment ListMockCommand_MockEdge on MockSchemasEdge { cursor node { __typename ... ListMockCommand_Mock } } fragment ListMockCommand_Mock on MockSchema { id name ... MockSchemaDetailPrompt } fragment MockSchemaDetailPrompt on MockSchema { id name createdAt createdBy { __typename username } modifiedAt modifiedBy { __typename username } downstreamUrl url } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","202e2ae2330c6b4feffd8347e5769aba":"query ShowClientCommandQuery($clientId: ID!) { node(id: $clientId) { __typename ... ClientDetailPrompt_Client } } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } }","20f39ffae2a0c07009008b6836aba650":"mutation ValidateSchemaVersion($input: ValidateSchemaInput!) { validateSchema(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... ApiNotFoundError ... StageNotFoundError ... SchemaNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment SchemaNotFoundError on SchemaNotFoundError { message apiId tag ... Error }","250a3500a6feb1b9b5ce5d47a3a47053":"mutation PublishClientVersion($input: PublishClientInput!) { publishClient(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... ClientNotFoundError ... ClientVersionNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error } fragment ClientVersionNotFoundError on ClientVersionNotFoundError { tag message clientId ... Error }","2513a57b937300d59ac37db38e3592e5":"mutation StartFusionConfigurationPublish($input: StartFusionConfigurationCompositionInput!) { startFusionConfigurationComposition(input: $input) { __typename errors { __typename ... UnauthorizedOperation ... FusionConfigurationRequestNotFoundError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","300e84eb9429d49f38148115ee5a4681":"mutation BeginFusionConfigurationPublish($input: BeginFusionConfigurationPublishInput!) { beginFusionConfigurationPublish(input: $input) { __typename requestId errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... ApiNotFoundError ... SubgraphInvalidError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment SubgraphInvalidError on SubgraphInvalidError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","3097e85429305b83549a5845054a2148":"query FetchConfiguration($id: ID!, $stage: String!) { fusionConfigurationByApiId(id: $id, stage: $stage) { __typename downloadUrl tag } }","35993498c755e51178ea417965c3a164":"query ShowEnvironmentCommandQuery($workspaceId: ID!) { node(id: $workspaceId) { __typename ... EnvironmentDetailPrompt_Environment } } fragment EnvironmentDetailPrompt_Environment on Environment { id name workspace { __typename name } }","39e48feb517b1ca240cec144623126c8":"mutation CancelFusionConfigurationPublish($input: CancelFusionConfigurationCompositionInput!) { cancelFusionConfigurationComposition(input: $input) { __typename errors { __typename ... UnauthorizedOperation ... FusionConfigurationRequestNotFoundError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","3b4f426d4f45f7b8d9472110f137e869":"query DeleteApiCommandQuery($apiId: ID!) { node(id: $apiId) { __typename ... DeleteApiCommandQuery_Api } } fragment DeleteApiCommandQuery_Api on Api { name version workspace { __typename id } }","3b9dd305052255f2532cc87618161446":"mutation PublishOpenApiCollectionCommandMutation($input: PublishOpenApiCollectionInput!) { publishOpenApiCollection(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... OpenApiCollectionNotFoundError ... OpenApiCollectionVersionNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { openApiCollectionId ... Error } fragment OpenApiCollectionVersionNotFoundError on OpenApiCollectionVersionNotFoundError { tag message openApiCollectionId ... Error }","3cb7cfb1e2c00815ac6b61d95b84b060":"subscription PublishOpenApiCollectionCommandSubscription($requestId: ID!) { onOpenApiCollectionVersionPublishingUpdate(requestId: $requestId) { __typename ... OpenApiCollectionVersionPublishFailed ... OpenApiCollectionVersionPublishSuccess ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved ... ProcessingTaskIsReady ... ProcessingTaskIsQueued } } fragment OpenApiCollectionVersionPublishFailed on OpenApiCollectionVersionPublishFailed { state errors { __typename ... UnexpectedProcessingError ... ProcessingTimeoutError ... ConcurrentOperationError ... OpenApiCollectionValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment OpenApiCollectionVersionPublishSuccess on OpenApiCollectionVersionPublishSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } ... on McpFeatureCollectionDeployment { errors { __typename ... McpFeatureCollectionValidationError } } } } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { collections { __typename mcpFeatureCollection { __typename id name } entities { __typename errors { __typename ... McpFeatureCollectionValidationDocumentError ... McpFeatureCollectionValidationEntityValidationError } ... on McpFeatureCollectionValidationPrompt { name } ... on McpFeatureCollectionValidationTool { name } } } } fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { code message path locations { __typename column line } } fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { message } fragment ProcessingTaskApproved on ProcessingTaskApproved { state } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition }","4457adbf3d9f1a7ca591ced02a6e97c0":"query ListApiCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { workspaceById(workspaceId: $workspaceId) { __typename apis(after: $after, first: $first) { __typename edges { __typename ... ListApiCommand_ApiEdge } pageInfo { __typename ... PageInfo } } } } fragment ListApiCommand_ApiEdge on ApisEdge { cursor node { __typename ... ListApiCommand_Api } } fragment ListApiCommand_Api on Api { id name path ... ApiDetailPrompt_Api } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","46cc5ecdb98af795749ecb6f2d419092":"mutation CreatePersonalAccessTokenCommandMutation($input: CreatePersonalAccessTokenInput!) { createPersonalAccessToken(input: $input) { __typename result { __typename token { __typename ... CreatePersonalAccessTokenCommandMutation_PersonalAccessToken } secret } errors { __typename ... UnauthorizedOperation ... Error } } } fragment CreatePersonalAccessTokenCommandMutation_PersonalAccessToken on PersonalAccessToken { id ... PersonalAccessTokenDetailPrompt_PersonalAccessToken } fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { id description createdAt expiresAt } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message }","50d28b9daaa1cc64ed3762123b19bc5a":"subscription OnSchemaVersionValidationUpdated($requestId: ID!) { onSchemaVersionValidationUpdate(requestId: $requestId) { __typename ... SchemaVersionValidationFailed ... SchemaVersionValidationSuccess ... OperationInProgress ... ValidationInProgress } } fragment SchemaVersionValidationFailed on SchemaVersionValidationFailed { state errors { __typename ... UnexpectedProcessingError ... ProcessingTimeoutError ... SchemaVersionSyntaxError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... SchemaVersionChangeViolationError ... OperationsAreNotAllowedError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { __typename changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { collections { __typename mcpFeatureCollection { __typename id name } entities { __typename errors { __typename ... McpFeatureCollectionValidationDocumentError ... McpFeatureCollectionValidationEntityValidationError } ... on McpFeatureCollectionValidationPrompt { name } ... on McpFeatureCollectionValidationTool { name } } } } fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { code message path locations { __typename column line } } fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { message } fragment SchemaVersionValidationSuccess on SchemaVersionValidationSuccess { state changes { __typename ... SchemaChangeLogEntry } } fragment OperationInProgress on OperationInProgress { state } fragment ValidationInProgress on ValidationInProgress { state }","5758d2edb80ceb1aa05694485dfdaeed":"mutation CreateOpenApiCollectionCommandMutation($input: CreateOpenApiCollectionInput!) { createOpenApiCollection(input: $input) { __typename openApiCollection { __typename ... CreateOpenApiCollectionCommandMutation_OpenApiCollection } errors { __typename ... Error ... ApiNotFoundError ... UnauthorizedOperation } } } fragment CreateOpenApiCollectionCommandMutation_OpenApiCollection on OpenApiCollection { name id ... OpenApiCollectionDetailPrompt_OpenApiCollection } fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { id name } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","5d5c59c7c2e869cd8e37ec6a854f6d61":"query ListEnvironmentCommandQuery($workspaceId: ID!, $after: Version, $first: Int) { workspaceById(workspaceId: $workspaceId) { __typename environments(after: $after, first: $first) { __typename edges { __typename ... ListEnvironmentCommand_EnvironmentEdge } pageInfo { __typename ... PageInfo } } } } fragment ListEnvironmentCommand_EnvironmentEdge on EnvironmentsEdge { cursor node { __typename ... ListEnvironmentCommand_Environment } } fragment ListEnvironmentCommand_Environment on Environment { id name ... EnvironmentDetailPrompt_Environment } fragment EnvironmentDetailPrompt_Environment on Environment { id name workspace { __typename name } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","66d4f44040a316fb6a0c2d1ba29de363":"mutation CreateApiCommandMutation($workspaceId: ID!, $path: [String!]!, $name: String!, $kind: ApiKind) { pushWorkspaceChanges(input: { changes: [ { api: { create: { name: $name, path: $path, referenceId: \u0022api\u0022, workspaceId: $workspaceId, kind: $kind } } } ] }) { __typename changes { __typename referenceId error { __typename ... Error } result { __typename ... CreateApiCommandMutation_Api } } errors { __typename ... Error } } } fragment Error on Error { message } fragment CreateApiCommandMutation_Api on Api { name ... ApiDetailPrompt_Api } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } }","6795a8c7e7e54136f9b2b563753a134e":"mutation ValidateFusionConfigurationPublish($input: ValidateFusionConfigurationCompositionInput!) { validateFusionConfigurationComposition(input: $input) { __typename errors { __typename ... UnauthorizedOperation ... FusionConfigurationRequestNotFoundError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","6ad8835f646dd18170a8670d303ed8ae":"mutation UploadFusionSubgraph($input: UploadFusionSubgraphInput!) { uploadFusionSubgraph(input: $input) { __typename fusionSubgraphVersion { __typename id } errors { __typename ... UnauthorizedOperation ... DuplicatedTagError ... ConcurrentOperationError ... InvalidFusionSourceSchemaArchiveError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment InvalidFusionSourceSchemaArchiveError on InvalidFusionSourceSchemaArchiveError { message }","6f2552b2efab37e84bf41e0fd2ef37e1":"mutation UploadSchema($input: UploadSchemaInput!) { uploadSchema(input: $input) { __typename schemaVersion { __typename id } errors { __typename ... UnauthorizedOperation ... DuplicatedTagError ... ConcurrentOperationError ... ApiNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error }","736b80b8a3e39c5fcb5c192b42e084b4":"mutation PublishMcpFeatureCollectionCommandMutation($input: PublishMcpFeatureCollectionInput!) { publishMcpFeatureCollection(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... McpFeatureCollectionNotFoundError ... McpFeatureCollectionVersionNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { mcpFeatureCollectionId ... Error } fragment McpFeatureCollectionVersionNotFoundError on McpFeatureCollectionVersionNotFoundError { tag message mcpFeatureCollectionId ... Error }","73d47ef547275fb8b3364106fa956029":"query ListApiKeyCommandQuery($workspaceId: ID!, $after: String, $first: Int) { workspaceById(workspaceId: $workspaceId) { __typename apiKeys(after: $after, first: $first) { __typename edges { __typename ... ListApiKeyCommand_ApiKeyEdge } pageInfo { __typename ... PageInfo } } } } fragment ListApiKeyCommand_ApiKeyEdge on ApiKeysEdge { cursor node { __typename ... ListApiKeyCommand_ApiKey } } fragment ListApiKeyCommand_ApiKey on ApiKey { id name ... ApiKeyDetailPrompt_ApiKey } fragment ApiKeyDetailPrompt_ApiKey on ApiKey { id name workspace { __typename name } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","7bba9b8a24c252e56c3a8f077ab6c62f":"subscription OnClientVersionValidationUpdated($requestId: ID!) { onClientVersionValidationUpdate(requestId: $requestId) { __typename ... ClientVersionValidationFailed ... ClientVersionValidationSuccess ... OperationInProgress ... ValidationInProgress } } fragment ClientVersionValidationFailed on ClientVersionValidationFailed { state errors { __typename ... PersistedQueryValidationError ... ProcessingTimeoutError ... UnexpectedProcessingError } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ClientVersionValidationSuccess on ClientVersionValidationSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment ValidationInProgress on ValidationInProgress { state }","7fec40ddb8a7c93a69817de82959f38a":"mutation UploadOpenApiCollectionCommandMutation($input: UploadOpenApiCollectionInput!) { uploadOpenApiCollection(input: $input) { __typename openApiCollectionVersion { __typename id } errors { __typename ... UnauthorizedOperation ... OpenApiCollectionNotFoundError ... InvalidOpenApiCollectionArchiveError ... DuplicatedTagError ... ConcurrentOperationError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { openApiCollectionId ... Error } fragment InvalidOpenApiCollectionArchiveError on InvalidOpenApiCollectionArchiveError { message } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error }","7fed272d6aaed647d16d156856db0eed":"query ListMcpFeatureCollectionCommandQuery($apiId: ID!, $after: String, $first: Int) { node(id: $apiId) { __typename ... on Api { mcpFeatureCollections(first: $first, after: $after) { __typename edges { __typename ... ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge } pageInfo { __typename ... PageInfo } } } } } fragment ListMcpFeatureCollectionCommandQuery_McpFeatureCollectionEdge on ApiMcpFeatureCollectionsEdge { cursor node { __typename ... ListMcpFeatureCollectionCommandQuery_McpFeatureCollection } } fragment ListMcpFeatureCollectionCommandQuery_McpFeatureCollection on McpFeatureCollection { id name ... McpFeatureCollectionDetailPrompt_McpFeatureCollection } fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { id name } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","81090212b99490332c1b0614e4509b64":"query ListWorkspaceCommandQuery($after: String, $first: Int) { me { __typename workspaces(after: $after, first: $first) { __typename edges { __typename ... ListWorkspaceCommand_WorkspaceEdge } pageInfo { __typename ... PageInfo } } } } fragment ListWorkspaceCommand_WorkspaceEdge on WorkspacesEdge { cursor node { __typename ... ListWorkspaceCommand_Workspace } } fragment ListWorkspaceCommand_Workspace on Workspace { id name personal ... WorkspaceDetailPrompt_Workspace } fragment WorkspaceDetailPrompt_Workspace on Workspace { id name personal } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","8403a76012480cacf4ff791dfdf9ab03":"query ListPersonalAccessTokenCommandQuery($after: String, $first: Int) { me { __typename personalAccessTokens(after: $after, first: $first) { __typename edges { __typename ... ListPersonalAccessTokenCommand_PersonalAccessTokenEdge } pageInfo { __typename ... PageInfo } } } } fragment ListPersonalAccessTokenCommand_PersonalAccessTokenEdge on PersonalAccessTokensEdge { cursor node { __typename ... ListPersonalAccessTokenCommand_PersonalAccessToken } } fragment ListPersonalAccessTokenCommand_PersonalAccessToken on PersonalAccessToken { id description expiresAt createdAt ... PersonalAccessTokenDetailPrompt_PersonalAccessToken } fragment PersonalAccessTokenDetailPrompt_PersonalAccessToken on PersonalAccessToken { id description createdAt expiresAt } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","89d9fea06884980ce1721212dff781b9":"query SelectClientPromptQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename clients(after: $after, first: $first) { __typename edges { __typename ... SelectClientPrompt_ClientEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectClientPrompt_ClientEdge on ClientsEdge { cursor node { __typename ... SelectClientPrompt_Client } } fragment SelectClientPrompt_Client on Client { id name ... ClientDetailPrompt_Client } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","8e45bab85454282aa6a1f07c57c013a1":"query SelectMockSchemaPromptQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename mockSchemas(after: $after, first: $first) { __typename edges { __typename ... SelectMockCommand_MockEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectMockCommand_MockEdge on MockSchemasEdge { cursor node { __typename ... SelectMockCommand_Mock } } fragment SelectMockCommand_Mock on MockSchema { id name ... MockSchemaDetailPrompt } fragment MockSchemaDetailPrompt on MockSchema { id name createdAt createdBy { __typename username } modifiedAt modifiedBy { __typename username } downstreamUrl url } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","953b6423bcadc90c2f30315980801a9d":"subscription PublishMcpFeatureCollectionCommandSubscription($requestId: ID!) { onMcpFeatureCollectionVersionPublishingUpdate(requestId: $requestId) { __typename ... McpFeatureCollectionVersionPublishFailed ... McpFeatureCollectionVersionPublishSuccess ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved ... ProcessingTaskIsReady ... ProcessingTaskIsQueued } } fragment McpFeatureCollectionVersionPublishFailed on McpFeatureCollectionVersionPublishFailed { state errors { __typename ... UnexpectedProcessingError ... ProcessingTimeoutError ... ConcurrentOperationError ... McpFeatureCollectionValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { collections { __typename mcpFeatureCollection { __typename id name } entities { __typename errors { __typename ... McpFeatureCollectionValidationDocumentError ... McpFeatureCollectionValidationEntityValidationError } ... on McpFeatureCollectionValidationPrompt { name } ... on McpFeatureCollectionValidationTool { name } } } } fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { code message path locations { __typename column line } } fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { message } fragment McpFeatureCollectionVersionPublishSuccess on McpFeatureCollectionVersionPublishSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } ... on McpFeatureCollectionDeployment { errors { __typename ... McpFeatureCollectionValidationError } } } } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment ProcessingTaskApproved on ProcessingTaskApproved { state } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition }","992b8ab9fd5e45569fda61f616659e1a":"mutation CreateApiKeyCommandMutation($input: CreateApiKeyInput!) { createApiKey(input: $input) { __typename result { __typename key { __typename ... CreateApiKeyCommandMutation_ApiKey } secret } errors { __typename ... ApiNotFoundError ... WorkspaceNotFound ... PersonalWorkspaceNotSupportedError ... ValidationError ... RoleNotFoundError ... Error } } } fragment CreateApiKeyCommandMutation_ApiKey on ApiKey { id ... ApiKeyDetailPrompt_ApiKey } fragment ApiKeyDetailPrompt_ApiKey on ApiKey { id name workspace { __typename name } } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment Error on Error { message } fragment WorkspaceNotFound on WorkspaceNotFound { __typename message workspaceId ... Error } fragment PersonalWorkspaceNotSupportedError on PersonalWorkspaceNotSupportedError { __typename message ... Error } fragment ValidationError on ValidationError { __typename message errors { __typename message } ... Error } fragment RoleNotFoundError on RoleNotFoundError { __typename message roleId ... Error }","9a5ac6c756ae69d3cb53bae89f844cb6":"subscription ValidateMcpFeatureCollectionCommandSubscription($requestId: ID!) { onMcpFeatureCollectionVersionValidationUpdate(requestId: $requestId) { __typename ... McpFeatureCollectionVersionValidationFailed ... McpFeatureCollectionVersionValidationSuccess ... OperationInProgress ... ValidationInProgress } } fragment McpFeatureCollectionVersionValidationFailed on McpFeatureCollectionVersionValidationFailed { state errors { __typename ... ProcessingTimeoutError ... UnexpectedProcessingError ... McpFeatureCollectionValidationError ... McpFeatureCollectionValidationArchiveError } } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { collections { __typename mcpFeatureCollection { __typename id name } entities { __typename errors { __typename ... McpFeatureCollectionValidationDocumentError ... McpFeatureCollectionValidationEntityValidationError } ... on McpFeatureCollectionValidationPrompt { name } ... on McpFeatureCollectionValidationTool { name } } } } fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { code message path locations { __typename column line } } fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { message } fragment McpFeatureCollectionValidationArchiveError on McpFeatureCollectionValidationArchiveError { message } fragment McpFeatureCollectionVersionValidationSuccess on McpFeatureCollectionVersionValidationSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment ValidationInProgress on ValidationInProgress { state }","a299690b49723e3cdbf46ea56ec77e25":"subscription OnSchemaVersionPublishUpdated($requestId: ID!) { onSchemaVersionPublishingUpdate(requestId: $requestId) { __typename ... SchemaVersionPublishFailed ... SchemaVersionPublishSuccess ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved ... ProcessingTaskIsReady ... ProcessingTaskIsQueued } } fragment SchemaVersionPublishFailed on SchemaVersionPublishFailed { __typename state errors { __typename ... ConcurrentOperationError ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaVersionChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... UnexpectedProcessingError ... ProcessingTimeoutError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { __typename changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { collections { __typename mcpFeatureCollection { __typename id name } entities { __typename errors { __typename ... McpFeatureCollectionValidationDocumentError ... McpFeatureCollectionValidationEntityValidationError } ... on McpFeatureCollectionValidationPrompt { name } ... on McpFeatureCollectionValidationTool { name } } } } fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { code message path locations { __typename column line } } fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { message } fragment SchemaVersionPublishSuccess on SchemaVersionPublishSuccess { __typename state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } ... on McpFeatureCollectionDeployment { errors { __typename ... McpFeatureCollectionValidationError } } } } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment ProcessingTaskApproved on ProcessingTaskApproved { state } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition }","a2a2d861eabc2d4a6f484b396c3e3c8e":"query ListClientCommandQuery($apiId: ID!, $after: String, $first: Int) { node(id: $apiId) { __typename ... on Api { clients(after: $after, first: $first) { __typename edges { __typename cursor node { __typename id name ... ClientDetailPrompt_Client } } pageInfo { __typename ... PageInfo } } } } } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","a50cce1fa951fcdc164e78c6f8726374":"mutation UpdateStages($input: UpdateStagesInput!) { updateStages(input: $input) { __typename api { __typename stages { __typename ... StageDetailPrompt_Stage } } errors { __typename ... ApiNotFoundError ... StageNotFoundError ... StagesHavePublishedDependenciesError ... on Error { message __typename } } } } fragment StageDetailPrompt_Stage on Stage { id name displayName conditions { __typename ... StageCondition } } fragment StageCondition on StageCondition { ... AfterStageCondition } fragment AfterStageCondition on AfterStageCondition { afterStage { __typename name } } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment StagesHavePublishedDependenciesError on StagesHavePublishedDependenciesError { __typename message stages { __typename name publishedSchema { __typename version { __typename tag } } publishedClients { __typename client { __typename name } publishedVersions { __typename version { __typename tag } } } } }","a87294003c8142e3996f1398a866c64f":"mutation DeleteMcpFeatureCollectionByIdCommandMutation($input: DeleteMcpFeatureCollectionByIdInput!) { deleteMcpFeatureCollectionById(input: $input) { __typename mcpFeatureCollection { __typename ... DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection } errors { __typename ... Error ... McpFeatureCollectionNotFoundError ... UnauthorizedOperation } } } fragment DeleteMcpFeatureCollectionByIdCommandMutation_McpFeatureCollection on McpFeatureCollection { name id ... McpFeatureCollectionDetailPrompt_McpFeatureCollection } fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { id name } fragment Error on Error { message } fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { mcpFeatureCollectionId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","a99c8cea1f4c187c4b1a8f615aa22fac":"query SelectApiPromptQuery($workspaceId: ID!, $after: Version, $first: Int) { workspaceById(workspaceId: $workspaceId) { __typename apis(after: $after, first: $first) { __typename edges { __typename ... SelectApiPrompt_ApiEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectApiPrompt_ApiEdge on ApisEdge { cursor node { __typename ... SelectApiPrompt_Api } } fragment SelectApiPrompt_Api on Api { id name path ... ApiDetailPrompt_Api } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","ad7832cb824babc85c41b06418596ac6":"subscription OnFusionConfigurationPublishingTaskChanged($requestId: ID!) { onFusionConfigurationPublishingTaskChanged(requestId: $requestId) { state __typename ... ProcessingTaskIsReady ... ProcessingTaskIsQueued ... FusionConfigurationPublishingSuccess ... FusionConfigurationPublishingFailed ... FusionConfigurationValidationSuccess ... FusionConfigurationValidationFailed ... ValidationInProgress ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved } } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition } fragment FusionConfigurationPublishingSuccess on FusionConfigurationPublishingSuccess { success: __typename } fragment FusionConfigurationPublishingFailed on FusionConfigurationPublishingFailed { failed: __typename errors { __typename message ... InvalidGraphQLSchemaError } } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment FusionConfigurationValidationSuccess on FusionConfigurationValidationSuccess { success: __typename changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment FusionConfigurationValidationFailed on FusionConfigurationValidationFailed { failed: __typename errors { __typename ... UnexpectedProcessingError ... PersistedQueryValidationError ... SchemaVersionChangeViolationError ... InvalidGraphQLSchemaError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment SchemaVersionChangeViolationError on SchemaVersionChangeViolationError { __typename changes { __typename ... SchemaChangeLogEntry } } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { collections { __typename mcpFeatureCollection { __typename id name } entities { __typename errors { __typename ... McpFeatureCollectionValidationDocumentError ... McpFeatureCollectionValidationEntityValidationError } ... on McpFeatureCollectionValidationPrompt { name } ... on McpFeatureCollectionValidationTool { name } } } } fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { code message path locations { __typename column line } } fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { message } fragment ValidationInProgress on ValidationInProgress { state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } ... on McpFeatureCollectionDeployment { errors { __typename ... McpFeatureCollectionValidationError } } } } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment ProcessingTaskApproved on ProcessingTaskApproved { state }","b111cbd352fbdf127d499cd8d4f84433":"mutation UpdateMockSchema($mockSchemaId: ID!, $baseSchemaFile: Upload, $downstreamUrl: String, $extensionsSchemaFile: Upload, $name: String) { updateMockSchema(input: { id: $mockSchemaId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { __typename mockSchema { __typename id ... MockSchemaDetailPrompt } errors { __typename ... MockSchemaNotFoundError ... MockSchemaNonUniqueNameError } } } fragment MockSchemaDetailPrompt on MockSchema { id name createdAt createdBy { __typename username } modifiedAt modifiedBy { __typename username } downstreamUrl url } fragment MockSchemaNotFoundError on MockSchemaNotFoundError { __typename message ... Error } fragment Error on Error { message } fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { __typename message name ... Error }","b653a6a4dbd2d797d69ee87b43d3d391":"subscription OnClientVersionPublishUpdated($requestId: ID!) { onClientVersionPublishingUpdate(requestId: $requestId) { __typename ... ClientVersionPublishFailed ... ClientVersionPublishSuccess ... OperationInProgress ... WaitForApproval ... ProcessingTaskApproved ... ProcessingTaskIsReady ... ProcessingTaskIsQueued } } fragment ClientVersionPublishFailed on ClientVersionPublishFailed { state errors { __typename ... UnexpectedProcessingError ... ProcessingTimeoutError ... ConcurrentOperationError ... PersistedQueryValidationError } } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment PersistedQueryValidationError on PersistedQueryValidationError { message client { __typename id name } queries { __typename deployedTags message hash errors { __typename message code path locations { __typename column line } } } } fragment ClientVersionPublishSuccess on ClientVersionPublishSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment WaitForApproval on WaitForApproval { state deployment { __typename ... on SchemaDeployment { errors { __typename ... OperationsAreNotAllowedError ... SchemaVersionSyntaxError ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on ClientDeployment { errors { __typename ... PersistedQueryValidationError } } ... on FusionConfigurationDeployment { errors { __typename ... SchemaChangeViolationError ... InvalidGraphQLSchemaError ... PersistedQueryValidationError ... OpenApiCollectionValidationError ... McpFeatureCollectionValidationError } } ... on OpenApiCollectionDeployment { errors { __typename ... OpenApiCollectionValidationError } } ... on McpFeatureCollectionDeployment { errors { __typename ... McpFeatureCollectionValidationError } } } } fragment OperationsAreNotAllowedError on OperationsAreNotAllowedError { __typename message } fragment SchemaVersionSyntaxError on SchemaVersionSyntaxError { __typename message column position line } fragment SchemaChangeViolationError on SchemaChangeViolationError { message changes { __typename ... SchemaChangeLogEntry } } fragment SchemaChangeLogEntry on SchemaChangeLogEntry { __typename ... TypeSystemMemberAddedChange ... TypeSystemMemberRemovedChange ... ObjectModifiedChange ... InputObjectModifiedChange ... DirectiveModifiedChange ... ScalarModifiedChange ... EnumModifiedChange ... UnionModifiedChange ... InterfaceModifiedChange ... SchemaChange } fragment TypeSystemMemberAddedChange on TypeSystemMemberAddedChange { ... SchemaChange coordinate severity __typename } fragment SchemaChange on SchemaChange { severity } fragment TypeSystemMemberRemovedChange on TypeSystemMemberRemovedChange { ... SchemaChange coordinate severity __typename } fragment ObjectModifiedChange on ObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged } } fragment InterfaceImplementationAdded on InterfaceImplementationAdded { ... SchemaChange interfaceName severity } fragment InterfaceImplementationRemoved on InterfaceImplementationRemoved { ... SchemaChange interfaceName severity } fragment DescriptionChanged on DescriptionChanged { ... SchemaChange old new severity __typename } fragment FieldAddedChange on FieldAddedChange { ... SchemaChange coordinate typeName fieldName severity } fragment FieldRemovedChange on FieldRemovedChange { ... SchemaChange coordinate typeName fieldName severity } fragment OutputFieldChanged on OutputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... ArgumentRemoved ... ArgumentAdded ... ArgumentChanged ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment ArgumentRemoved on ArgumentRemoved { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentAdded on ArgumentAdded { ... SchemaChange coordinate severity name typeName __typename } fragment ArgumentChanged on ArgumentChanged { ... SchemaChange coordinate severity name __typename changes { __typename ... DescriptionChanged ... DeprecatedChange ... TypeChanged } } fragment DeprecatedChange on DeprecatedChange { ... SchemaChange deprecationReason severity } fragment TypeChanged on TypeChanged { ... SchemaChange oldType newType severity __typename } fragment InputObjectModifiedChange on InputObjectModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... InputFieldChanged } } fragment InputFieldChanged on InputFieldChanged { ... SchemaChange coordinate severity fieldName changes { __typename ... DescriptionChanged ... TypeChanged ... DeprecatedChange } } fragment DirectiveModifiedChange on DirectiveModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DirectiveLocationAdded ... DirectiveLocationRemoved ... DescriptionChanged ... ArgumentRemoved ... ArgumentChanged ... ArgumentAdded } } fragment DirectiveLocationAdded on DirectiveLocationAdded { ... SchemaChange location severity __typename } fragment DirectiveLocationRemoved on DirectiveLocationRemoved { ... SchemaChange location severity __typename } fragment ScalarModifiedChange on ScalarModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged } } fragment EnumModifiedChange on EnumModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... EnumValueRemoved ... EnumValueAdded ... EnumValueChanged } } fragment EnumValueRemoved on EnumValueRemoved { ... SchemaChange coordinate severity } fragment EnumValueAdded on EnumValueAdded { ... SchemaChange coordinate severity } fragment EnumValueChanged on EnumValueChanged { ... SchemaChange coordinate severity changes { __typename ... DeprecatedChange ... DescriptionChanged } } fragment UnionModifiedChange on UnionModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... DescriptionChanged ... UnionMemberRemoved ... UnionMemberAdded } } fragment UnionMemberRemoved on UnionMemberRemoved { ... SchemaChange typeName severity } fragment UnionMemberAdded on UnionMemberAdded { ... SchemaChange typeName severity } fragment InterfaceModifiedChange on InterfaceModifiedChange { ... SchemaChange coordinate severity __typename changes { __typename ... InterfaceImplementationAdded ... InterfaceImplementationRemoved ... DescriptionChanged ... FieldAddedChange ... FieldRemovedChange ... OutputFieldChanged ... PossibleTypeAdded ... PossibleTypeRemoved } } fragment PossibleTypeAdded on PossibleTypeAdded { ... SchemaChange typeName severity } fragment PossibleTypeRemoved on PossibleTypeRemoved { ... SchemaChange typeName severity } fragment InvalidGraphQLSchemaError on InvalidGraphQLSchemaError { __typename message errors { __typename message code } } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment McpFeatureCollectionValidationError on McpFeatureCollectionValidationError { collections { __typename mcpFeatureCollection { __typename id name } entities { __typename errors { __typename ... McpFeatureCollectionValidationDocumentError ... McpFeatureCollectionValidationEntityValidationError } ... on McpFeatureCollectionValidationPrompt { name } ... on McpFeatureCollectionValidationTool { name } } } } fragment McpFeatureCollectionValidationDocumentError on McpFeatureCollectionValidationDocumentError { code message path locations { __typename column line } } fragment McpFeatureCollectionValidationEntityValidationError on McpFeatureCollectionValidationEntityValidationError { message } fragment ProcessingTaskApproved on ProcessingTaskApproved { state } fragment ProcessingTaskIsReady on ProcessingTaskIsReady { ready: __typename } fragment ProcessingTaskIsQueued on ProcessingTaskIsQueued { queued: __typename queuePosition }","b9c18dd6d50ba180b90f48a77b096216":"mutation CreateEnvironmentCommandMutation($workspaceId: ID!, $name: String!) { pushWorkspaceChanges(input: { changes: [ { environment: { create: { name: $name, referenceId: \u0022env\u0022, workspaceId: $workspaceId } } } ] }) { __typename changes { __typename referenceId error { __typename ... Error } result { __typename ... CreateEnvironmentCommandMutation_Environment } } errors { __typename ... Error } } } fragment Error on Error { message } fragment CreateEnvironmentCommandMutation_Environment on Environment { name ... EnvironmentDetailPrompt_Environment } fragment EnvironmentDetailPrompt_Environment on Environment { id name workspace { __typename name } }","ba70847f71df37bf6b676e2c4ef91570":"mutation CreateMcpFeatureCollectionCommandMutation($input: CreateMcpFeatureCollectionInput!) { createMcpFeatureCollection(input: $input) { __typename mcpFeatureCollection { __typename ... CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection } errors { __typename ... Error ... ApiNotFoundError ... UnauthorizedOperation } } } fragment CreateMcpFeatureCollectionCommandMutation_McpFeatureCollection on McpFeatureCollection { name id ... McpFeatureCollectionDetailPrompt_McpFeatureCollection } fragment McpFeatureCollectionDetailPrompt_McpFeatureCollection on McpFeatureCollection { id name } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","bb47ed5730c7751c64b0f1fdcc3f0bf5":"query SetDefaultWorkspaceCommand_SelectWorkspace_Query($after: String, $first: Int) { me { __typename workspaces(after: $after, first: $first) { __typename edges { __typename cursor node { __typename ... SetDefaultWorkspaceCommand_Workspace } } pageInfo { __typename ... PageInfo } } } } fragment SetDefaultWorkspaceCommand_Workspace on Workspace { id name personal } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","c46bc0ec07d6718f937f666a59f957b0":"query ShowWorkspaceCommandQuery($workspaceId: ID!) { node(id: $workspaceId) { __typename ... WorkspaceDetailPrompt_Workspace } } fragment WorkspaceDetailPrompt_Workspace on Workspace { id name personal }","c6d62ca62c529e9795322ced95b5c1a8":"mutation UnpublishClient($input: UnpublishClientInput!) { unpublishClient(input: $input) { __typename clientVersion { __typename id client { __typename name } } errors { __typename ... ConcurrentOperationError ... StageNotFoundError ... ClientVersionNotFoundError ... UnauthorizedOperation ... ClientNotFoundError ... Error } } } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment ClientVersionNotFoundError on ClientVersionNotFoundError { tag message clientId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error }","c8d21a0bb621a01952ffb6224bbbfe0d":"mutation CreateWorkspaceCommandMutation($input: CreateWorkspaceInput!) { createWorkspace(input: $input) { __typename workspace { __typename id name ... WorkspaceDetailPrompt_Workspace } errors { __typename ... on UnauthorizedOperation { message } ... on ValidationError { message } ... on Error { message } } } } fragment WorkspaceDetailPrompt_Workspace on Workspace { id name personal }","cac7b1f4800fb9c9c07bed47c5bbd775":"query SelectOpenApiCollectionPromptQuery($apiId: ID!, $after: String, $first: Int) { apiById(id: $apiId) { __typename openApiCollections(after: $after, first: $first) { __typename edges { __typename ... SelectOpenApiCollectionPrompt_OpenApiCollectionEdge } pageInfo { __typename ... PageInfo } } } } fragment SelectOpenApiCollectionPrompt_OpenApiCollectionEdge on ApiOpenApiCollectionsEdge { cursor node { __typename ... SelectOpenApiCollectionPrompt_OpenApiCollection } } fragment SelectOpenApiCollectionPrompt_OpenApiCollection on OpenApiCollection { id name ... OpenApiCollectionDetailPrompt_OpenApiCollection } fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { id name } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","cd98258e9a04da627abb631685b299df":"query ListOpenApiCollectionCommandQuery($apiId: ID!, $after: String, $first: Int) { node(id: $apiId) { __typename ... on Api { openApiCollections(first: $first, after: $after) { __typename edges { __typename ... ListOpenApiCollectionCommandQuery_OpenApiCollectionEdge } pageInfo { __typename ... PageInfo } } } } } fragment ListOpenApiCollectionCommandQuery_OpenApiCollectionEdge on ApiOpenApiCollectionsEdge { cursor node { __typename ... ListOpenApiCollectionCommandQuery_OpenApiCollection } } fragment ListOpenApiCollectionCommandQuery_OpenApiCollection on OpenApiCollection { id name ... OpenApiCollectionDetailPrompt_OpenApiCollection } fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { id name } fragment PageInfo on PageInfo { hasPreviousPage hasNextPage endCursor startCursor }","d2cc1b6089c0354e5f8addda5f6d5b56":"query PageClientVersionDetailQuery($id: ID!, $after: String!) { node(id: $id) { __typename ... on Client { versions(first: 10, after: $after) { __typename pageInfo { __typename hasNextPage endCursor } edges { __typename ... ClientDetailPrompt_ClientVersionEdge } } } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } }","d38a43a7b864ae9c3d787807b5f5f460":"mutation PublishSchemaVersion($input: PublishSchemaInput!) { publishSchema(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... ApiNotFoundError ... StageNotFoundError ... SchemaNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment SchemaNotFoundError on SchemaNotFoundError { message apiId tag ... Error }","d9c3122efc6baad1e0bfd610a4503566":"mutation DeleteApiKeyCommandMutation($input: DeleteApiKeyInput!) { deleteApiKey(input: $input) { __typename apiKey { __typename ... DeleteApiKeyCommand_ApiKey } errors { __typename ... ApiKeyNotFoundError ... Error } } } fragment DeleteApiKeyCommand_ApiKey on ApiKey { id ... ApiKeyDetailPrompt_ApiKey } fragment ApiKeyDetailPrompt_ApiKey on ApiKey { id name workspace { __typename name } } fragment ApiKeyNotFoundError on ApiKeyNotFoundError { __typename message apiKeyId } fragment Error on Error { message }","dc1c3bda5bde62cf3e0b9afcaf32824e":"mutation CreateMockSchema($apiId: ID!, $baseSchemaFile: Upload!, $downstreamUrl: String!, $extensionsSchemaFile: Upload!, $name: String!) { createMockSchema(input: { apiId: $apiId, baseSchemaFile: $baseSchemaFile, downstreamUrl: $downstreamUrl, extensionsSchemaFile: $extensionsSchemaFile, name: $name }) { __typename mockSchema { __typename id ... MockSchemaDetailPrompt } errors { __typename ... ApiNotFoundError ... MockSchemaNonUniqueNameError } } } fragment MockSchemaDetailPrompt on MockSchema { id name createdAt createdBy { __typename username } modifiedAt modifiedBy { __typename username } downstreamUrl url } fragment ApiNotFoundError on ApiNotFoundError { __typename message apiId ... Error } fragment Error on Error { message } fragment MockSchemaNonUniqueNameError on MockSchemaNonUniqueNameError { __typename message name ... Error }","dff3ece7aa10daff0067410c52faf6d7":"mutation DeleteApiCommandMutation($apiId: ID!) { deleteApiById(input: { apiId: $apiId }) { __typename api { __typename name ... ApiDetailPrompt_Api } errors { __typename ... Error } } } fragment ApiDetailPrompt_Api on Api { id name path workspace { __typename id name } settings { __typename schemaRegistry { __typename treatDangerousAsBreaking allowBreakingSchemaChanges } } } fragment Error on Error { message }","e3e054b46fe9354a8fe15a8b0dea1624":"mutation ValidateOpenApiCollectionCommandMutation($input: ValidateOpenApiCollectionInput!) { validateOpenApiCollection(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... OpenApiCollectionNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { openApiCollectionId ... Error }","e7828352aef7a0d78376c52b11a5f54e":"mutation DeleteOpenApiCollectionByIdCommandMutation($input: DeleteOpenApiCollectionByIdInput!) { deleteOpenApiCollectionById(input: $input) { __typename openApiCollection { __typename ... DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection } errors { __typename ... Error ... OpenApiCollectionNotFoundError ... UnauthorizedOperation } } } fragment DeleteOpenApiCollectionByIdCommandMutation_OpenApiCollection on OpenApiCollection { name id ... OpenApiCollectionDetailPrompt_OpenApiCollection } fragment OpenApiCollectionDetailPrompt_OpenApiCollection on OpenApiCollection { id name } fragment Error on Error { message } fragment OpenApiCollectionNotFoundError on OpenApiCollectionNotFoundError { openApiCollectionId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","eb5219613bc72b416f81729786573163":"mutation UploadMcpFeatureCollectionCommandMutation($input: UploadMcpFeatureCollectionInput!) { uploadMcpFeatureCollection(input: $input) { __typename mcpFeatureCollectionVersion { __typename id } errors { __typename ... UnauthorizedOperation ... McpFeatureCollectionNotFoundError ... InvalidMcpFeatureCollectionArchiveError ... DuplicatedTagError ... ConcurrentOperationError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment McpFeatureCollectionNotFoundError on McpFeatureCollectionNotFoundError { mcpFeatureCollectionId ... Error } fragment InvalidMcpFeatureCollectionArchiveError on InvalidMcpFeatureCollectionArchiveError { message } fragment DuplicatedTagError on DuplicatedTagError { __typename message ... Error } fragment ConcurrentOperationError on ConcurrentOperationError { __typename message ... Error }","f230bc4d51fb6f5456e272f3aa163aff":"subscription ValidateOpenApiCollectionCommandSubscription($requestId: ID!) { onOpenApiCollectionVersionValidationUpdate(requestId: $requestId) { __typename ... OpenApiCollectionVersionValidationFailed ... OpenApiCollectionVersionValidationSuccess ... OperationInProgress ... ValidationInProgress } } fragment OpenApiCollectionVersionValidationFailed on OpenApiCollectionVersionValidationFailed { state errors { __typename ... ProcessingTimeoutError ... UnexpectedProcessingError ... OpenApiCollectionValidationError ... OpenApiCollectionValidationArchiveError } } fragment ProcessingTimeoutError on ProcessingTimeoutError { __typename message } fragment UnexpectedProcessingError on UnexpectedProcessingError { __typename message } fragment OpenApiCollectionValidationError on OpenApiCollectionValidationError { collections { __typename openApiCollection { __typename id name } entities { __typename errors { __typename ... OpenApiCollectionValidationDocumentError ... OpenApiCollectionValidationEntityValidationError } ... on OpenApiCollectionValidationEndpoint { httpMethod route } ... on OpenApiCollectionValidationModel { name } } } } fragment OpenApiCollectionValidationDocumentError on OpenApiCollectionValidationDocumentError { code message path locations { __typename column line } } fragment OpenApiCollectionValidationEntityValidationError on OpenApiCollectionValidationEntityValidationError { message } fragment OpenApiCollectionValidationArchiveError on OpenApiCollectionValidationArchiveError { message } fragment OpenApiCollectionVersionValidationSuccess on OpenApiCollectionVersionValidationSuccess { state } fragment OperationInProgress on OperationInProgress { state } fragment ValidationInProgress on ValidationInProgress { state }","f450cfe13d84ae3c3768bac9c9fbf8b4":"mutation DeleteClientByIdCommandMutation($input: DeleteClientByIdInput!) { deleteClientById(input: $input) { __typename client { __typename ... DeleteClientByIdCommandMutation_Client } errors { __typename ... Error ... ClientNotFoundError ... UnauthorizedOperation } } } fragment DeleteClientByIdCommandMutation_Client on Client { name id ... ClientDetailPrompt_Client } fragment ClientDetailPrompt_Client on Client { id name api { __typename name path } versions { __typename edges { __typename ... ClientDetailPrompt_ClientVersionEdge } pageInfo { __typename hasNextPage endCursor } } } fragment ClientDetailPrompt_ClientVersionEdge on ClientVersionEdge { cursor node { __typename id createdAt tag publishedTo { __typename stage { __typename name } } } } fragment Error on Error { message } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error }","fc0b2ca98ba95caa6eadb2f1b725006f":"mutation ValidateClientVersion($input: ValidateClientInput!) { validateClient(input: $input) { __typename id errors { __typename ... UnauthorizedOperation ... StageNotFoundError ... ClientNotFoundError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment StageNotFoundError on StageNotFoundError { __typename message name ... Error } fragment ClientNotFoundError on ClientNotFoundError { message clientId ... Error }","fd942dedfe5e376385ae72436c97104a":"mutation CommitFusionConfigurationPublish($input: CommitFusionConfigurationPublishInput!) { commitFusionConfigurationPublish(input: $input) { __typename errors { __typename ... UnauthorizedOperation ... FusionConfigurationRequestNotFoundError ... InvalidProcessingStateTransitionError ... Error } } } fragment UnauthorizedOperation on UnauthorizedOperation { __typename message ... Error } fragment Error on Error { message } fragment FusionConfigurationRequestNotFoundError on FusionConfigurationRequestNotFoundError { __typename message ... Error } fragment InvalidProcessingStateTransitionError on InvalidProcessingStateTransitionError { __typename message ... Error }","ff9fd00b5a96ac47f6aa413a425337d9":"query ListStagesQuery($apiId: ID!) { node(id: $apiId) { __typename ... on Api { stages { __typename id name displayName ... StageDetailPrompt_Stage } } } } fragment StageDetailPrompt_Stage on Stage { id name displayName conditions { __typename ... StageCondition } } fragment StageCondition on StageCondition { ... AfterStageCondition } fragment AfterStageCondition on AfterStageCondition { afterStage { __typename name } }"} \ No newline at end of file diff --git a/src/Nitro/CommandLine/src/CommandLine/schema.graphql b/src/Nitro/CommandLine/src/CommandLine/schema.graphql index 267a19a5f0b..3821efbb301 100644 --- a/src/Nitro/CommandLine/src/CommandLine/schema.graphql +++ b/src/Nitro/CommandLine/src/CommandLine/schema.graphql @@ -44,22 +44,10 @@ interface ClientVersionValidationResult { } interface CoordinateMetrics { - clientUsage( - clientId: ID - from: DateTime! - to: DateTime! - ): CoordinateClientUsage - clientUsages(from: DateTime!, to: DateTime!): [CoordinateClientUsage!]! - requests( - from: DateTime! - resolution: Int! = 300 - to: DateTime! - ): CoordinateRequestGraph - usages( - from: DateTime! - resolution: Int! = 300 - to: DateTime! - ): CoordinateUsageGraph + clientUsage(clientId: ID from: DateTime! to: DateTime!): CoordinateClientUsage + clientUsages(from: DateTime! to: DateTime!): [CoordinateClientUsage!]! + requests(from: DateTime! resolution: Int! = 300 to: DateTime!): CoordinateRequestGraph + usages(from: DateTime! resolution: Int! = 300 to: DateTime!): CoordinateUsageGraph } interface Deployment { @@ -118,7 +106,7 @@ interface GraphQLInputValueDefinition implements GraphQLTypeSystemMember { id: ID! isDeprecated: Boolean! metrics: CoordinateMetrics! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } interface GraphQLOutputFieldArgumentDefinition implements GraphQLTypeSystemMember & GraphQLInputValueDefinition { @@ -129,7 +117,7 @@ interface GraphQLOutputFieldArgumentDefinition implements GraphQLTypeSystemMembe isDeprecated: Boolean! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } interface GraphQLOutputFieldDefinition implements GraphQLTypeSystemMember { @@ -139,7 +127,7 @@ interface GraphQLOutputFieldDefinition implements GraphQLTypeSystemMember { isDeprecated: Boolean! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } interface GraphQLOutputFieldDefinitionArgumentsConnection { @@ -150,7 +138,7 @@ interface GraphQLTypeSystemMember { coordinate: String! isDeprecated: Boolean! metrics: CoordinateMetrics - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } interface GroupMember { @@ -159,6 +147,30 @@ interface GroupMember { id: ID! } +interface McpFeatureCollectionValidationEntity { + errors: [McpFeatureCollectionValidationEntityError!]! +} + +interface McpFeatureCollectionValidationEntityError { + message: String! +} + +interface McpFeatureCollectionVersionPublishError { + message: String! +} + +interface McpFeatureCollectionVersionPublishResult { + state: ProcessingState! +} + +interface McpFeatureCollectionVersionValidationError { + message: String! +} + +interface McpFeatureCollectionVersionValidationResult { + state: ProcessingState! +} + "The node interface is implemented by entities that have a global unique identifier." interface Node { id: ID! @@ -267,71 +279,22 @@ type AfterStageCondition { } type Api implements Node { - clients( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): ClientsConnection + clients("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): ClientsConnection createdAt: DateTime! createdBy: UserInfo! - documents( - "Returns the elements in the list that come after the specified cursor." - after: Version - "Returns the first _n_ elements from the list." - first: Int - ): ApiDocumentConnection + documents("Returns the elements in the list that come after the specified cursor." after: Version "Returns the first _n_ elements from the list." first: Int): ApiDocumentConnection httpConnection: ApiHttpConnection id: ID! kind: ApiKind - mockSchemas( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): MockSchemasConnection + mcpFeatureCollections("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): ApiMcpFeatureCollectionsConnection + mockSchemas("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): MockSchemasConnection modifiedAt: DateTime! modifiedBy: UserInfo! name: String! - openApiCollections( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): ApiOpenApiCollectionsConnection - operations( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): OperationsConnection + openApiCollections("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): ApiOpenApiCollectionsConnection + operations("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): OperationsConnection path: [String!]! - schemaVersions( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): SchemaVersionsConnection + schemaVersions("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): SchemaVersionsConnection settings: ApiSettings! stages: [Stage!]! version: Version! @@ -498,16 +461,7 @@ type ApiKey implements Node { createdBy: UserInfo! id: ID! name: String! - roleAssignments( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): ApiKeyRoleAssignmentsConnection + roleAssignments("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): ApiKeyRoleAssignmentsConnection scopes: [ApiKeyScope!]! workspace: Workspace } @@ -564,6 +518,24 @@ type ApiKeysEdge { node: ApiKey! } +"A connection to a list of items." +type ApiMcpFeatureCollectionsConnection { + "A list of edges." + edges: [ApiMcpFeatureCollectionsEdge!] + "A flattened list of the nodes." + nodes: [McpFeatureCollection!] + "Information to aid in pagination." + pageInfo: PageInfo! +} + +"An edge in a connection." +type ApiMcpFeatureCollectionsEdge { + "A cursor for use in pagination." + cursor: String! + "The item at the end of the edge." + node: McpFeatureCollection! +} + type ApiNotFoundError implements Error { apiId: ID! message: String! @@ -721,26 +693,8 @@ type Client implements Node { createdBy: UserInfo! id: ID! name: String! - operations( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): OperationsConnection - versions( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): ClientVersionConnection + operations("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): OperationsConnection + versions("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): ClientVersionConnection } type ClientChangeLog implements StageChangeLog & Node { @@ -801,16 +755,7 @@ type ClientVersion implements Node { client: Client createdAt: DateTime! id: ID! - persistedQueries( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): PersistedQueriesConnection + persistedQueries("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): PersistedQueriesConnection publishedTo: [PublishedClientVersion!]! tag: String! tags: [String!]! @deprecated(reason: "Use `tag` instead.") @@ -887,7 +832,7 @@ type CommitFusionConfigurationPublishPayload { requestId: ID } -type ConcurrentOperationError implements Error & SchemaVersionPublishError & ClientVersionPublishError & FusionConfigurationPublishingError & OpenApiCollectionVersionPublishError & ProcessingError { +type ConcurrentOperationError implements Error & SchemaVersionPublishError & ClientVersionPublishError & FusionConfigurationPublishingError & OpenApiCollectionVersionPublishError & McpFeatureCollectionVersionPublishError & ProcessingError { message: String! } @@ -902,16 +847,7 @@ type CoordinateClientUsage { type CoordinateClientUsageMetrics implements Node { id: ID! - operations( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): CoordinateClientUsageOperationInsightsConnection + operations("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): CoordinateClientUsageOperationInsightsConnection } type CoordinateClientUsageOperationInsight { @@ -1017,6 +953,11 @@ type CreateClientPayload { errors: [CreateClientError!] } +type CreateMcpFeatureCollectionPayload { + errors: [CreateMcpFeatureCollectionError!] + mcpFeatureCollection: McpFeatureCollection +} + type CreateMockSchemaPayload { errors: [CreateMockSchemaError!] mockSchema: MockSchema @@ -1052,6 +993,11 @@ type DeleteClientByIdPayload { errors: [DeleteClientByIdError!] } +type DeleteMcpFeatureCollectionByIdPayload { + errors: [DeleteMcpFeatureCollectionByIdError!] + mcpFeatureCollection: McpFeatureCollection +} + type DeleteMockSchemaByIdPayload { errors: [DeleteMockSchemaByIdError!] mockSchema: MockSchema @@ -1417,27 +1363,11 @@ type FieldAddedChange implements SchemaChange { } type FieldCoordinateMetrics implements CoordinateMetrics { - clientUsage( - clientId: ID - from: DateTime! - to: DateTime! - ): CoordinateClientUsage - clientUsages(from: DateTime!, to: DateTime!): [CoordinateClientUsage!]! - duration( - from: DateTime! - resolution: Int! = 300 - to: DateTime! - ): FieldDurationGraph - requests( - from: DateTime! - resolution: Int! = 300 - to: DateTime! - ): CoordinateRequestGraph - usages( - from: DateTime! - resolution: Int! = 300 - to: DateTime! - ): CoordinateUsageGraph + clientUsage(clientId: ID from: DateTime! to: DateTime!): CoordinateClientUsage + clientUsages(from: DateTime! to: DateTime!): [CoordinateClientUsage!]! + duration(from: DateTime! resolution: Int! = 300 to: DateTime!): FieldDurationGraph + requests(from: DateTime! resolution: Int! = 300 to: DateTime!): CoordinateRequestGraph + usages(from: DateTime! resolution: Int! = 300 to: DateTime!): CoordinateUsageGraph } type FieldDurationGraph { @@ -1492,17 +1422,7 @@ type FusionConfigurationDeployment implements Node & Deployment { } type FusionConfigurationDeploymentSchemaChanges { - changes( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - severity: SchemaChangeSeverity - ): SchemaChangesConnection + changes("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int severity: SchemaChangeSeverity): SchemaChangesConnection statistic: SchemaChangeLogStatistic! } @@ -1549,7 +1469,7 @@ type GraphQLDirectiveArgumentDefinition implements Node & GraphQLTypeSystemMembe isDeprecated: Boolean! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLDirectiveDefinition implements Node & GraphQLTypeSystemMember { @@ -1560,7 +1480,7 @@ type GraphQLDirectiveDefinition implements Node & GraphQLTypeSystemMember { kind: TypeSystemMemberKind! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLDirectiveDefinitionArgumentsConnection { @@ -1574,7 +1494,7 @@ type GraphQLEnumTypeDefinition implements Node & GraphQLTypeSystemMember { kind: TypeSystemMemberKind! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! values: GraphQLEnumTypeDefinitionValuesConnection! } @@ -1588,7 +1508,7 @@ type GraphQLEnumValueDefinition implements Node & GraphQLTypeSystemMember { isDeprecated: Boolean! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLInputObjectFieldDefinition implements Node & GraphQLTypeSystemMember & GraphQLInputValueDefinition { @@ -1597,7 +1517,7 @@ type GraphQLInputObjectFieldDefinition implements Node & GraphQLTypeSystemMember isDeprecated: Boolean! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLInputObjectTypeDefinition implements Node & GraphQLTypeSystemMember { @@ -1608,7 +1528,7 @@ type GraphQLInputObjectTypeDefinition implements Node & GraphQLTypeSystemMember kind: TypeSystemMemberKind! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLInputObjectTypeDefinitionFieldsConnection { @@ -1623,7 +1543,7 @@ type GraphQLInterfaceFieldArgumentDefinition implements Node & GraphQLTypeSystem isDeprecated: Boolean! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLInterfaceFieldArgumentDefinitionArgumentsConnection implements GraphQLOutputFieldDefinitionArgumentsConnection { @@ -1637,7 +1557,7 @@ type GraphQLInterfaceFieldDefinition implements Node & GraphQLTypeSystemMember & isDeprecated: Boolean! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLInterfaceTypeDefinition implements Node & GraphQLTypeSystemMember { @@ -1648,7 +1568,7 @@ type GraphQLInterfaceTypeDefinition implements Node & GraphQLTypeSystemMember { kind: TypeSystemMemberKind! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLInterfaceTypeDefinitionFieldsConnection { @@ -1663,7 +1583,7 @@ type GraphQLObjectFieldArgumentDefinition implements Node & GraphQLTypeSystemMem isDeprecated: Boolean! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLObjectFieldArgumentDefinitionArgumentsConnection implements GraphQLOutputFieldDefinitionArgumentsConnection { @@ -1677,7 +1597,7 @@ type GraphQLObjectFieldDefinition implements Node & GraphQLTypeSystemMember & Gr isDeprecated: Boolean! metrics: FieldCoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLObjectTypeDefinition implements GraphQLTypeSystemMember { @@ -1687,7 +1607,7 @@ type GraphQLObjectTypeDefinition implements GraphQLTypeSystemMember { kind: TypeSystemMemberKind! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLObjectTypeDefinitionFieldsConnection { @@ -1701,7 +1621,7 @@ type GraphQLScalarTypeDefinition implements Node & GraphQLTypeSystemMember { kind: TypeSystemMemberKind! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type GraphQLSchemaError { @@ -1716,45 +1636,18 @@ type GraphQLUnionTypeDefinition implements Node & GraphQLTypeSystemMember { kind: TypeSystemMemberKind! metrics: CoordinateMetrics! name: String! - usage(from: DateTime, to: DateTime): CoordinateUsage! + usage(from: DateTime to: DateTime): CoordinateUsage! } type Group implements Node { description: String! - groups( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): GroupGroupsConnection + groups("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): GroupGroupsConnection id: ID! isDefault: Boolean! - members( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): GroupMembersConnection + members("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): GroupMembersConnection name: String! organization: Organization - roleAssignments( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): GroupRoleAssignmentsConnection + roleAssignments("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): GroupRoleAssignmentsConnection } type GroupGroupMember implements GroupMember { @@ -1868,6 +1761,10 @@ type InvalidGraphQLSchemaError implements SchemaVersionValidationError & SchemaV message: String! } +type InvalidMcpFeatureCollectionArchiveError implements Error { + message: String! +} + type InvalidOpenApiCollectionArchiveError implements Error { message: String! } @@ -1882,6 +1779,128 @@ type InvalidProcessingStateTransitionError implements Error { message: String! } +type McpFeatureCollection implements Node { + api: Api + createdAt: DateTime! + createdBy: UserInfo! + id: ID! + name: String! + versions("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): McpFeatureCollectionVersionsConnection +} + +type McpFeatureCollectionChangeLog implements StageChangeLog & Node { + changedAt: DateTime! + id: ID! + kind: StageChangeLogKind! + tag: String! +} + +type McpFeatureCollectionDeployment implements Node & Deployment { + approval: DeploymentApproval + createdAt: DateTime! + errors: [McpFeatureCollectionDeploymentError!]! + id: ID! + logs: [DeploymentLog!]! + mcpFeatureCollection: McpFeatureCollection + status: DeploymentStatus! + tag: String! +} + +type McpFeatureCollectionNotFoundError implements Error { + mcpFeatureCollectionId: ID! + message: String! +} + +type McpFeatureCollectionValidationArchiveError implements McpFeatureCollectionVersionValidationError & ProcessingError { + message: String! +} + +type McpFeatureCollectionValidationCollection { + entities: [McpFeatureCollectionValidationEntity!]! + mcpFeatureCollection: McpFeatureCollection +} + +type McpFeatureCollectionValidationDocumentError implements McpFeatureCollectionValidationEntityError { + code: String + locations: [McpFeatureCollectionValidationDocumentErrorLocation!] + message: String! + path: String +} + +type McpFeatureCollectionValidationDocumentErrorLocation { + column: Int! + line: Int! +} + +type McpFeatureCollectionValidationEntityValidationError implements McpFeatureCollectionValidationEntityError { + message: String! +} + +type McpFeatureCollectionValidationError implements McpFeatureCollectionVersionPublishError & McpFeatureCollectionVersionValidationError & SchemaVersionPublishError & SchemaVersionValidationError & FusionConfigurationValidationError & ProcessingError { + collections: [McpFeatureCollectionValidationCollection!]! + message: String! +} + +type McpFeatureCollectionValidationPrompt implements McpFeatureCollectionValidationEntity { + errors: [McpFeatureCollectionValidationEntityError!]! + name: String! +} + +type McpFeatureCollectionValidationTool implements McpFeatureCollectionValidationEntity { + errors: [McpFeatureCollectionValidationEntityError!]! + name: String! +} + +type McpFeatureCollectionVersion implements Node { + createdAt: DateTime! + id: ID! + mcpFeatureCollection: McpFeatureCollection + tag: String! +} + +type McpFeatureCollectionVersionNotFoundError implements Error { + mcpFeatureCollectionId: ID! + message: String! + tag: String! +} + +type McpFeatureCollectionVersionPublishFailed implements McpFeatureCollectionVersionPublishResult { + errors: [McpFeatureCollectionVersionPublishError!]! + state: ProcessingState! +} + +type McpFeatureCollectionVersionPublishSuccess implements McpFeatureCollectionVersionPublishResult { + mcpFeatureCollectionVersion: McpFeatureCollectionVersion + state: ProcessingState! +} + +type McpFeatureCollectionVersionValidationFailed implements McpFeatureCollectionVersionValidationResult { + errors: [McpFeatureCollectionVersionValidationError!]! + state: ProcessingState! +} + +type McpFeatureCollectionVersionValidationSuccess implements McpFeatureCollectionVersionValidationResult { + state: ProcessingState! +} + +"A connection to a list of items." +type McpFeatureCollectionVersionsConnection { + "A list of edges." + edges: [McpFeatureCollectionVersionsEdge!] + "A flattened list of the nodes." + nodes: [McpFeatureCollectionVersion!] + "Information to aid in pagination." + pageInfo: PageInfo! +} + +"An edge in a connection." +type McpFeatureCollectionVersionsEdge { + "A cursor for use in pagination." + cursor: String! + "The item at the end of the edge." + node: McpFeatureCollectionVersion! +} + type MockSchema { baseSchemaDownloadUrl: String! createdAt: DateTime! @@ -1925,100 +1944,57 @@ type MockSchemasEdge { type Mutation { approveDeployment(input: ApproveDeploymentInput!): ApproveDeploymentPayload! - beginFusionConfigurationPublish( - input: BeginFusionConfigurationPublishInput! - ): BeginFusionConfigurationPublishPayload! + beginFusionConfigurationPublish(input: BeginFusionConfigurationPublishInput!): BeginFusionConfigurationPublishPayload! cancelDeployment(input: CancelDeploymentInput!): CancelDeploymentPayload! - cancelFusionConfigurationComposition( - input: CancelFusionConfigurationCompositionInput! - ): CancelFusionConfigurationCompositionPayload! - commitFusionConfigurationPublish( - input: CommitFusionConfigurationPublishInput! - ): CommitFusionConfigurationPublishPayload! + cancelFusionConfigurationComposition(input: CancelFusionConfigurationCompositionInput!): CancelFusionConfigurationCompositionPayload! + commitFusionConfigurationPublish(input: CommitFusionConfigurationPublishInput!): CommitFusionConfigurationPublishPayload! createAccount: CreateAccountPayload! createApiKey(input: CreateApiKeyInput!): CreateApiKeyPayload! - createApiKeyForApi( - input: CreateApiKeyForApiInput! - ): CreateApiKeyForApiPayload! + createApiKeyForApi(input: CreateApiKeyForApiInput!): CreateApiKeyForApiPayload! createClient(input: CreateClientInput!): CreateClientPayload! + createMcpFeatureCollection(input: CreateMcpFeatureCollectionInput!): CreateMcpFeatureCollectionPayload! createMockSchema(input: CreateMockSchemaInput!): CreateMockSchemaPayload! - createOpenApiCollection( - input: CreateOpenApiCollectionInput! - ): CreateOpenApiCollectionPayload! - createPersonalAccessToken( - input: CreatePersonalAccessTokenInput! - ): CreatePersonalAccessTokenPayload! + createOpenApiCollection(input: CreateOpenApiCollectionInput!): CreateOpenApiCollectionPayload! + createPersonalAccessToken(input: CreatePersonalAccessTokenInput!): CreatePersonalAccessTokenPayload! createWorkspace(input: CreateWorkspaceInput!): CreateWorkspacePayload! deleteApiById(input: DeleteApiByIdInput!): DeleteApiByIdPayload! deleteApiKey(input: DeleteApiKeyInput!): DeleteApiKeyPayload! deleteClientById(input: DeleteClientByIdInput!): DeleteClientByIdPayload! - deleteMockSchemaById( - input: DeleteMockSchemaByIdInput! - ): DeleteMockSchemaByIdPayload! - deleteOpenApiCollectionById( - input: DeleteOpenApiCollectionByIdInput! - ): DeleteOpenApiCollectionByIdPayload! + deleteMcpFeatureCollectionById(input: DeleteMcpFeatureCollectionByIdInput!): DeleteMcpFeatureCollectionByIdPayload! + deleteMockSchemaById(input: DeleteMockSchemaByIdInput!): DeleteMockSchemaByIdPayload! + deleteOpenApiCollectionById(input: DeleteOpenApiCollectionByIdInput!): DeleteOpenApiCollectionByIdPayload! ensureTunnelSession: EnsureTunnelSessionPayload! - pollClientVersionPublishRequest( - input: PollClientVersionPublishRequestInput! - ): PollClientVersionPublishRequestPayload! - pollClientVersionValidationRequest( - input: PollClientVersionValidationRequestInput! - ): PollClientVersionValidationRequestPayload! - pollSchemaVersionPublishRequest( - input: PollSchemaVersionPublishRequestInput! - ): PollSchemaVersionPublishRequestPayload! - pollSchemaVersionValidationRequest( - input: PollSchemaVersionValidationRequestInput! - ): PollSchemaVersionValidationRequestPayload! + pollClientVersionPublishRequest(input: PollClientVersionPublishRequestInput!): PollClientVersionPublishRequestPayload! + pollClientVersionValidationRequest(input: PollClientVersionValidationRequestInput!): PollClientVersionValidationRequestPayload! + pollSchemaVersionPublishRequest(input: PollSchemaVersionPublishRequestInput!): PollSchemaVersionPublishRequestPayload! + pollSchemaVersionValidationRequest(input: PollSchemaVersionValidationRequestInput!): PollSchemaVersionValidationRequestPayload! publishClient(input: PublishClientInput!): PublishClientPayload! - publishOpenApiCollection( - input: PublishOpenApiCollectionInput! - ): PublishOpenApiCollectionPayload! + publishMcpFeatureCollection(input: PublishMcpFeatureCollectionInput!): PublishMcpFeatureCollectionPayload! + publishOpenApiCollection(input: PublishOpenApiCollectionInput!): PublishOpenApiCollectionPayload! publishSchema(input: PublishSchemaInput!): PublishSchemaPayload! - pushDocumentChanges( - input: PushDocumentChangeInput! - ): PushDocumentChangesPayload! @deprecated(reason: "Use pushWorkspaceChanges") - pushWorkspaceChanges( - input: PushWorkspaceChangesInput! - ): PushWorkspaceChangesPayload! + pushDocumentChanges(input: PushDocumentChangeInput!): PushDocumentChangesPayload! @deprecated(reason: "Use pushWorkspaceChanges") + pushWorkspaceChanges(input: PushWorkspaceChangesInput!): PushWorkspaceChangesPayload! removeWorkspace(input: RemoveWorkspaceInput!): RemoveWorkspacePayload! renameWorkspace(input: RenameWorkspaceInput!): RenameWorkspacePayload! - revokePersonalAccessToken( - input: RevokePersonalAccessTokenInput! - ): RevokePersonalAccessTokenPayload! - setActiveWorkspace( - input: SetActiveWorkspaceInput! - ): SetActiveWorkspacePayload! - startFusionConfigurationComposition( - input: StartFusionConfigurationCompositionInput! - ): StartFusionConfigurationCompositionPayload! + revokePersonalAccessToken(input: RevokePersonalAccessTokenInput!): RevokePersonalAccessTokenPayload! + setActiveWorkspace(input: SetActiveWorkspaceInput!): SetActiveWorkspacePayload! + startFusionConfigurationComposition(input: StartFusionConfigurationCompositionInput!): StartFusionConfigurationCompositionPayload! unpublishClient(input: UnpublishClientInput!): UnpublishClientPayload! updateApiSettings(input: UpdateApiSettingsInput!): UpdateApiSettingsPayload! - updateFeatureFlags( - input: UpdateFeatureFlagsInput! - ): UpdateFeatureFlagsPayload! + updateFeatureFlags(input: UpdateFeatureFlagsInput!): UpdateFeatureFlagsPayload! updateMockSchema(input: UpdateMockSchemaInput!): UpdateMockSchemaPayload! updatePreferences(input: UpdatePreferencesInput!): UpdatePreferencesPayload! updateStages(input: UpdateStagesInput!): UpdateStagesPayload! - updateThemeSettings( - input: UpdateThemeSettingsInput! - ): UpdateThemeSettingsPayload! + updateThemeSettings(input: UpdateThemeSettingsInput!): UpdateThemeSettingsPayload! uploadClient(input: UploadClientInput!): UploadClientPayload! - uploadFusionSubgraph( - input: UploadFusionSubgraphInput! - ): UploadFusionSubgraphPayload! - uploadOpenApiCollection( - input: UploadOpenApiCollectionInput! - ): UploadOpenApiCollectionPayload! + uploadFusionSubgraph(input: UploadFusionSubgraphInput!): UploadFusionSubgraphPayload! + uploadMcpFeatureCollection(input: UploadMcpFeatureCollectionInput!): UploadMcpFeatureCollectionPayload! + uploadOpenApiCollection(input: UploadOpenApiCollectionInput!): UploadOpenApiCollectionPayload! uploadSchema(input: UploadSchemaInput!): UploadSchemaPayload! validateClient(input: ValidateClientInput!): ValidateClientPayload! - validateFusionConfigurationComposition( - input: ValidateFusionConfigurationCompositionInput! - ): ValidateFusionConfigurationCompositionPayload! - validateOpenApiCollection( - input: ValidateOpenApiCollectionInput! - ): ValidateOpenApiCollectionPayload! + validateFusionConfigurationComposition(input: ValidateFusionConfigurationCompositionInput!): ValidateFusionConfigurationCompositionPayload! + validateMcpFeatureCollection(input: ValidateMcpFeatureCollectionInput!): ValidateMcpFeatureCollectionPayload! + validateOpenApiCollection(input: ValidateOpenApiCollectionInput!): ValidateOpenApiCollectionPayload! validateSchema(input: ValidateSchemaInput!): ValidateSchemaPayload! } @@ -2057,16 +2033,7 @@ type OpenApiCollection implements Node { createdBy: UserInfo! id: ID! name: String! - versions( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): OpenApiCollectionVersionsConnection + versions("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): OpenApiCollectionVersionsConnection } type OpenApiCollectionChangeLog implements StageChangeLog & Node { @@ -2442,16 +2409,7 @@ type OpenTelemetryStringAttribute implements OpenTelemetryAttribute { type OpenTelemetryTrace { epoch: Float! errors: [OpenTelemetryError!]! - logs( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): OpenTelemetryLogsConnection + logs("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): OpenTelemetryLogsConnection spans: [OpenTelemetrySpan!]! totalDuration: Float! } @@ -2581,7 +2539,7 @@ type Operation { name: String } -type OperationInProgress implements SchemaVersionValidationResult & SchemaVersionPublishResult & ClientVersionValidationResult & ClientVersionPublishResult & FusionConfigurationPublishingResult & OpenApiCollectionVersionPublishResult & OpenApiCollectionVersionValidationResult { +type OperationInProgress implements SchemaVersionValidationResult & SchemaVersionPublishResult & ClientVersionValidationResult & ClientVersionPublishResult & FusionConfigurationPublishingResult & OpenApiCollectionVersionPublishResult & OpenApiCollectionVersionValidationResult & McpFeatureCollectionVersionPublishResult & McpFeatureCollectionVersionValidationResult { state: ProcessingState! } @@ -2621,8 +2579,7 @@ type OperationInsightsEdge { } type OperationLatencyDistributionGraph { - data: [OperationLatencyDistributionGraphData!]! - @deprecated(reason: "Use `Dataset` instead") + data: [OperationLatencyDistributionGraphData!]! @deprecated(reason: "Use `Dataset` instead") dataset: [OperationLatencyDistributionGraphData!]! p95: Float! p95DurationInMS: Float! @deprecated(reason: "Use `P95` instead") @@ -2726,44 +2683,15 @@ type OperationsThroughputGraphData { } type Organization implements Node { - authorizationEventLogs( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime - "Returns the last _n_ elements from the list." - last: Int - to: DateTime - ): OrganizationAuthorizationEventLogsConnection + authorizationEventLogs("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int from: DateTime "Returns the last _n_ elements from the list." last: Int to: DateTime): OrganizationAuthorizationEventLogsConnection billingInfo: OrganizationBillingInfo displayName: String! - groups( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): OrganizationGroupsConnection + groups("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): OrganizationGroupsConnection id: ID! - members( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): OrganizationMembersConnection + members("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): OrganizationMembersConnection name: String! plan: OrganizationPlan - usage(from: DateTime, to: DateTime): OrganizationUsage + usage(from: DateTime to: DateTime): OrganizationUsage } "A connection to a list of items." @@ -2815,16 +2743,7 @@ type OrganizationInfo { } type OrganizationMember implements Node { - groups( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): OrganizationMemberGroupsConnection + groups("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): OrganizationMemberGroupsConnection id: ID! isDisabled: Boolean! userName: String @@ -3058,20 +2977,20 @@ type PossibleTypeRemoved implements SchemaChange { typeName: String! } -type ProcessingTaskApproved implements SchemaVersionPublishResult & ClientVersionPublishResult & FusionConfigurationPublishingResult & OpenApiCollectionVersionPublishResult { +type ProcessingTaskApproved implements SchemaVersionPublishResult & ClientVersionPublishResult & FusionConfigurationPublishingResult & OpenApiCollectionVersionPublishResult & McpFeatureCollectionVersionPublishResult { state: ProcessingState! } -type ProcessingTaskIsQueued implements FusionConfigurationPublishingResult & ClientVersionPublishResult & SchemaVersionPublishResult & OpenApiCollectionVersionPublishResult { +type ProcessingTaskIsQueued implements FusionConfigurationPublishingResult & ClientVersionPublishResult & SchemaVersionPublishResult & OpenApiCollectionVersionPublishResult & McpFeatureCollectionVersionPublishResult { queuePosition: Int! state: ProcessingState! } -type ProcessingTaskIsReady implements FusionConfigurationPublishingResult & ClientVersionPublishResult & SchemaVersionPublishResult & OpenApiCollectionVersionPublishResult { +type ProcessingTaskIsReady implements FusionConfigurationPublishingResult & ClientVersionPublishResult & SchemaVersionPublishResult & OpenApiCollectionVersionPublishResult & McpFeatureCollectionVersionPublishResult { state: ProcessingState! } -type ProcessingTimeoutError implements SchemaVersionValidationError & SchemaVersionPublishError & ClientVersionValidationError & ClientVersionPublishError & FusionConfigurationPublishingError & OpenApiCollectionVersionPublishError & OpenApiCollectionVersionValidationError & ProcessingError { +type ProcessingTimeoutError implements SchemaVersionValidationError & SchemaVersionPublishError & ClientVersionValidationError & ClientVersionPublishError & FusionConfigurationPublishingError & OpenApiCollectionVersionPublishError & OpenApiCollectionVersionValidationError & McpFeatureCollectionVersionPublishError & McpFeatureCollectionVersionValidationError & ProcessingError { message: String! } @@ -3080,6 +2999,11 @@ type PublishClientPayload { id: ID } +type PublishMcpFeatureCollectionPayload { + errors: [PublishMcpFeatureCollectionError!] + id: ID +} + type PublishOpenApiCollectionPayload { errors: [PublishOpenApiCollectionError!] id: ID @@ -3121,7 +3045,7 @@ type PushWorkspaceChangesPayload { type Query { apiById(id: ID!): Api - fusionConfigurationByApiId(id: ID!, stage: String!): FusionConfiguration + fusionConfigurationByApiId(id: ID! stage: String!): FusionConfiguration me: Viewer "Fetches an object given its ID." node("ID of the object." id: ID!): Node @lookup @shareable @@ -3132,7 +3056,7 @@ type Query { workspaceById(workspaceId: ID!): Workspace } -type ReadyTimeoutError implements ClientVersionPublishError & ClientVersionValidationError & SchemaVersionPublishError & SchemaVersionValidationError & FusionConfigurationPublishingError & OpenApiCollectionVersionPublishError & OpenApiCollectionVersionValidationError & ProcessingError { +type ReadyTimeoutError implements ClientVersionPublishError & ClientVersionValidationError & SchemaVersionPublishError & SchemaVersionValidationError & FusionConfigurationPublishingError & OpenApiCollectionVersionPublishError & OpenApiCollectionVersionValidationError & McpFeatureCollectionVersionPublishError & McpFeatureCollectionVersionValidationError & ProcessingError { message: String! } @@ -3248,17 +3172,7 @@ type ScalarModifiedChange implements SchemaChange { type SchemaChangeLog implements StageChangeLog & Node { changedAt: DateTime! - changes( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - severity: SchemaChangeSeverity - ): SchemaChangesConnection + changes("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int severity: SchemaChangeSeverity): SchemaChangesConnection id: ID! kind: StageChangeLogKind! previousSchema: SchemaVersion @@ -3297,22 +3211,10 @@ type SchemaChangesEdge { } type SchemaCoordinateMetrics implements CoordinateMetrics { - clientUsage( - clientId: ID - from: DateTime! - to: DateTime! - ): CoordinateClientUsage - clientUsages(from: DateTime!, to: DateTime!): [CoordinateClientUsage!]! - requests( - from: DateTime! - resolution: Int! = 300 - to: DateTime! - ): CoordinateRequestGraph - usages( - from: DateTime! - resolution: Int! = 300 - to: DateTime! - ): CoordinateUsageGraph + clientUsage(clientId: ID from: DateTime! to: DateTime!): CoordinateClientUsage + clientUsages(from: DateTime! to: DateTime!): [CoordinateClientUsage!]! + requests(from: DateTime! resolution: Int! = 300 to: DateTime!): CoordinateRequestGraph + usages(from: DateTime! resolution: Int! = 300 to: DateTime!): CoordinateUsageGraph } type SchemaDeployment implements Node & Deployment { @@ -3327,17 +3229,7 @@ type SchemaDeployment implements Node & Deployment { } type SchemaDeploymentSchemaChanges { - changes( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - severity: SchemaChangeSeverity - ): SchemaChangesConnection + changes("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int severity: SchemaChangeSeverity): SchemaChangesConnection previousSchema: SchemaVersion schema: SchemaVersion statistic: SchemaChangeLogStatistic! @@ -3425,70 +3317,22 @@ type SetActiveWorkspacePayload { type Stage implements Node { api: Api - changeLog( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - kind: [StageChangeLogKind!] - "Returns the last _n_ elements from the list." - last: Int - ): StageChangeLogConnection + changeLog("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int kind: [StageChangeLogKind!] "Returns the last _n_ elements from the list." last: Int): StageChangeLogConnection conditions: [StageCondition!]! coordinate(coordinate: String!): GraphQLTypeSystemMember - coordinates( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime - isDeprecated: Boolean - kinds: [CoordinateKind!] - orderBy: [GraphQLCoordinateOrderByInput!] - search: String - to: DateTime - ): CoordinatesConnection - deployments( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): DeploymentsConnection + coordinates("Returns the elements in the list that come after the specified cursor." after: String "Returns the first _n_ elements from the list." first: Int from: DateTime isDeprecated: Boolean kinds: [CoordinateKind!] orderBy: [GraphQLCoordinateOrderByInput!] search: String to: DateTime): CoordinatesConnection + deployments("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): DeploymentsConnection displayName: String! essentials: StageEssentials id: ID! - logDistribution( - from: DateTime! - to: DateTime! - ): OpenTelemetryLogsSeverityGraph - logs( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime - "Returns the last _n_ elements from the list." - last: Int - to: DateTime - ): OpenTelemetryLogsConnection + logDistribution(from: DateTime! to: DateTime!): OpenTelemetryLogsSeverityGraph + logs("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int from: DateTime "Returns the last _n_ elements from the list." last: Int to: DateTime): OpenTelemetryLogsConnection metrics: StageMetrics! name: String! publishedClients: [PublishedClient!]! publishedFusionConfiguration: FusionConfiguration publishedSchema: PublishedSchemaVersion - traceById( - seeker: String - spanId: String - traceId: String! - ): OpenTelemetryTrace + traceById(seeker: String spanId: String traceId: String!): OpenTelemetryTrace } "A connection to a list of items." @@ -3510,27 +3354,11 @@ type StageChangeLogEdge { } type StageClientsMetrics { - insights( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime! - orderBy: [ClientInsightsOrderByInput!] - to: DateTime! - ): ClientInsightsConnection + insights("Returns the elements in the list that come after the specified cursor." after: String "Returns the first _n_ elements from the list." first: Int from: DateTime! orderBy: [ClientInsightsOrderByInput!] to: DateTime!): ClientInsightsConnection } type StageErrorsMetrics { - insights( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime! - search: String - to: DateTime! - ): ErrorInsightsConnection + insights("Returns the elements in the list that come after the specified cursor." after: String "Returns the first _n_ elements from the list." first: Int from: DateTime! search: String to: DateTime!): ErrorInsightsConnection } type StageEssentials { @@ -3552,7 +3380,7 @@ type StageLatencySummary { type StageMetrics { clients: StageClientsMetrics! errors: StageErrorsMetrics! - operation(hash: String!, operationName: String!): StageOperationMetrics! + operation(hash: String! operationName: String!): StageOperationMetrics! operations: StageOperationsMetrics! resolver(coordinate: String!): StageResolverMetrics! resolvers: StageResolversMetrics! @@ -3568,23 +3396,11 @@ type StageNotFoundError implements Error { } type StageOperationMetrics { - latency(from: DateTime!, to: DateTime!): OperationLatencyGraph - latencyDistribution( - from: DateTime! - to: DateTime! - ): OperationLatencyDistributionGraph + latency(from: DateTime! to: DateTime!): OperationLatencyGraph + latencyDistribution(from: DateTime! to: DateTime!): OperationLatencyDistributionGraph requestDocument: RequestDocument - samples( - from: DateTime! - maxLatency: Float - minLatency: Float - to: DateTime! - ): [OperationTraceSample!]! - throughput( - from: DateTime! - operationKinds: [OperationKind!] @deprecated(reason: "Not longer in use") - to: DateTime! - ): OperationThroughputGraph + samples(from: DateTime! maxLatency: Float minLatency: Float to: DateTime!): [OperationTraceSample!]! + throughput(from: DateTime! operationKinds: [OperationKind!] @deprecated(reason: "Not longer in use") to: DateTime!): OperationThroughputGraph } type StageOperationMetricsSummary { @@ -3593,58 +3409,23 @@ type StageOperationMetricsSummary { } type StageOperationsMetrics { - insights( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime! - operationKinds: [OperationKind!] - orderBy: [OperationInsightsOrderByInput!] - search: String - to: DateTime! - ): OperationInsightsConnection - latency( - from: DateTime! - operationKinds: [OperationKind!] - to: DateTime! - ): OperationsLatencyGraph - summary(from: DateTime!, to: DateTime!): StageOperationMetricsSummary! - throughput( - from: DateTime! - operationKinds: [OperationKind!] - to: DateTime! - ): OperationsThroughputGraph + insights("Returns the elements in the list that come after the specified cursor." after: String "Returns the first _n_ elements from the list." first: Int from: DateTime! operationKinds: [OperationKind!] orderBy: [OperationInsightsOrderByInput!] search: String to: DateTime!): OperationInsightsConnection + latency(from: DateTime! operationKinds: [OperationKind!] to: DateTime!): OperationsLatencyGraph + summary(from: DateTime! to: DateTime!): StageOperationMetricsSummary! + throughput(from: DateTime! operationKinds: [OperationKind!] to: DateTime!): OperationsThroughputGraph } type StageResolverMetrics { - latency(from: DateTime!, to: DateTime!): ResolverLatencyGraph - throughput(from: DateTime!, to: DateTime!): ResolverThroughputGraph + latency(from: DateTime! to: DateTime!): ResolverLatencyGraph + throughput(from: DateTime! to: DateTime!): ResolverThroughputGraph } type StageResolversMetrics { - insights( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime! - orderBy: [ResolverInsightsOrderByInput!] - search: String - to: DateTime! - ): ResolverInsightsConnection + insights("Returns the elements in the list that come after the specified cursor." after: String "Returns the first _n_ elements from the list." first: Int from: DateTime! orderBy: [ResolverInsightsOrderByInput!] search: String to: DateTime!): ResolverInsightsConnection } type StageSubgraphsMetrics { - insights( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime! - orderBy: [SubgraphInsightsOrderByInput!] - to: DateTime! - ): SubgraphInsightsConnection + insights("Returns the elements in the list that come after the specified cursor." after: String "Returns the first _n_ elements from the list." first: Int from: DateTime! orderBy: [SubgraphInsightsOrderByInput!] to: DateTime!): SubgraphInsightsConnection } type StageThroughputSummary { @@ -3656,21 +3437,10 @@ type StageThroughputSummary { } type StageTransactionMetrics { - latency(from: DateTime!, to: DateTime!): OpenTelemetryTransactionLatencyGraph - latencyDistribution( - from: DateTime! - to: DateTime! - ): OpenTelemetryTransactionLatencyDistributionGraph - samples( - from: DateTime! - maxLatency: Float - minLatency: Float - to: DateTime! - ): [OpenTelemetryTransactionTraceSample!]! - throughput( - from: DateTime! - to: DateTime! - ): OpenTelemetryTransactionThroughputGraph + latency(from: DateTime! to: DateTime!): OpenTelemetryTransactionLatencyGraph + latencyDistribution(from: DateTime! to: DateTime!): OpenTelemetryTransactionLatencyDistributionGraph + samples(from: DateTime! maxLatency: Float minLatency: Float to: DateTime!): [OpenTelemetryTransactionTraceSample!]! + throughput(from: DateTime! to: DateTime!): OpenTelemetryTransactionThroughputGraph } type StageTransactionMetricsSummary { @@ -3679,28 +3449,10 @@ type StageTransactionMetricsSummary { } type StageTransactionsMetrics { - insights( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the first _n_ elements from the list." - first: Int - from: DateTime! - orderBy: [OpenTelemetryTransactionInsightsOrderByInput!] - search: String - spanKinds: [OpenTelemetrySpanKind!] - to: DateTime! - ): OpenTelemetryTransactionInsightsConnection - latency( - from: DateTime! - spanKinds: [OpenTelemetrySpanKind!] - to: DateTime! - ): OpenTelemetryTransactionsLatencyGraph - summary(from: DateTime!, to: DateTime!): StageTransactionMetricsSummary! - throughput( - from: DateTime! - spanKinds: [OpenTelemetrySpanKind!] - to: DateTime! - ): OpenTelemetryTransactionsThroughputGraph + insights("Returns the elements in the list that come after the specified cursor." after: String "Returns the first _n_ elements from the list." first: Int from: DateTime! orderBy: [OpenTelemetryTransactionInsightsOrderByInput!] search: String spanKinds: [OpenTelemetrySpanKind!] to: DateTime!): OpenTelemetryTransactionInsightsConnection + latency(from: DateTime! spanKinds: [OpenTelemetrySpanKind!] to: DateTime!): OpenTelemetryTransactionsLatencyGraph + summary(from: DateTime! to: DateTime!): StageTransactionMetricsSummary! + throughput(from: DateTime! spanKinds: [OpenTelemetrySpanKind!] to: DateTime!): OpenTelemetryTransactionsThroughputGraph } type StageValidationError implements Error { @@ -3784,31 +3536,16 @@ type SubgraphThroughputGraphData { type Subscription { onClientVersionPublishingUpdate(requestId: ID!): ClientVersionPublishResult! - onClientVersionValidationUpdate( - requestId: ID! - ): ClientVersionValidationResult! - onFusionConfigurationPublishingTaskChanged( - requestId: ID! - ): FusionConfigurationPublishingResult! - onOpenApiCollectionVersionPublishingUpdate( - requestId: ID! - ): OpenApiCollectionVersionPublishResult! - onOpenApiCollectionVersionValidationUpdate( - requestId: ID! - ): OpenApiCollectionVersionValidationResult! - onPersistedQueriesChanged( - apiId: ID! - stageName: String! - ): PersistedQueriesChanged! + onClientVersionValidationUpdate(requestId: ID!): ClientVersionValidationResult! + onFusionConfigurationPublishingTaskChanged(requestId: ID!): FusionConfigurationPublishingResult! + onMcpFeatureCollectionVersionPublishingUpdate(requestId: ID!): McpFeatureCollectionVersionPublishResult! + onMcpFeatureCollectionVersionValidationUpdate(requestId: ID!): McpFeatureCollectionVersionValidationResult! + onOpenApiCollectionVersionPublishingUpdate(requestId: ID!): OpenApiCollectionVersionPublishResult! + onOpenApiCollectionVersionValidationUpdate(requestId: ID!): OpenApiCollectionVersionValidationResult! + onPersistedQueriesChanged(apiId: ID! stageName: String!): PersistedQueriesChanged! onSchemaVersionPublishingUpdate(requestId: ID!): SchemaVersionPublishResult! - onSchemaVersionValidationUpdate( - requestId: ID! - ): SchemaVersionValidationResult! - onStageChangeLogAdded( - apiId: ID! - kind: [StageChangeLogKind!] - stageName: String! - ): StageChangeLog! + onSchemaVersionValidationUpdate(requestId: ID!): SchemaVersionValidationResult! + onStageChangeLogAdded(apiId: ID! kind: [StageChangeLogKind!] stageName: String!): StageChangeLog! onStageDeploymentsChanged(stageId: ID!): DeploymentEvent! } @@ -3864,7 +3601,7 @@ type UnexpectedErrorOnDocumentChange implements Error { workspaceId: ID! } -type UnexpectedProcessingError implements SchemaVersionValidationError & SchemaVersionPublishError & ClientVersionValidationError & ClientVersionPublishError & FusionConfigurationPublishingError & FusionConfigurationValidationError & OpenApiCollectionVersionPublishError & OpenApiCollectionVersionValidationError & ProcessingError { +type UnexpectedProcessingError implements SchemaVersionValidationError & SchemaVersionPublishError & ClientVersionValidationError & ClientVersionPublishError & FusionConfigurationPublishingError & FusionConfigurationValidationError & OpenApiCollectionVersionPublishError & OpenApiCollectionVersionValidationError & McpFeatureCollectionVersionPublishError & McpFeatureCollectionVersionValidationError & ProcessingError { message: String! } @@ -3930,6 +3667,11 @@ type UploadFusionSubgraphPayload { fusionSubgraphVersion: FusionSubgraphVersion } +type UploadMcpFeatureCollectionPayload { + errors: [UploadMcpFeatureCollectionError!] + mcpFeatureCollectionVersion: McpFeatureCollectionVersion +} + type UploadOpenApiCollectionPayload { errors: [UploadOpenApiCollectionError!] openApiCollectionVersion: OpenApiCollectionVersion @@ -3965,6 +3707,11 @@ type ValidateFusionConfigurationCompositionPayload { requestId: ID } +type ValidateMcpFeatureCollectionPayload { + errors: [ValidateMcpFeatureCollectionError!] + id: ID +} + type ValidateOpenApiCollectionPayload { errors: [ValidateOpenApiCollectionError!] id: ID @@ -3984,7 +3731,7 @@ type ValidationErrorProperty { message: String! } -type ValidationInProgress implements FusionConfigurationPublishingResult & ClientVersionValidationResult & SchemaVersionValidationResult & OpenApiCollectionVersionValidationResult { +type ValidationInProgress implements FusionConfigurationPublishingResult & ClientVersionValidationResult & SchemaVersionValidationResult & OpenApiCollectionVersionValidationResult & McpFeatureCollectionVersionValidationResult { state: ProcessingState! } @@ -3994,87 +3741,29 @@ type Viewer { billingUrl: String manageTenantUrl: String organization: OrganizationInfo - personalAccessTokens( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): PersonalAccessTokensConnection + personalAccessTokens("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): PersonalAccessTokensConnection preferences: Any! sessionId: String! settings: UserSettings! user: User - workspaces( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): WorkspacesConnection -} - -type WaitForApproval implements SchemaVersionPublishResult & ClientVersionPublishResult & FusionConfigurationPublishingResult & OpenApiCollectionVersionPublishResult { + workspaces("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): WorkspacesConnection +} + +type WaitForApproval implements SchemaVersionPublishResult & ClientVersionPublishResult & FusionConfigurationPublishingResult & OpenApiCollectionVersionPublishResult & McpFeatureCollectionVersionPublishResult { deployment: Deployment state: ProcessingState! } type Workspace implements Node { - apiDocuments( - "Returns the elements in the list that come after the specified cursor." - after: Version - "Returns the first _n_ elements from the list." - first: Int - ): ApiDocumentsConnection - apiKeys( - "Returns the elements in the list that come after the specified cursor." - after: String - "Returns the elements in the list that come before the specified cursor." - before: String - "Returns the first _n_ elements from the list." - first: Int - "Returns the last _n_ elements from the list." - last: Int - ): ApiKeysConnection - apis( - "Returns the elements in the list that come after the specified cursor." - after: Version - "Returns the first _n_ elements from the list." - first: Int - ): ApisConnection + apiDocuments("Returns the elements in the list that come after the specified cursor." after: Version "Returns the first _n_ elements from the list." first: Int): ApiDocumentsConnection + apiKeys("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): ApiKeysConnection + apis("Returns the elements in the list that come after the specified cursor." after: Version "Returns the first _n_ elements from the list." first: Int): ApisConnection changed(version: Version!): Boolean! - changes( - "Returns the elements in the list that come after the specified cursor." - after: Version - "Returns the first _n_ elements from the list." - first: Int - ): ChangesConnection - documentChanges( - "Returns the elements in the list that come after the specified cursor." - after: Version - "Returns the first _n_ elements from the list." - first: Int - ): DocumentChangesConnection @deprecated(reason: "Use changes") - documents( - "Returns the elements in the list that come after the specified cursor." - after: Version - "Returns the first _n_ elements from the list." - first: Int - ): DocumentsConnection - documentsChanged(version: Version): Boolean! - @deprecated(reason: "Use changed") - environments( - "Returns the elements in the list that come after the specified cursor." - after: Version - "Returns the first _n_ elements from the list." - first: Int - ): EnvironmentsConnection + changes("Returns the elements in the list that come after the specified cursor." after: Version "Returns the first _n_ elements from the list." first: Int): ChangesConnection + documentChanges("Returns the elements in the list that come after the specified cursor." after: Version "Returns the first _n_ elements from the list." first: Int): DocumentChangesConnection @deprecated(reason: "Use changes") + documents("Returns the elements in the list that come after the specified cursor." after: Version "Returns the first _n_ elements from the list." first: Int): DocumentsConnection + documentsChanged(version: Version): Boolean! @deprecated(reason: "Use changed") + environments("Returns the elements in the list that come after the specified cursor." after: Version "Returns the first _n_ elements from the list." first: Int): EnvironmentsConnection id: ID! members: [WorkspaceMember!]! name: String! @@ -4182,18 +3871,11 @@ type WorkspacesEdge { union ApiKeyReference = Api -union ApproveDeploymentError = - | UnauthorizedOperation - | DeploymentNotFoundError - | DeploymentIsNotWaitingForApprovalError +union ApproveDeploymentError = UnauthorizedOperation | DeploymentNotFoundError | DeploymentIsNotWaitingForApprovalError union ArgumentChange = DeprecatedChange | DescriptionChanged | TypeChanged -union AuthorizationEventLogPrincipal = - | UserInfo - | ApiKey - | OrganizationMember - | Group +union AuthorizationEventLogPrincipal = UserInfo | ApiKey | OrganizationMember | Group union AuthorizationEventLogRealm = Organization | Workspace | User @@ -4201,53 +3883,27 @@ union AuthorizationEventLogResource = Organization | Workspace | Api union AuthorizationEventLogSubject = User | ApiKey -union BeginFusionConfigurationPublishError = - | UnauthorizedOperation - | ApiNotFoundError - | StageNotFoundError - | SubgraphInvalidError - | InvalidProcessingStateTransitionError +union BeginFusionConfigurationPublishError = UnauthorizedOperation | ApiNotFoundError | StageNotFoundError | SubgraphInvalidError | InvalidProcessingStateTransitionError -union CancelDeploymentError = - | UnauthorizedOperation - | DeploymentNotFoundError - | DeploymentCannotBeCancelledError +union CancelDeploymentError = UnauthorizedOperation | DeploymentNotFoundError | DeploymentCannotBeCancelledError -union CancelFusionConfigurationCompositionError = - | UnauthorizedOperation - | FusionConfigurationRequestNotFoundError - | InvalidProcessingStateTransitionError +union CancelFusionConfigurationCompositionError = UnauthorizedOperation | FusionConfigurationRequestNotFoundError | InvalidProcessingStateTransitionError union ClientDeploymentError = PersistedQueryValidationError -union CommitFusionConfigurationPublishError = - | UnauthorizedOperation - | FusionConfigurationRequestNotFoundError - | InvalidProcessingStateTransitionError +union CommitFusionConfigurationPublishError = UnauthorizedOperation | FusionConfigurationRequestNotFoundError | InvalidProcessingStateTransitionError union CreateAccountError = UnauthorizedOperation -union CreateApiKeyError = - | ApiNotFoundError - | WorkspaceNotFound - | PersonalWorkspaceNotSupportedError - | ValidationError - | UnauthorizedOperation - | RoleNotFoundError +union CreateApiKeyError = ApiNotFoundError | WorkspaceNotFound | PersonalWorkspaceNotSupportedError | ValidationError | UnauthorizedOperation | RoleNotFoundError -union CreateApiKeyForApiError = - | ApiNotFoundError - | PersonalWorkspaceNotSupportedError - | ValidationError - | UnauthorizedOperation +union CreateApiKeyForApiError = ApiNotFoundError | PersonalWorkspaceNotSupportedError | ValidationError | UnauthorizedOperation union CreateClientError = ApiNotFoundError | UnauthorizedOperation -union CreateMockSchemaError = - | ApiNotFoundError - | MockSchemaNonUniqueNameError - | UnauthorizedOperation - | ValidationError +union CreateMcpFeatureCollectionError = ApiNotFoundError | UnauthorizedOperation + +union CreateMockSchemaError = ApiNotFoundError | MockSchemaNonUniqueNameError | UnauthorizedOperation | ValidationError union CreateOpenApiCollectionError = ApiNotFoundError | UnauthorizedOperation @@ -4255,297 +3911,129 @@ union CreatePersonalAccessTokenError = ValidationError | UnauthorizedOperation union CreateWorkspaceError = UnauthorizedOperation | ValidationError -union DeleteApiByIdError = - | ApiNotFoundError - | UnauthorizedOperation - | ApiDeletionFailedError +union DeleteApiByIdError = ApiNotFoundError | UnauthorizedOperation | ApiDeletionFailedError union DeleteApiKeyError = ApiKeyNotFoundError | UnauthorizedOperation union DeleteClientByIdError = ClientNotFoundError | UnauthorizedOperation -union DeleteMockSchemaByIdError = - | MockSchemaNotFoundError - | UnauthorizedOperation +union DeleteMcpFeatureCollectionByIdError = McpFeatureCollectionNotFoundError | UnauthorizedOperation + +union DeleteMockSchemaByIdError = MockSchemaNotFoundError | UnauthorizedOperation -union DeleteOpenApiCollectionByIdError = - | OpenApiCollectionNotFoundError - | UnauthorizedOperation +union DeleteOpenApiCollectionByIdError = OpenApiCollectionNotFoundError | UnauthorizedOperation union DeploymentEvent = DeploymentCreatedEvent | DeploymentUpdatedEvent -union DirectiveChange = - | ArgumentAdded - | ArgumentChanged - | ArgumentRemoved - | DescriptionChanged - | DirectiveLocationAdded - | DirectiveLocationRemoved +union DirectiveChange = ArgumentAdded | ArgumentChanged | ArgumentRemoved | DescriptionChanged | DirectiveLocationAdded | DirectiveLocationRemoved union EnsureTunnelSessionError = UnauthorizedOperation -union EnumChange = - | DescriptionChanged - | EnumValueAdded - | EnumValueChanged - | EnumValueRemoved +union EnumChange = DescriptionChanged | EnumValueAdded | EnumValueChanged | EnumValueRemoved union EnumValueChange = DeprecatedChange | DescriptionChanged -union FieldChange = - | ArgumentAdded - | ArgumentChanged - | ArgumentRemoved - | DeprecatedChange - | DescriptionChanged - | TypeChanged +union FieldChange = ArgumentAdded | ArgumentChanged | ArgumentRemoved | DeprecatedChange | DescriptionChanged | TypeChanged -union FusionConfigurationDeploymentError = - | PersistedQueryValidationError - | SchemaChangeViolationError - | InvalidGraphQLSchemaError - | OpenApiCollectionValidationError +union FusionConfigurationDeploymentError = PersistedQueryValidationError | SchemaChangeViolationError | InvalidGraphQLSchemaError | OpenApiCollectionValidationError | McpFeatureCollectionValidationError union InputFieldChange = DeprecatedChange | DescriptionChanged | TypeChanged -union InputObjectChange = - | DescriptionChanged - | FieldAddedChange - | FieldRemovedChange - | InputFieldChanged - -union InterfaceChange = - | DescriptionChanged - | FieldAddedChange - | FieldRemovedChange - | InterfaceImplementationAdded - | InterfaceImplementationRemoved - | OutputFieldChanged - | PossibleTypeAdded - | PossibleTypeRemoved - -union ObjectChange = - | DescriptionChanged - | FieldAddedChange - | FieldRemovedChange - | InterfaceImplementationAdded - | InterfaceImplementationRemoved - | OutputFieldChanged +union InputObjectChange = DescriptionChanged | FieldAddedChange | FieldRemovedChange | InputFieldChanged + +union InterfaceChange = DescriptionChanged | FieldAddedChange | FieldRemovedChange | InterfaceImplementationAdded | InterfaceImplementationRemoved | OutputFieldChanged | PossibleTypeAdded | PossibleTypeRemoved + +union McpFeatureCollectionDeploymentError = McpFeatureCollectionValidationError + +union ObjectChange = DescriptionChanged | FieldAddedChange | FieldRemovedChange | InterfaceImplementationAdded | InterfaceImplementationRemoved | OutputFieldChanged union OpenApiCollectionDeploymentError = OpenApiCollectionValidationError -union OutputFieldChange = - | ArgumentAdded - | ArgumentChanged - | ArgumentRemoved - | DeprecatedChange - | DescriptionChanged - | TypeChanged - -union PollClientVersionPublishRequestError = - | ClientVersionRequestNotFoundError - | UnauthorizedOperation - -union PollClientVersionValidationRequestError = - | ClientVersionRequestNotFoundError - | UnauthorizedOperation - -union PollSchemaVersionPublishRequestError = - | SchemaVersionRequestNotFoundError - | UnauthorizedOperation - -union PollSchemaVersionValidationRequestError = - | SchemaVersionRequestNotFoundError - | UnauthorizedOperation - -union PublishClientError = - | StageNotFoundError - | ClientNotFoundError - | UnauthorizedOperation - | ClientVersionNotFoundError - -union PublishOpenApiCollectionError = - | StageNotFoundError - | OpenApiCollectionNotFoundError - | UnauthorizedOperation - | OpenApiCollectionVersionNotFoundError - -union PublishSchemaError = - | StageNotFoundError - | ApiNotFoundError - | SchemaNotFoundError - | UnauthorizedOperation +union OutputFieldChange = ArgumentAdded | ArgumentChanged | ArgumentRemoved | DeprecatedChange | DescriptionChanged | TypeChanged + +union PollClientVersionPublishRequestError = ClientVersionRequestNotFoundError | UnauthorizedOperation + +union PollClientVersionValidationRequestError = ClientVersionRequestNotFoundError | UnauthorizedOperation + +union PollSchemaVersionPublishRequestError = SchemaVersionRequestNotFoundError | UnauthorizedOperation + +union PollSchemaVersionValidationRequestError = SchemaVersionRequestNotFoundError | UnauthorizedOperation + +union PublishClientError = StageNotFoundError | ClientNotFoundError | UnauthorizedOperation | ClientVersionNotFoundError + +union PublishMcpFeatureCollectionError = StageNotFoundError | McpFeatureCollectionNotFoundError | UnauthorizedOperation | McpFeatureCollectionVersionNotFoundError + +union PublishOpenApiCollectionError = StageNotFoundError | OpenApiCollectionNotFoundError | UnauthorizedOperation | OpenApiCollectionVersionNotFoundError + +union PublishSchemaError = StageNotFoundError | ApiNotFoundError | SchemaNotFoundError | UnauthorizedOperation union PushDocumentChangesError = UnauthorizedOperation | ChangeStructureInvalid union PushWorkspaceChangesError = UnauthorizedOperation | ChangeStructureInvalid -union RemoveWorkspaceError = - | UnauthorizedOperation - | WorkspaceNotFound - | ValidationError +union RemoveWorkspaceError = UnauthorizedOperation | WorkspaceNotFound | ValidationError -union RenameWorkspaceError = - | UnauthorizedOperation - | WorkspaceNotFound - | ValidationError +union RenameWorkspaceError = UnauthorizedOperation | WorkspaceNotFound | ValidationError -union RevokePersonalAccessTokenError = - | UnauthorizedOperation - | PersonalAccessTokenNotFoundError +union RevokePersonalAccessTokenError = UnauthorizedOperation | PersonalAccessTokenNotFoundError union RoleAssignmentCondition = RoleAssignmentStageAuthorizationCondition union ScalarChange = DescriptionChanged -union SchemaChangeLogEntry = - | DirectiveModifiedChange - | EnumModifiedChange - | InputObjectModifiedChange - | InterfaceModifiedChange - | ObjectModifiedChange - | ScalarModifiedChange - | TypeSystemMemberAddedChange - | TypeSystemMemberModifiedChange - | TypeSystemMemberRemovedChange - | UnionModifiedChange - -union SchemaDeploymentError = - | PersistedQueryValidationError - | SchemaChangeViolationError - | OperationsAreNotAllowedError - | SchemaVersionSyntaxError - | InvalidGraphQLSchemaError - | OpenApiCollectionValidationError - -union SchemaMemberChange = - | ArgumentAdded - | ArgumentChanged - | ArgumentRemoved - | DescriptionChanged - | DirectiveLocationAdded - | DirectiveLocationRemoved - | EnumValueAdded - | EnumValueChanged - | EnumValueRemoved - | FieldAddedChange - | FieldRemovedChange - | InputFieldChanged - | InterfaceImplementationAdded - | InterfaceImplementationRemoved - | OutputFieldChanged - | PossibleTypeAdded - | PossibleTypeRemoved - | UnionMemberAdded - | UnionMemberRemoved +union SchemaChangeLogEntry = DirectiveModifiedChange | EnumModifiedChange | InputObjectModifiedChange | InterfaceModifiedChange | ObjectModifiedChange | ScalarModifiedChange | TypeSystemMemberAddedChange | TypeSystemMemberModifiedChange | TypeSystemMemberRemovedChange | UnionModifiedChange + +union SchemaDeploymentError = PersistedQueryValidationError | SchemaChangeViolationError | OperationsAreNotAllowedError | SchemaVersionSyntaxError | InvalidGraphQLSchemaError | OpenApiCollectionValidationError | McpFeatureCollectionValidationError + +union SchemaMemberChange = ArgumentAdded | ArgumentChanged | ArgumentRemoved | DescriptionChanged | DirectiveLocationAdded | DirectiveLocationRemoved | EnumValueAdded | EnumValueChanged | EnumValueRemoved | FieldAddedChange | FieldRemovedChange | InputFieldChanged | InterfaceImplementationAdded | InterfaceImplementationRemoved | OutputFieldChanged | PossibleTypeAdded | PossibleTypeRemoved | UnionMemberAdded | UnionMemberRemoved union SetActiveWorkspaceError = UnauthorizedOperation | WorkspaceNotFound union StageCondition = AfterStageCondition -union StartFusionConfigurationCompositionError = - | UnauthorizedOperation - | FusionConfigurationRequestNotFoundError - | InvalidProcessingStateTransitionError +union StartFusionConfigurationCompositionError = UnauthorizedOperation | FusionConfigurationRequestNotFoundError | InvalidProcessingStateTransitionError union UnionChange = DescriptionChanged | UnionMemberAdded | UnionMemberRemoved -union UnpublishClientError = - | StageNotFoundError - | ClientNotFoundError - | UnauthorizedOperation - | ClientVersionNotFoundError - | ConcurrentOperationError +union UnpublishClientError = StageNotFoundError | ClientNotFoundError | UnauthorizedOperation | ClientVersionNotFoundError | ConcurrentOperationError union UpdateApiSettingsError = ApiNotFoundError | UnauthorizedOperation union UpdateFeatureFlagsError = UnauthorizedOperation | ValidationError -union UpdateMockSchemaError = - | MockSchemaNonUniqueNameError - | MockSchemaNotFoundError - | UnauthorizedOperation - | ValidationError +union UpdateMockSchemaError = MockSchemaNonUniqueNameError | MockSchemaNotFoundError | UnauthorizedOperation | ValidationError union UpdatePreferencesError = UnauthorizedOperation | ValidationError -union UpdateStagesError = - | ApiNotFoundError - | StageNotFoundError - | StagesHavePublishedDependenciesError - | StageValidationError +union UpdateStagesError = ApiNotFoundError | StageNotFoundError | StagesHavePublishedDependenciesError | StageValidationError union UpdateThemeSettingsError = UnauthorizedOperation | ValidationError -union UploadClientError = - | ClientNotFoundError - | ConcurrentOperationError - | InvalidPersistedQueryError - | UnauthorizedOperation - | DuplicatedTagError - -union UploadFusionSubgraphError = - | InvalidFusionSourceSchemaArchiveError - | ApiNotFoundError - | ConcurrentOperationError - | UnauthorizedOperation - | DuplicatedTagError - -union UploadOpenApiCollectionError = - | OpenApiCollectionNotFoundError - | ConcurrentOperationError - | UnauthorizedOperation - | DuplicatedTagError - | InvalidOpenApiCollectionArchiveError - -union UploadSchemaError = - | ApiNotFoundError - | ConcurrentOperationError - | DuplicatedTagError - | UnauthorizedOperation - -union ValidateClientError = - | StageNotFoundError - | ClientNotFoundError - | UnauthorizedOperation - -union ValidateFusionConfigurationCompositionError = - | UnauthorizedOperation - | FusionConfigurationRequestNotFoundError - | InvalidProcessingStateTransitionError - -union ValidateOpenApiCollectionError = - | StageNotFoundError - | OpenApiCollectionNotFoundError - | UnauthorizedOperation - -union ValidateSchemaError = - | StageNotFoundError - | SchemaNotFoundError - | ApiNotFoundError - | UnauthorizedOperation - -union WorkspaceChangeError = - | ChangeValidationFailed - | HasBeenChangedConflict - | HasBeenDeletedConflict - | IdentifierCollisionConflict - | UnexpectedErrorOnChange - | WorkspaceNotFoundForChange - -union WorkspaceChangeResult = - | ApiDocument - | Api - | WorkspaceDocument - | Environment - -union WorkspaceDocumentChangeError = - | DocumentChangedConflict - | DocumentNameCollisionConflict - | DocumentDeletionConflict - | UnexpectedErrorOnDocumentChange - | DocumentChangeValidationFailed - | WorkspaceNotFoundForDocument +union UploadClientError = ClientNotFoundError | ConcurrentOperationError | InvalidPersistedQueryError | UnauthorizedOperation | DuplicatedTagError + +union UploadFusionSubgraphError = InvalidFusionSourceSchemaArchiveError | ApiNotFoundError | ConcurrentOperationError | UnauthorizedOperation | DuplicatedTagError + +union UploadMcpFeatureCollectionError = McpFeatureCollectionNotFoundError | ConcurrentOperationError | UnauthorizedOperation | DuplicatedTagError | InvalidMcpFeatureCollectionArchiveError + +union UploadOpenApiCollectionError = OpenApiCollectionNotFoundError | ConcurrentOperationError | UnauthorizedOperation | DuplicatedTagError | InvalidOpenApiCollectionArchiveError + +union UploadSchemaError = ApiNotFoundError | ConcurrentOperationError | DuplicatedTagError | UnauthorizedOperation + +union ValidateClientError = StageNotFoundError | ClientNotFoundError | UnauthorizedOperation + +union ValidateFusionConfigurationCompositionError = UnauthorizedOperation | FusionConfigurationRequestNotFoundError | InvalidProcessingStateTransitionError + +union ValidateMcpFeatureCollectionError = StageNotFoundError | McpFeatureCollectionNotFoundError | UnauthorizedOperation + +union ValidateOpenApiCollectionError = StageNotFoundError | OpenApiCollectionNotFoundError | UnauthorizedOperation + +union ValidateSchemaError = StageNotFoundError | SchemaNotFoundError | ApiNotFoundError | UnauthorizedOperation + +union WorkspaceChangeError = ChangeValidationFailed | HasBeenChangedConflict | HasBeenDeletedConflict | IdentifierCollisionConflict | UnexpectedErrorOnChange | WorkspaceNotFoundForChange + +union WorkspaceChangeResult = ApiDocument | Api | WorkspaceDocument | Environment + +union WorkspaceDocumentChangeError = DocumentChangedConflict | DocumentNameCollisionConflict | DocumentDeletionConflict | UnexpectedErrorOnDocumentChange | DocumentChangeValidationFailed | WorkspaceNotFoundForDocument input ApiCreateChangeInput { httpConnection: ApiHttpConnectionInput @@ -4697,6 +4185,11 @@ input CreateClientInput { name: String! } +input CreateMcpFeatureCollectionInput { + apiId: ID! + name: String! +} + input CreateMockSchemaInput { apiId: ID! baseSchemaFile: Upload! @@ -4731,6 +4224,10 @@ input DeleteClientByIdInput { clientId: ID! } +input DeleteMcpFeatureCollectionByIdInput { + mcpFeatureCollectionId: ID! +} + input DeleteMockSchemaByIdInput { mockSchemaId: ID! } @@ -4742,7 +4239,7 @@ input DeleteOpenApiCollectionByIdInput { input EnvironmentCreateChangeInput { name: String! referenceId: String! - variables: [EnvironmentVariableInput!]! = [] + variables: [EnvironmentVariableInput!]! = [ ] workspaceId: ID! } @@ -4757,7 +4254,7 @@ input EnvironmentUpdateChangeInput { id: ID! name: String! referenceId: String! - variables: [EnvironmentVariableInput!]! = [] + variables: [EnvironmentVariableInput!]! = [ ] version: Version! workspaceId: ID! } @@ -4854,6 +4351,14 @@ input PublishClientInput { waitForApproval: Boolean! = false } +input PublishMcpFeatureCollectionInput { + force: Boolean! = false + mcpFeatureCollectionId: ID! + stage: String! + tag: String! + waitForApproval: Boolean! = false +} + input PublishOpenApiCollectionInput { force: Boolean! = false openApiCollectionId: ID! @@ -4948,7 +4453,7 @@ input StageConditionUpdateInput { } input StageUpdateInput { - conditions: [StageConditionUpdateInput!]! = [] + conditions: [StageConditionUpdateInput!]! = [ ] displayName: String! name: String! } @@ -5017,6 +4522,12 @@ input UploadFusionSubgraphInput { tag: String! } +input UploadMcpFeatureCollectionInput { + collection: Upload! + mcpFeatureCollectionId: ID! + tag: String! +} + input UploadOpenApiCollectionInput { collection: Upload! openApiCollectionId: ID! @@ -5040,6 +4551,12 @@ input ValidateFusionConfigurationCompositionInput { requestId: ID! } +input ValidateMcpFeatureCollectionInput { + collection: Upload! + mcpFeatureCollectionId: ID! + stage: String! +} + input ValidateOpenApiCollectionInput { collection: Upload! openApiCollectionId: ID! @@ -5285,6 +4802,7 @@ enum StageChangeLogKind { CLIENT FUSION_CONFIGURATION OPEN_API_COLLECTION + MCP_FEATURE_COLLECTION } enum TypeSystemMemberKind { @@ -5304,12 +4822,7 @@ enum WorkspaceUserRole { } "The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the execution of the current fragment to indicate deprioritization of the current fragment. A query with `@defer` directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred is delivered in a subsequent response. `@include` and `@skip` take precedence over `@defer`." -directive @defer( - "Deferred when true." - if: Boolean - "If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." - label: String -) on FRAGMENT_SPREAD | INLINE_FRAGMENT +directive @defer("Deferred when true." if: Boolean "If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." label: String) on FRAGMENT_SPREAD | INLINE_FRAGMENT """ The @lookup directive is used within a source schema to specify output fields @@ -5324,23 +4837,19 @@ directive @oneOf on INPUT_OBJECT directive @shareable on OBJECT | FIELD_DEFINITION "The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions." -directive @specifiedBy( - "The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." - url: String! -) on SCALAR +directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR scalar Any "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime - @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") +scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") "The `Long` scalar type represents non-fractional signed whole 64-bit numeric values. Long can represent values between -(2^63) and 2^63 - 1." scalar Long -scalar URL @specifiedBy(url: "https://tools.ietf.org/html/rfc3986") +scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986") -scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122") +scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") "The `Upload` scalar type represents a file upload." scalar Upload